13.02.2015 18:04, Kristoffer Grönlund wrote:
Vladislav Bogdanov <bub...@hoster-ok.com> writes:

Hi Kristoffer,

13.02.2015 17:20, Kristoffer Grönlund wrote:
Vladislav Bogdanov <bub...@hoster-ok.com> 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
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems






_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to