[Debian-ha-maintainers] Bug#819545: crmsh: 'crm cluster health' fails because 'parallax' python-package missing

Simon Thyssen simon.thyssen at credativ.de
Wed Mar 30 10:12:47 UTC 2016


Package: crmsh
Version: 2.2.0-1~bpo8+1
Severity: normal

Dear Maintainer,
crmsh was installed from the jessie-backports, and fails to execute 'crm cluster health'
because the 'parallax' python-package is not installed. When called from a running crm shell
the shell crashes with the same stacktrace output, which is as follows:

# crm cluster health
INFO: Check the health of the cluster
INFO: Nodes: vm-ha-j2, vm-ha-j1
Traceback (most recent call last):
  File "/usr/sbin/crm", line 54, in <module>
    rc = main.run()
  File "/usr/lib/python2.7/dist-packages/crmsh/main.py", line 351, in run
    return main_input_loop(context, user_args)
  File "/usr/lib/python2.7/dist-packages/crmsh/main.py", line 240, in main_input_loop
    rc = handle_noninteractive_use(context, user_args)
  File "/usr/lib/python2.7/dist-packages/crmsh/main.py", line 196, in handle_noninteractive_use
    if context.run(' '.join(l)):
  File "/usr/lib/python2.7/dist-packages/crmsh/ui_context.py", line 75, in run
    rv = self.execute_command() is not False
  File "/usr/lib/python2.7/dist-packages/crmsh/ui_context.py", line 245, in execute_command
    rv = self.command_info.function(*arglist)
  File "/usr/lib/python2.7/dist-packages/crmsh/ui_cluster.py", line 158, in do_health
    return scripts.run(script, script_args(params), script_printer())
  File "/usr/lib/python2.7/dist-packages/crmsh/scripts.py", line 2045, in run
    opts = _make_options(params)
  File "/usr/lib/python2.7/dist-packages/crmsh/scripts.py", line 383, in _make_options
    opts = parallax.Options()
NameError: global name 'parallax' is not defined

At this time there seems to be no debian package for parallax (which is a fork of parallel-ssh by crmsh author 'krig')

-- System Information:
Debian Release: 8.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages crmsh depends on:
ii  pacemaker-cli-utils  1.1.14-2~bpo8+1
ii  python               2.7.9-1
ii  python-lxml          3.4.0-1
ii  python-yaml          3.11-2
ii  python2.7            2.7.9-2
pn  python:any           <none>

Versions of packages crmsh recommends:
ii  pacemaker  1.1.14-2~bpo8+1

crmsh suggests no packages.

-- no debconf information



More information about the Debian-ha-maintainers mailing list