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

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Thu Mar 11 01:47:54 EST 2021


>>> Xin Liang <XLiang at suse.com> schrieb am 10.03.2021 um 15:37 in Nachricht
<HE1PR04MB32090F1EFC5BB80F285BE48FB0919 at HE1PR04MB3209.eurprd04.prod.outlook.com>

> 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/ 





More information about the Users mailing list