Re: crmsh fails to stop already stopped resource
Vladislav Bogdanov <[email protected]> Fri, 13 Feb 2015 19:23:48 +0300
| Newsgroups | gmane.linux.highavailability.user |
|---|---|
| Message-ID | <[email protected]> |
13.02.2015 18:04, Kristoffer Grönlund wrote: > Vladislav Bogdanov <[email protected]> writes: > >> Hi Kristoffer, >> >> 13.02.2015 17:20, Kristoffer Grönlund wrote: >>> Vladislav Bogdanov <[email protected]> writes: >>> >>>> Hi, >>>> >>>> Following fails with the current crmsh (e4b10ee). >>>> # crm resource stop cl-http-lv >>>> # crm resource stop cl-http-lv >>>> ERROR: crm_diff apparently failed to produce the diff (rc=0) >>>> ERROR: Failed to commit updates to cl-http-lv >>>> # echo $? >>>> 1 >>>> >>> >>> Hi, >>> >>> What would you expect to see when stopping an already stopped resource? >> >> I'd expect crmsh to behave similar to >> crm_resource --resource cl-http-lv --set-parameter target-role --meta --parameter-value Stopped >> >> At least it should not exit with failure ret code. > > Yeah, I see what you mean. I have fixed this upstream now. Thanks Kristoffer! > > Thanks! > > // Kristoffer > > >> >> Best, >> Vladislav >> >>> >>> Cheers, >>> Kristoffer >>> >>>> >>>> Best, >>>> Vladislav >>>> _______________________________________________ >>>> Linux-HA mailing list >>>> [email protected] >>>> http://lists.linux-ha.org/mailman/listinfo/linux-ha >>>> See also: http://linux-ha.org/ReportingProblems >>>> >>> >> >> > _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems