<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<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);">
Cloud you please paste your whole output of "crm configure show"?</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);">
Regards,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
xin</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, January 28, 2021 4:46 PM<br>
<b>To:</b> users@clusterlabs.org <users@clusterlabs.org><br>
<b>Subject:</b> [ClusterLabs] SLES15 SP2: crm shell crashed</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi!<br>
<br>
Trying to add one resource to my cluster that is very similar to an existing one, I had forgotten to define one related resource.<br>
When editing the config to "clone and adjust" constraints, crm shell crashed when saving:<br>
<br>
crm(live/h16)configure# edit<br>
ERROR: constraint col_snap_test-jeos5__xen_test-jeos5 references a resource prm_cron_snap_test-jeos5 which doesn't exist<br>
ERROR: constraint ord_xen_test-jeos5__snap_test-jeos5 references a resource prm_cron_snap_test-jeos5 which doesn't exist<br>
Traceback (most recent call last):<br>
File "/usr/sbin/crm", line 46, in <module><br>
rc = main.run()<br>
File "/usr/lib/python3.6/site-packages/crmsh/main.py", line 370, in run<br>
return main_input_loop(context, user_args)<br>
File "/usr/lib/python3.6/site-packages/crmsh/main.py", line 264, in main_input_loop<br>
if not context.run(inp):<br>
File "/usr/lib/python3.6/site-packages/crmsh/ui_context.py", line 89, in run<br>
rv = self.execute_command() is not False<br>
File "/usr/lib/python3.6/site-packages/crmsh/ui_context.py", line 279, in execute_command<br>
rv = self.command_info.function(*arglist)<br>
File "/usr/lib/python3.6/site-packages/crmsh/ui_configure.py", line 703, in do_edit<br>
return set_obj.edit()<br>
File "/usr/lib/python3.6/site-packages/crmsh/cibconfig.py", line 324, in edit<br>
return self._edit_save(s)<br>
File "/usr/lib/python3.6/site-packages/crmsh/cibconfig.py", line 300, in _edit_save<br>
ok = self.save(self._post_edit(s))<br>
File "/usr/lib/python3.6/site-packages/crmsh/cibconfig.py", line 593, in save<br>
rc = diff.apply(cib_factory, mode='cli', remove=remove, method=method)<br>
File "/usr/lib/python3.6/site-packages/crmsh/cibconfig.py", line 2375, in apply<br>
rc = cib_factory.set_update(e, mk, upd, rm, upd_type=mode, method=method)<br>
File "/usr/lib/python3.6/site-packages/crmsh/cibconfig.py", line 3608, in set_update<br>
if not self._pop_state():<br>
File "/usr/lib/python3.6/site-packages/crmsh/cibconfig.py", line 2847, in _pop_state<br>
obj.node = self.find_xml_node(obj.xml_obj_type, obj.obj_id)<br>
File "/usr/lib/python3.6/site-packages/crmsh/cibconfig.py", line 3005, in find_xml_node<br>
expr = '//fencing-topology' % tag<br>
TypeError: not all arguments converted during string formatting<br>
<br>
crmsh-4.2.0+git.1609987436.0d3a9bf5-5.35.1.noarch (latest)<br>
<br>
Unfortunately that crash sent my changes to /dev/null 8-(<br>
<br>
Regards,<br>
Ulrich<br>
<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>
<br>
</div>
</span></font></div>
</body>
</html>