[ClusterLabs] Antw: Re: crm shell: silent delete of dependent clone

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Wed May 20 06:05:20 UTC 2015


>>> Dejan Muhamedagic <dejanmm at fastmail.fm> schrieb am 19.05.2015 um 19:16 in
Nachricht <20150519171626.GB13504 at walrus.homenet>:
> Hi,
> 
> On Tue, May 19, 2015 at 12:52:45PM +0200, Ulrich Windl wrote:
>> Hi!
>> 
>> After my larger edit of the configuration failed, I decided to do it in 
> multiple steps. There I found a problem:
>> I deleted a group that was cloned. While doing so, crm shell reported:
>> INFO: resource references in order:ord_... updated
>> INFO: resource references in order:ord_... updated
>> (Note that (while I abreviated the real name) the same name was output 
> twice)
>> 
>> The same happened when I deleted another group that was used in another 
> clone.
>> 
>> The interesting partis what the shell did NOT say: The ordering constraint 
> contained the clone that used the group, not the group, and the ordering 
> constraint was updated because the clone (cloning the group) had been 
> implicitly deleted by crm shell.
>> 
>> Thus I'd expect some message like this:
>> INFO: depending resource .. deleted
> 
> IIRC, crmsh never removes resources.

Well, then at least crm shell did not know about it anymore.
Maybe it also depends on whether you'd consider clones to be resources ;-)

> 
>> (crmsh-1.2.6-0.38.1.17 of SLES11 SP3)
> 
> Please open a support request/bug report.

Our engineer is busy with more serious problems at the moment...

> 
> Thanks,
> 
> Dejan
> 
>> Regards,
>> Ulrich
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Users mailing list: Users at 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 at 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 








More information about the Users mailing list