>>> Kristoffer Grönlund<kgronlund@suse.com> schrieb am 13.02.2015 um 15:20 in
Nachricht <87wq3lhp0h.fsf@krigpad.kri.gs>:
> Vladislav Bogdanov <bubble@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?
UNIX standard: "stopping" a stopped resource should be idempotent, so no
error, no output.
>
> 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
>>
>
> --
> // Kristoffer Grönlund
> // kgronlund@suse.com
> _______________________________________________
> 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
Nachricht <87wq3lhp0h.fsf@krigpad.kri.gs>:
> Vladislav Bogdanov <bubble@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?
UNIX standard: "stopping" a stopped resource should be idempotent, so no
error, no output.
>
> 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
>>
>
> --
> // Kristoffer Grönlund
> // kgronlund@suse.com
> _______________________________________________
> 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