[Pacemaker] update the failcount of promote/demote error
Junko IKEDA
tsukishima.ha at gmail.com
Mon Oct 25 05:49:38 UTC 2010
or would it better not to increment the failcount?
in unpack_rsc_op(), demote operation is checked not to go into loop,
but promote is not.
see attached.
Thanks,
Junko
2010/10/21 Junko IKEDA <tsukishima.ha at gmail.com>:
> Hi,
>
> When the promote/demote action returns error code,
> it seems that failcount isn't incremented,
> so promote/demote action would go into a loop in some cases.
> Default settings for promote/demote are implicitly-defined
> (on_fail="restart" and interval=0).
> Is it possible to handle them as in the case of start/stop operation?
> It means, if there are some errors about promote/demote,
> pacemaker considers its interval as 1 temporarily.
> see attached.
>
> Thanks,
> Junko IKEDA
>
> NTT DATA INTELLILINK CORPORATION
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: promote_fail.patch
Type: text/x-patch
Size: 465 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20101025/a7ed84ef/attachment-0004.bin>
More information about the Pacemaker
mailing list