[ClusterLabs] SLES15 crm shell crash "ERROR: ...: parameter "param" is not known"

Xin Liang XLiang at suse.com
Wed Apr 21 21:24:12 EDT 2021


Hi Ulrich,

May I take a look at your output of `crm configure show` before crash?

Thanks!

________________________________
From: Users <users-bounces at clusterlabs.org> on behalf of Ulrich Windl <Ulrich.Windl at rz.uni-regensburg.de>
Sent: Wednesday, April 21, 2021 6:53 PM
To: users at clusterlabs.org <users at clusterlabs.org>
Subject: [ClusterLabs] SLES15 crm shell crash "ERROR: ...: parameter "param" is not known"

Hi!

I thought this problem was fixed upstream, but I wonder for SLES15 SP2 (crmsh-4.3.0+20210315.5d07d43e-5.45.1.noarch, Build Date  : Tue Apr  6 12:06:38 2021):
crm(live/h16)configure# edit prm_xen ## After saving
ERROR: prm_xen: parameter "param" is not known
Traceback (most recent call last):
  File "/usr/sbin/crm", line 46, in <module>
    rc = main.run()
  File "/usr/lib/python3.6/site-packages/crmsh/main.py", line 370, in run
    return main_input_loop(context, user_args)
  File "/usr/lib/python3.6/site-packages/crmsh/main.py", line 264, in main_input_loop
    if not context.run(inp):
  File "/usr/lib/python3.6/site-packages/crmsh/ui_context.py", line 89, in run
    rv = self.execute_command() is not False
  File "/usr/lib/python3.6/site-packages/crmsh/ui_context.py", line 279, in execute_command
    rv = self.command_info.function(*arglist)
  File "/usr/lib/python3.6/site-packages/crmsh/ui_configure.py", line 707, in do_edit
    return set_obj.edit()
  File "/usr/lib/python3.6/site-packages/crmsh/cibconfig.py", line 324, in edit
    return self._edit_save(s)
  File "/usr/lib/python3.6/site-packages/crmsh/cibconfig.py", line 300, in _edit_save
    ok = self.save(self._post_edit(s))
  File "/usr/lib/python3.6/site-packages/crmsh/cibconfig.py", line 593, in save
    rc = diff.apply(cib_factory, mode='cli', remove=remove, method=method)
  File "/usr/lib/python3.6/site-packages/crmsh/cibconfig.py", line 2375, in apply
    rc = cib_factory.set_update(e, mk, upd, rm, upd_type=mode, method=method)
  File "/usr/lib/python3.6/site-packages/crmsh/cibconfig.py", line 3579, in set_update
    if not self._pop_state():
  File "/usr/lib/python3.6/site-packages/crmsh/cibconfig.py", line 2818, in _pop_state
    obj.node = self.find_xml_node(obj.xml_obj_type, obj.obj_id)
  File "/usr/lib/python3.6/site-packages/crmsh/cibconfig.py", line 2976, in find_xml_node
    expr = '//fencing-topology' % tag
TypeError: not all arguments converted during string formatting

Regards,
Ulrich




_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20210422/240afe6e/attachment-0001.htm>


More information about the Users mailing list