[ClusterLabs] Antw: Re: Antw: [EXT] Re: Notice: deleting a cloned primitive with crm shell 4.1.0

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Fri Mar 12 03:41:54 EST 2021


>>> Xin Liang <XLiang at suse.com> schrieb am 12.03.2021 um 02:54 in Nachricht
<HE1PR04MB320981621C6AA47167206495B06F9 at HE1PR04MB3209.eurprd04.prod.outlook.com>

> Hi Ulrich,
> 
> Allow me to make this case simple:
> primitive d1 Dummy
> primitive d2 Dummy
> clone c1 d1
> clone c2 d2
> colocation col inf: c1 c2
> order ord inf: c2 ( c1 )
> Is above configuration similar with yours?
> Then after stopping these RAs, delete what? c1 or d1?

Deleting d1 or d2 does not print a message that c1 or c2 is deleted as well
(as it actually is).

> 
> Regards,
> xin
> ________________________________
> From: Users <users-bounces at clusterlabs.org> on behalf of Ulrich Windl 
> <Ulrich.Windl at rz.uni-regensburg.de>
> Sent: Thursday, March 11, 2021 2:47 PM
> To: users at clusterlabs.org <users at clusterlabs.org>
> Subject: [ClusterLabs] Antw: [EXT] Re: Notice: deleting a cloned primitive 
> with crm shell 4.1.0
> 
>>>> Xin Liang <XLiang at suse.com> schrieb am 10.03.2021 um 15:37 in Nachricht
>
<HE1PR04MB32090F1EFC5BB80F285BE48FB0919 at HE1PR04MB3209.eurprd04.prod.outlook.c

>om>
> 
>> Hi Ulrich,
>>
>> Could you please give your output of "crm configure show"? I cannot catch
up
> 
>> what these IDs represent
> 
> Hi!
> 
> First, after deletion there's not much "configure show" can tell you.
> Second the problem was where no INFO: maessage was print.
> But anyway, I go back in time for you ;-)
> 
> primitive prm_cfs_locks Filesystem ...
> clone cln_cfs_locks prm_cfs_locks ...
> colocation col_cfs_locks_O2CB inf: cln_cfs_locks cln_O2CB
> order ord_O2CB_OCFS inf: cln_O2CB ( cln_cfs_locks )
> 
> And here's the example where deleting prm_stonith_sbd did not print an info
> message that the clone was removed as well:
> 
> primitive prm_stonith_sbd stonith:external/sbd ...
> clone cln_stonith_sbd prm_stonith_sbd
> 
> 
> Regards,
> Ulrich
> 
>>
>> Thanks
>>
>> Regards,
>> xin
>> ________________________________
>> From: Users <users‑bounces at clusterlabs.org> on behalf of Ulrich Windl
>> <Ulrich.Windl at rz.uni‑regensburg.de>
>> Sent: Wednesday, March 10, 2021 9:14 PM
>> To: users at clusterlabs.org <users at clusterlabs.org>
>> Subject: [ClusterLabs] Notice: deleting a cloned primitive with crm shell
>> 4.1.0
>>
>> Hi!
>>
>> While cleaning up an old cluster I noticed that crm shell announces
>> automatic operations, but it does not announce that the clone is being
>> deleted when deleting the primitive that was cloned.
>>
>> Example (where it works):
>> crm(live/h02)configure# delete cln_cfs_locks
>> INFO: modified colocation:col_cfs_locks_O2CB from cln_cfs_locks to
>> prm_cfs_locks
>> INFO: hanging order:ord_O2CB_OCFS deleted
>>
>> (crmsh of SLES12 SP5)
>>
>> Regards,
>> Ulrich
>>
>>
>> _______________________________________________
>> Manage your subscription:
>> https://lists.clusterlabs.org/mailman/listinfo/users 
>>
>> ClusterLabs home: https://www.clusterlabs.org/ 
> 
> 
> 
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users 
> 
> ClusterLabs home: https://www.clusterlabs.org/ 





More information about the Users mailing list