Your message dated Tue, 15 Apr 2025 20:35:20 +0000
with message-id <e1u4n04-00abso...@fasolo.debian.org>
and subject line Bug#1102663: fixed in crmsh 4.6.1-2
has caused the Debian Bug report #1102663,
regarding crmsh: crmsh's update_err failing with "NameError: name 
'cibadmin_opt' is not defined"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1102663: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102663
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: crmsh
Version: 4.6.1-1
Severity: important

Hi,

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:

| [...]
| INFO: commit forced
| Call failed: Update does not conform to the configured schema
| ERROR: name 'cibadmin_opt' is not defined
| Traceback (most recent call last):
|   File "/usr/lib/python3/dist-packages/crmsh/main.py", line 261, in 
main_input_loop
|     if not context.run(inp): 
|            ~~~~~~~~~~~^^^^^
|   File "/usr/lib/python3/dist-packages/crmsh/ui_context.py", line 103, in run
|     rv = self._back_out() and rv
|          ~~~~~~~~~~~~~~^^
|   File "/usr/lib/python3/dist-packages/crmsh/ui_context.py", line 340, in 
_back_out
|     ok = self.up() and ok
|          ~~~~~~~^^
|   File "/usr/lib/python3/dist-packages/crmsh/ui_context.py", line 329, in up
|     ok = self.current_level().end_game(no_questions_asked=self._in_transit) 
is not False
|          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/usr/lib/python3/dist-packages/crmsh/ui_configure.py", line 1249, in 
end_game
|     ok = self._commit()
|   File "/usr/lib/python3/dist-packages/crmsh/ui_configure.py", line 925, in 
_commit
|     return cib_factory.commit(force=True, replace=replace)
|            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/usr/lib/python3/dist-packages/crmsh/cibconfig.py", line 2667, in 
commit
|     rc = self._patch_cib(force)
|   File "/usr/lib/python3/dist-packages/crmsh/cibconfig.py", line 2755, in 
_patch_cib
|     logger_utils.update_err("cib", cibadmin_opts, cib_diff, rc)
|     ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   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.

regards
-mika-

--- End Message ---
--- Begin Message ---
Source: crmsh
Source-Version: 4.6.1-2
Done: Valentin Vidic <vvi...@debian.org>

We believe that the bug you reported is fixed in the latest version of
crmsh, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1102...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Valentin Vidic <vvi...@debian.org> (supplier of updated crmsh package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 15 Apr 2025 21:51:42 +0200
Source: crmsh
Architecture: source
Version: 4.6.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian HA Maintainers 
<debian-ha-maintain...@lists.alioth.debian.org>
Changed-By: Valentin Vidic <vvi...@debian.org>
Closes: 1102663
Changes:
 crmsh (4.6.1-2) unstable; urgency=medium
 .
   * d/patches: fix update_err handling (Closes: #1102663)
   * d/rules: fix shebang rewrite
Checksums-Sha1:
 90f035ec7d60bbac437b8e422ca044a6e6eeee8f 2428 crmsh_4.6.1-2.dsc
 7d64c4f19ef5ed77af3d2873c9106cd8bbb6aa57 34308 crmsh_4.6.1-2.debian.tar.xz
 0633de125b9ddbf016a22a50580bcec5433b09d2 7319 crmsh_4.6.1-2_source.buildinfo
Checksums-Sha256:
 e4b6ad3c5ba0755ce60c86c158521d58bce2e677a06032c10015b33bb813f8bc 2428 
crmsh_4.6.1-2.dsc
 8d0f99738eaf496c4dd08c02770df62d8354bf7e2ef56f09fba7c8e5ecaf68ee 34308 
crmsh_4.6.1-2.debian.tar.xz
 57e9915179c4965a41df7e99775cc39be1c13027fbb0180c611db84c3ece3dea 7319 
crmsh_4.6.1-2_source.buildinfo
Files:
 d887358eeb1130dea5b677f500e8ad5e 2428 admin optional crmsh_4.6.1-2.dsc
 4b89a804dd46ded1b574463ce62744c1 34308 admin optional 
crmsh_4.6.1-2.debian.tar.xz
 7e67769d8d17b3d9df26893c2c943850 7319 admin optional 
crmsh_4.6.1-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEExaW53cM9k/u2PWfIMofYmpfNqHsFAmf+uxcSHHZ2aWRpY0Bk
ZWJpYW4ub3JnAAoJEDKH2JqXzah7/kUQAKLUcqIWlFPI4o1k4W2Jqs6ZUqIZ04hC
9AvILvTWYvu8Of04XXWi3+p0gbCsL4fTHj5hd6vNWloMZEhBvlnNt6uxSzeGQbYI
9b2pd8/IFTCHxckAaZmjxS+vCfH1SHyjNZWmhuQMkqBtw7yCyQ4N1xzWRG+HSjxT
ysQpqa3OWcRUrKO8DqejTiX1jVZcUPVzUOA4TR706Bq8Y7MRDkdQGL+Ld8D3o+Nl
hjUwYMV+YwVHMiZpBH+Kcz2Sw/ZUJSUbai9Xmu34I8F1p9UTpxiJ1WCGRlIEw3Aj
nTcjQFYJt8KQewgv78J6CfB6+wEK3/Qq4LYRaqurGGmhOOaSj3/c4YflIUsWOypY
LZyldK1cZ8HOzndqZRlL5yU9CFiDJNKk/aOTIVY0TBrDvG+BeT7/mm86QzbxgsFU
eI/WMok/KYbgeJ0XbDg8mstqFA/1lGRpDVNosr9vcMC7bIkwXF0W9bPJdINka13b
O8cUx9LdpgZQLwaF5iKXrrKxXDmuUH77xaT4PMsVMm7sXvpWFrpoQfy5zN6kcerM
Qfjz56Zj0MGHT5rob4Qh462wRyO66P4GPaIYlWlt16FADGQ43mw173tgCWwB9HdC
wD1Ok0FBc+RzQoGrQngaXsICLFY214oIQO0JzbjJk+hwrVZr/UiZZ9ewSo+pu7ch
p2D7fyEjIlCq
=w/Ss
-----END PGP SIGNATURE-----

Attachment: pgpchqzzxksrm.pgp
Description: PGP signature


--- End Message ---

Reply via email to