[Pacemaker] update the failcount of promote/demote error

Andrew Beekhof andrew at beekhof.net
Mon Oct 25 06:44:45 EDT 2010


On Thu, Oct 21, 2010 at 11:10 AM, Junko IKEDA <tsukishima.ha at gmail.com> wrote:
> 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.

Agreed.
Applying now.

>
> Thanks,
> Junko IKEDA
>
> NTT DATA INTELLILINK CORPORATION
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
>




More information about the Pacemaker mailing list