<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Ulrich,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Allow me to make this case simple:</div>
<blockquote style="margin-top:0;margin-bottom:0">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
primitive d1 Dummy<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="margin:0px;font-size:12pt">primitive d2 Dummy</span><br>
<span style="margin:0px;font-size:12pt"></span>clone c1 d1<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
clone c2 d2<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
colocation col inf: c1 c2<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
order ord inf: c2 ( c1 )</div>
</blockquote>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Is above configuration similar with yours?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div>Then after stopping these RAs, delete what? c1 or d1?</div>
<div><br>
</div>
<div>Regards,</div>
<div>xin</div>
<div>
<blockquote style="margin-top:0;margin-bottom:0"></blockquote>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Users <users-bounces@clusterlabs.org> on behalf of Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de><br>
<b>Sent:</b> Thursday, March 11, 2021 2:47 PM<br>
<b>To:</b> users@clusterlabs.org <users@clusterlabs.org><br>
<b>Subject:</b> [ClusterLabs] Antw: [EXT] Re: Notice: deleting a cloned primitive with crm shell 4.1.0</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">>>> Xin Liang <XLiang@suse.com> schrieb am 10.03.2021 um 15:37 in Nachricht<br>
<HE1PR04MB32090F1EFC5BB80F285BE48FB0919@HE1PR04MB3209.eurprd04.prod.outlook.com><br>
<br>
> Hi Ulrich,<br>
> <br>
> Could you please give your output of "crm configure show"? I cannot catch up<br>
<br>
> what these IDs represent<br>
<br>
Hi!<br>
<br>
First, after deletion there's not much "configure show" can tell you.<br>
Second the problem was where no INFO: maessage was print.<br>
But anyway, I go back in time for you ;-)<br>
<br>
primitive prm_cfs_locks Filesystem ...<br>
clone cln_cfs_locks prm_cfs_locks ...<br>
colocation col_cfs_locks_O2CB inf: cln_cfs_locks cln_O2CB<br>
order ord_O2CB_OCFS inf: cln_O2CB ( cln_cfs_locks )<br>
<br>
And here's the example where deleting prm_stonith_sbd did not print an info<br>
message that the clone was removed as well:<br>
<br>
primitive prm_stonith_sbd stonith:external/sbd ...<br>
clone cln_stonith_sbd prm_stonith_sbd<br>
<br>
<br>
Regards,<br>
Ulrich<br>
<br>
> <br>
> Thanks<br>
> <br>
> Regards,<br>
> xin<br>
> ________________________________<br>
> From: Users <users‑bounces@clusterlabs.org> on behalf of Ulrich Windl <br>
> <Ulrich.Windl@rz.uni‑regensburg.de><br>
> Sent: Wednesday, March 10, 2021 9:14 PM<br>
> To: users@clusterlabs.org <users@clusterlabs.org><br>
> Subject: [ClusterLabs] Notice: deleting a cloned primitive with crm shell <br>
> 4.1.0<br>
> <br>
> Hi!<br>
> <br>
> While cleaning up an old cluster I noticed that crm shell announces <br>
> automatic operations, but it does not announce that the clone is being <br>
> deleted when deleting the primitive that was cloned.<br>
> <br>
> Example (where it works):<br>
> crm(live/h02)configure# delete cln_cfs_locks<br>
> INFO: modified colocation:col_cfs_locks_O2CB from cln_cfs_locks to <br>
> prm_cfs_locks<br>
> INFO: hanging order:ord_O2CB_OCFS deleted<br>
> <br>
> (crmsh of SLES12 SP5)<br>
> <br>
> Regards,<br>
> Ulrich<br>
> <br>
> <br>
> _______________________________________________<br>
> Manage your subscription:<br>
> <a href="https://lists.clusterlabs.org/mailman/listinfo/users">https://lists.clusterlabs.org/mailman/listinfo/users</a>
<br>
> <br>
> ClusterLabs home: <a href="https://www.clusterlabs.org/">https://www.clusterlabs.org/</a>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Manage your subscription:<br>
<a href="https://lists.clusterlabs.org/mailman/listinfo/users">https://lists.clusterlabs.org/mailman/listinfo/users</a><br>
<br>
ClusterLabs home: <a href="https://www.clusterlabs.org/">https://www.clusterlabs.org/</a><br>
</div>
</span></font></div>
</body>
</html>