[Debian-ha-maintainers] Bug#1061552: crmsh broken with python3-parallax 1.0.6

Chris Boot bootc at debian.org
Fri Jan 26 10:21:30 GMT 2024


Package: crmsh
Version: 4.5.0-1
Severity: important

Hi,

When I try to put a node into standby using "crm node standby", I see
the following stack trace and the node doesn't go into standby:

Traceback (most recent call last):
  File "/usr/sbin/crm", line 53, in <module>
    rc = main.run()
         ^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/crmsh/main.py", line 368, in run
    upgradeutil.upgrade_if_needed()
  File "/usr/lib/python3/dist-packages/crmsh/upgradeutil.py", line 130, in upgrade_if_needed
    if not _is_cluster_target_seq_consistent(nodes):
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/crmsh/upgradeutil.py", line 83, in _is_cluster_target_seq_consistent
    results = list(_parallax_run(nodes, cmd).values())
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/crmsh/upgradeutil.py", line 55, in _parallax_run
    ret = crmsh.parallax.parallax_run(nodes, cmd)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/crmsh/parallax.py", line 145, in parallax_run
    return p.run()
           ^^^^^^^
  File "/usr/lib/python3/dist-packages/crmsh/parallax.py", line 91, in run
    return parallax.run(host_port_user, cmd, self.opts)
           ^^^^^^^^^^^^
AttributeError: module 'parallax' has no attribute 'run'

Thanks,
Chris

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.11-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages crmsh depends on:
pn  gawk                 <none>
ii  iputils-ping         3:20221126-1
pn  pacemaker-cli-utils  <none>
ii  python3              3.11.6-1
ii  python3-dateutil     2.8.2-3
pn  python3-lxml         <none>
pn  python3-parallax     <none>
ii  python3-yaml         6.0.1-2

Versions of packages crmsh recommends:
pn  pacemaker  <none>

Versions of packages crmsh suggests:
ii  bash-completion    1:2.11-8
pn  cluster-glue       <none>
pn  csync2             <none>
ii  dmidecode          3.5-3
ii  fdisk              2.39.3-6
pn  ocfs2-tools        <none>
ii  openssh-server     1:9.6p1-3
ii  parted             3.6-3
pn  sbd                <none>
pn  ufw                <none>
ii  util-linux         2.39.3-6
ii  vim-addon-manager  0.5.10



More information about the Debian-ha-maintainers mailing list