Re: [ClusterLabs] crmsh configure delete for constraints

2016-02-10 Thread Dejan Muhamedagic
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

Re: [ClusterLabs] crmsh configure delete for constraints

2016-02-10 Thread Dejan Muhamedagic
On Wed, Feb 10, 2016 at 12:06:34PM +0100, Ferenc Wágner wrote: > Dejan Muhamedagic writes: > > > If the environment is no good (bad installation, missing configuration > > and similar), then the stop operation probably won't do much good. > > Agreed. It may not even know

Re: [ClusterLabs] crmsh configure delete for constraints

2016-02-10 Thread Ferenc Wágner
Dejan Muhamedagic writes: > If the environment is no good (bad installation, missing configuration > and similar), then the stop operation probably won't do much good. Agreed. It may not even know how to probe it. > In ocf-rarun, validate_all is run, but then the

Re: [ClusterLabs] crmsh configure delete for constraints

2016-02-09 Thread Vladislav Bogdanov
Dejan Muhamedagic wrote: >Hi, > >On Tue, Feb 09, 2016 at 05:15:15PM +0300, Vladislav Bogdanov wrote: >> 09.02.2016 16:31, Kristoffer Grönlund wrote: >> >Vladislav Bogdanov writes: >> > >> >>Hi, >> >> >> >>when performing a delete operation, crmsh

[ClusterLabs] crmsh configure delete for constraints

2016-02-08 Thread Vladislav Bogdanov
Hi, when performing a delete operation, crmsh (2.2.0) having -F tries to stop passed op arguments and then waits for DC to become idle. That is not needed if only constraints are passed to delete. Could that be changed? Or, could it wait only if there is something to stop? Something like this:

Re: [ClusterLabs] crmsh configure delete for constraints

2016-02-08 Thread Kristoffer Grönlund
Vladislav Bogdanov writes: > Hi, > > when performing a delete operation, crmsh (2.2.0) having -F tries > to stop passed op arguments and then waits for DC to become idle. > > That is not needed if only constraints are passed to delete. > Could that be changed? Or, could it