On Wed, Feb 10, 2016 at 07:39:27AM +0300, Vladislav Bogdanov wrote: [...] > >> Particularly, imho RAs should not run validate_all on stop > >> action. > > > >I'd disagree here. If the environment is no good (bad > >installation, missing configuration and similar), then the stop > >operation probably won't do much good. Ultimately, it may depend > >on how the resource is managed. In ocf-rarun, validate_all is > >run, but then the operation is not carried out if the environment > >is invalid. In particular, the resource is considered to be > >stopped, and the stop operation exits with success. One of the > >most common cases is when the software resides on shared > >non-parallel storage. > > Well, I'd reword. Generally, RA should not exit with error if validation > fails on stop. > Is that better?
Much better! :) Not on probes either. Cheers, Dejan > > > >BTW, handling the stop and monitor/probe operations was the > >primary motivation to develop ocf-rarun. It's often quite > >difficult to get these things right. > > > >Cheers, > > > >Dejan > > > > > >> Best, > >> Vladislav > >> > >> > >> _______________________________________________ > >> Users mailing list: Users@clusterlabs.org > >> http://clusterlabs.org/mailman/listinfo/users > >> > >> Project Home: http://www.clusterlabs.org > >> Getting started: > >http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > >> Bugs: http://bugs.clusterlabs.org > > > >_______________________________________________ > >Users mailing list: Users@clusterlabs.org > >http://clusterlabs.org/mailman/listinfo/users > > > >Project Home: http://www.clusterlabs.org > >Getting started: > >http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > >Bugs: http://bugs.clusterlabs.org > > _______________________________________________ Users mailing list: Users@clusterlabs.org http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org