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

Xin Liang XLiang at suse.com
Thu Apr 22 21:49:39 EDT 2021


Hi Ulrich,

This should be another issue; I created a PR in https://github.com/ClusterLabs/crmsh/pull/804
Just one line changed, or you could download changed package from https://build.opensuse.org/package/binaries/home:XinLiang:branches:network:ha-clustering:Factory/crmsh/SLE_15_SP2

Thanks!

Regards,
xin
________________________________
From: Users <users-bounces at clusterlabs.org> on behalf of Ulrich Windl <Ulrich.Windl at rz.uni-regensburg.de>
Sent: Thursday, April 22, 2021 3:49 PM
To: users at clusterlabs.org <users at clusterlabs.org>
Subject: [ClusterLabs] Antw: [EXT] Re: SLES15 crm shell crash "ERROR: ...: parameter "param" is not known"

>>> Xin Liang <XLiang at suse.com> schrieb am 22.04.2021 um 03:24 in Nachricht
<DB6PR04MB32060602296D5C04B48A5572B0469 at DB6PR04MB3206.eurprd04.prod.outlook.com>

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

The relevant part was ("params param ..."):
primitive prm_xen VirtualDomain \
        params param config="/etc/libvirt/libxl/vm.xml"
hypervisor="xen:///system" remoteuri="xen+tls://%n.uni-regensburg.de"
autoset_utilization_cpu=false autoset_utilization_hv_memory=false \
        op start timeout=120 interval=0 \
        op stop timeout=480 interval=0 \
        op monitor interval=600 timeout=90 \
        op migrate_to timeout=220 interval=0 \
        op migrate_from timeout=220 interval=0 \
        utilization utl_cpu=20 utl_ram=16384 \
        meta priority=5500 allow-migrate=true \
        meta 1: resource-stickiness=0 \
        meta 2: rule 0: date spec hours=7-19 weekdays=1-5
resource-stickiness=1000

Regards,
Ulrich

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



_______________________________________________
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/20210423/1b12ecde/attachment.htm>


More information about the Users mailing list