Re: [Pacemaker] update the failcount of promote/demote error

2010-10-25 Thread Junko IKEDA
Hi, 2010/10/25 Andrew Beekhof : > On Mon, Oct 25, 2010 at 7:49 AM, Junko IKEDA wrote: >> 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. > > the role remains correct though, and the

Re: [Pacemaker] update the failcount of promote/demote error

2010-10-25 Thread Andrew Beekhof
On Mon, Oct 25, 2010 at 7:49 AM, Junko IKEDA wrote: > 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. the role remains correct though, and the location constraint causes the resource to

Re: [Pacemaker] update the failcount of promote/demote error

2010-10-25 Thread Andrew Beekhof
On Thu, Oct 21, 2010 at 11:10 AM, Junko IKEDA 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="res

Re: [Pacemaker] update the failcount of promote/demote error

2010-10-24 Thread Junko IKEDA
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 : > Hi, > > When the promote/demote action returns error code, > it seems that failcount isn't incremented

[Pacemaker] update the failcount of promote/demote error

2010-10-21 Thread Junko IKEDA
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