[Linux-HA] Antw: Re: crmsh fails to stop already stopped resource

2015-02-18 Thread Ulrich Windl
Lars Marowsky-Bree l...@suse.com schrieb am 16.02.2015 um 12:34 in Nachricht 20150216113433.gb4...@suse.de: On 2015-02-16T09:20:22, Kristoffer Grönlund kgronl...@suse.com wrote: Actually, I decided that it does make sense to return 0 as the error code even if the resource to delete doesn't

[Linux-HA] Antw: Re: crmsh fails to stop already stopped resource

2015-02-18 Thread Ulrich Windl
Kristoffer Grönlundkgronl...@suse.com schrieb am 16.02.2015 um 13:12 in Nachricht 87fva6gim0@krigpad.kri.gs: [...] As a sidenote, I find the automatic removal of related constraints somewhat strange... To continue the filesystem analogy, it is as if soft I object: I think this is a _very_

Re: [Linux-HA] Antw: Re: crmsh fails to stop already stopped resource

2015-02-18 Thread Dejan Muhamedagic
Hi, On Wed, Feb 18, 2015 at 08:21:10AM +0100, Ulrich Windl wrote: Kristoffer Grönlundkgronl...@suse.com schrieb am 16.02.2015 um 09:15 in Nachricht 87oaougtlw@krigpad.kri.gs: Vladislav Bogdanov bub...@hoster-ok.com writes: Hi Kristoffer, may be it is worth to silently (or at

Re: [Linux-HA] Antw: Re: crmsh fails to stop already stopped resource

2015-02-18 Thread Vladislav Bogdanov
18.02.2015 11:03, Ulrich Windl wrote: Lars Marowsky-Bree l...@suse.com schrieb am 16.02.2015 um 12:34 in Nachricht 20150216113433.gb4...@suse.de: On 2015-02-16T09:20:22, Kristoffer Grönlund kgronl...@suse.com wrote: Actually, I decided that it does make sense to return 0 as the error code

Re: [Linux-HA] Antw: Re: crmsh fails to stop already stopped resource

2015-02-18 Thread Dejan Muhamedagic
Hi, On Wed, Feb 18, 2015 at 09:15:57AM +0100, Ulrich Windl wrote: Dejan Muhamedagic deja...@fastmail.fm schrieb am 16.02.2015 um 16:08 in Nachricht 20150216150805.GC27091@tuttle.linbit: [...] Yes, I see your point and it could just as well be that crmsh is really overzealous in this case.

Re: [Linux-HA] Antw: Re: Antw: Re: crmsh fails to stop already stopped resource

2015-02-18 Thread Kristoffer Grönlund
Ulrich Windl ulrich.wi...@rz.uni-regensburg.de writes: Trying that I found a minor problem for a clone resource with on node bing standby: -- crm(live)resource# status cln_cLVMd resource cln_cLVMd is running on: h01 resource cln_cLVMd is running on: h05 resource cln_cLVMd is NOT running

Re: [Linux-HA] Antw: Re: Antw: Re: crmsh fails to stop already stopped resource

2015-02-18 Thread Dejan Muhamedagic
On Wed, Feb 18, 2015 at 12:44:39PM +0100, Ulrich Windl wrote: Dejan Muhamedagic deja...@fastmail.fm schrieb am 18.02.2015 um 11:04 in Nachricht 20150218100410.GA30682@tuttle.linbit: Hi, On Wed, Feb 18, 2015 at 08:21:10AM +0100, Ulrich Windl wrote: Kristoffer Grönlundkgronl...@suse.com

[Linux-HA] Antw: Re: Antw: Re: crmsh fails to stop already stopped resource

2015-02-18 Thread Ulrich Windl
Dejan Muhamedagic deja...@fastmail.fm schrieb am 18.02.2015 um 11:04 in Nachricht 20150218100410.GA30682@tuttle.linbit: Hi, On Wed, Feb 18, 2015 at 08:21:10AM +0100, Ulrich Windl wrote: Kristoffer Grönlundkgronl...@suse.com schrieb am 16.02.2015 um 09:15 in Nachricht

[Linux-HA] Antw: Re: Antw: Re: Antw: Re: crmsh fails to stop already stopped resource

2015-02-18 Thread Ulrich Windl
Dejan Muhamedagic deja...@fastmail.fm schrieb am 18.02.2015 um 14:27 in Nachricht 20150218132741.GA31533@tuttle.linbit: On Wed, Feb 18, 2015 at 12:44:39PM +0100, Ulrich Windl wrote: Dejan Muhamedagic deja...@fastmail.fm schrieb am 18.02.2015 um 11:04 in Nachricht