[Pacemaker] booth is the state of "started" on pacemaker before booth write ticket info in cib.

Jiaju Zhang jjzhang at suse.de
Wed Dec 12 09:10:47 UTC 2012


On Tue, 2012-12-11 at 20:15 +0900, Yuichi SEINO wrote:
> Hi Jiaju,
> 
> Currently, booth is the state of "started" on pacemaker before booth
> writes ticket information in cib. So, If the old ticket information is
> included in cib, a resource relating to the ticket may start before
> booth resets the ticket. I think that this problem is when to be
> daemon in booth.

The resouce should not be started before the booth daemon is ready. We
suggest to configure an ordering constraint for the booth daemon and the
managed resources by that ticket. That being said, if the ticket is in
the CIB but booth daemon has not been started, the resources would not
be started.

> 
> Perhaps,  this problem didn't happen before the following commit.
> https://github.com/jjzhang/booth/commit/4b00d46480f45a205f2550ff0760c8b372009f7f

Currently when all of the initialization (including loading the new
ticket information) finished, booth should be regarded as ready. So if
you encounter some problem here, I guess we should improve the RA to
better reflect the booth startup status, but not moving the
initialization order, since it may introduce other regression as we have
encountered before;)

Thanks,
Jiaju

> 
> Sincerely,
> Yuichi
> 
> --
> Yuichi SEINO
> METROSYSTEMS CORPORATION
> E-mail:seino.cluster2 at gmail.com






More information about the Pacemaker mailing list