----- Original Message ----- > From: "Andrew Beekhof" <and...@beekhof.net> > To: "The Pacemaker cluster resource manager" <pacemaker@oss.clusterlabs.org> > Sent: Tuesday, April 10, 2012 7:24:07 AM > Subject: Re: [Pacemaker] on-fail is not effective > > On Sat, Apr 7, 2012 at 7:19 AM, David Vossel <dvos...@redhat.com> > wrote: > > ----- Original Message ----- > >> From: "Kazunori INOUE" <inouek...@intellilink.co.jp> > >> To: "pacemaker@oss" <pacemaker@oss.clusterlabs.org> > >> Cc: koi...@intellilink.co.jp > >> Sent: Thursday, April 5, 2012 10:08:44 PM > >> Subject: [Pacemaker] on-fail is not effective > >> > >> Hi, > >> > >> I am using Pacemaker-1.1 (devel: > >> 7172b7323bb72c51999ce11c6fa5d3ff0a0a4b4f). > >> The setting of "on-fail" does not become effective. > >> For example, it becomes default action("restart") even if it > >> specifies "stop". > > > > The resource is stopping, but if there is nothing to prevent the > > resource from starting again > > The failed op itself and the preference is supposed to be sufficient. > > > it will start after the stop action has completed. This is probably > > why 'restart' and 'stop' appear to have the same behavior. > > That sounds like a bug and not the intended behaviour.
I created a bug report for this, http://bugs.clusterlabs.org/show_bug.cgi?id=5058. I'll investigate it. -- Vossel _______________________________________________ Pacemaker mailing list: Pacemaker@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://bugs.clusterlabs.org