[Debian-ha-maintainers] Bug#1102663: crmsh: crmsh's update_err failing with "NameError: name 'cibadmin_opt' is not defined"
Michael Prokop
mika at debian.org
Fri Apr 11 18:30:44 BST 2025
Hi,
* Michael Prokop [Fri Apr 11, 2025 at 06:23:30PM +0200]:
> on the system where this bug has been observed, we seem to ran into
> this as loading a configuration fails and then crmsh fails hard with
> tons of such messages:
[...]
> | File "/usr/lib/python3/dist-packages/crmsh/log.py", line 492, in update_err
> | task = task_table.get(cibadmin_opt, "replace")
> | ^^^^^^^^^^^^
> | NameError: name 'cibadmin_opt' is not defined. Did you mean: 'cibadm_opt'?
> |
> | During handling of the above exception, another exception occurred:
> | [...]
>
> Reporting this against v4.6.1-1 as that's the version where this
> problem initially showed up for us. But looking into crmsh's VCS,
> this bug seems to have been introduced with the upstream 4.4.0
> initially.
While preparing the fix for upstream, I noticed that this was
already taken care of by upstream at
https://github.com/ClusterLabs/crmsh/issues/1306 /
https://github.com/ClusterLabs/crmsh/pull/1308
This is currently sitting only in master / v5.0.0-pre and was not
released (backported) yet.
regards
-mika-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-ha-maintainers/attachments/20250411/ca2f583d/attachment.sig>
More information about the Debian-ha-maintainers
mailing list