On Wed, Jun 2, 2010 at 8:55 AM, Vadym Chepkov <vchep...@gmail.com> wrote: > Hi, > > I was looking into Stateful resource agent (branch: stable-1.0) > > stateful_start() { > stateful_check_state master > if [ $? = 0 ]; then > # CRM Error - Should never happen > return $OCF_RUNNING_MASTER > fi > ... > > Why does it return $OCF_RUNNING_MASTER when master is not running?
But it is running, as a master. Thats what the code says. > I am confused. > > Thanks, > Vadym > > > _______________________________________________ > 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker > _______________________________________________ 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker