Bug#1061552: crmsh broken with python3-parallax 1.0.6

2024-01-28 Thread Valentin Vidic
On Sat, Jan 27, 2024 at 01:56:40PM +0100, wf...@debian.org wrote:
> Indeed, parallax.run was added only in version 1.0.7 by
> https://github.com/krig/parallax/commit/38bac0eb3cb20e9df8cbbf585cf9353793ffdba2.

Thanks, it seems the watch file for parallax did not find new versions
so we are behind there.

But also crmsh 4.6.0 drops parallax as a dependency so I will try to
upload that.

-- 
Valentin



Bug#1061552: crmsh broken with python3-parallax 1.0.6

2024-01-27 Thread wferi

Indeed, parallax.run was added only in version 1.0.7 by
https://github.com/krig/parallax/commit/38bac0eb3cb20e9df8cbbf585cf9353793ffdba2.
Thanks for the report!
--
Feri (only acknowledging it; I don't use crmsh, so no promises).



Bug#1061552: crmsh broken with python3-parallax 1.0.6

2024-01-26 Thread Chris Boot
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 
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 
ii  iputils-ping 3:20221126-1
pn  pacemaker-cli-utils  
ii  python3  3.11.6-1
ii  python3-dateutil 2.8.2-3
pn  python3-lxml 
pn  python3-parallax 
ii  python3-yaml 6.0.1-2

Versions of packages crmsh recommends:
pn  pacemaker  

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