<div dir="ltr">Hi Ulrich,<div><br></div><div>I just noticed that the first error is from `crm->configure->commit`, please see the help info `crm configure help commit`</div><div>The usage only accepts:<br>```<br>Usage:<br><br>commit [force] [replace]<br>```</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Jun 25, 2025 at 6:01 PM Windl, Ulrich <<a href="mailto:u.windl@ukr.de">u.windl@ukr.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg1872876777390359502">
<div lang="DE">
<div class="m_1872876777390359502WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)">Hi!<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)">I see that I started the commands from a different context.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)">And that seems to be the point; I tried:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)">crm(shadow/h01)configure# up<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)">crm(shadow/h01)# cib<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)">crm(shadow/h01)cib# commit shadow<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)">INFO: cib.commit: committed 'shadow' shadow CIB to the cluster<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)">Now the config is being applied.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)">Isn’t it odd that the syntax of “commit” varies with the context?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)">Kind regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)">Ulrich Windl<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div style="border-top:none;border-right:none;border-bottom:none;border-left:1.5pt solid blue;padding:0cm 0cm 0cm 4pt">
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b>From:</b> Users <<a href="mailto:users-bounces@clusterlabs.org" target="_blank">users-bounces@clusterlabs.org</a>> <b>On Behalf Of
</b>Xin Liang via Users<br>
<b>Sent:</b> Wednesday, June 25, 2025 11:50 AM<br>
<b>To:</b> Cluster Labs - All topics related to open-source clustering welcomed <<a href="mailto:users@clusterlabs.org" target="_blank">users@clusterlabs.org</a>><br>
<b>Cc:</b> Xin Liang <<a href="mailto:xliang@suse.com" target="_blank">xliang@suse.com</a>><br>
<b>Subject:</b> [EXT] Re: [ClusterLabs] Q: crm shell & shadow CIB; is it broken in SLES15 SP6?<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi Ulrich,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">How to trigger? I can't reproduce with crmsh-4.6.2+20250612.e0482fa-150600.3.35.2.noarch<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">```<br>
15sp6-1:~ # crm<br>
crm(live/15sp6-1)# cib<br>
crm(live/15sp6-1)cib# new shadow<br>
INFO: <a href="http://cib.new" target="_blank">cib.new</a>: shadow shadow CIB created<br>
crm(shadow/15sp6-1)cib# up<br>
crm(shadow/15sp6-1)# coni<br>
INFO: "coni" is accepted as "configure"<br>
crm(shadow/15sp6-1)configure# primitive d Dummy<br>
crm(shadow/15sp6-1)configure# commit<br>
(unpack_config) warning: Blind faith: not fencing unseen nodes<br>
crm(shadow/15sp6-1)configure# up<br>
crm(shadow/15sp6-1)# cib<br>
crm(shadow/15sp6-1)cib# diff<br>
Diff: --- 0.6.0 2<br>
Diff: +++ 0.7.0 (null)<br>
+ /cib: @epoch=7<br>
++ /cib/configuration/resources: <primitive id="d" class="ocf" provider="heartbeat" type="Dummy"/><br>
crm(shadow/15sp6-1)cib# commit shadow <br>
INFO: cib.commit: committed 'shadow' shadow CIB to the cluster<br>
```<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Wed, Jun 25, 2025 at 4:39 PM Windl, Ulrich <<a href="mailto:u.windl@ukr.de" target="_blank">u.windl@ukr.de</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Hi!</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Using an old changelog of mine I tried to repeat the configuration I had made in SLES12 (now with SLS15 SP6).</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">The configuration uses crm shell and a “shadow CIB”.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">I could create the CIB justz fine like this:</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">crm(live/h01)# cib new shadow</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">INFO: <a href="http://cib.new" target="_blank">cib.new</a>: shadow shadow CIB created</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">And I also could add the configuration changes , and verify them.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">However when using “commit” the live CIB wasn’t updated, and trying a command like “commit shadow” results in an error message like this:</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">crm(shadow/h01)configure# commit</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">crm(shadow/h01)configure#</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">…</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">crm(shadow/h01)configure# commit shadow</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">ERROR: syntax parsing 'configure.commit shadow'</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">So what the freature dropped, or was it changed, or is the crm shell just broken?</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Version used is crmsh-4.6.2+20250612.e0482fa-150600.3.35.2.noarch</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Kind regards,</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Ulrich Windl</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
Manage your subscription:<br>
<a href="https://lists.clusterlabs.org/mailman/listinfo/users" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/users</a><br>
<br>
ClusterLabs home: <a href="https://www.clusterlabs.org/" target="_blank">https://www.clusterlabs.org/</a><u></u><u></u></p>
</div>
</blockquote>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Manage your subscription:<br>
<a href="https://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/users</a><br>
<br>
ClusterLabs home: <a href="https://www.clusterlabs.org/" rel="noreferrer" target="_blank">https://www.clusterlabs.org/</a><br>
</div></blockquote></div>