[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.

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

2015-02-17 Thread Ulrich Windl
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 least with rc=0) allow deletion of non-existing or already-deleted

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

2015-02-13 Thread Ulrich Windl
Kristoffer Grönlundkgronl...@suse.com schrieb am 13.02.2015 um 15:20 in Nachricht 87wq3lhp0h@krigpad.kri.gs: Vladislav Bogdanov bub...@hoster-ok.com writes: Hi, Following fails with the current crmsh (e4b10ee). # crm resource stop cl-http-lv # crm resource stop cl-http-lv ERROR: