[Debian-ha-maintainers] Bug#899381: fence-agents: Crash when using fence_vmware_soap due to missing dependency

Andreas Hasenack andreas at canonical.com
Wed May 23 15:59:19 BST 2018


Package: fence-agents
Version: 4.2.0-1
Severity: normal

Dear Maintainer,

After installing fence-agents, the fence_vmware_soap script fails to run
due to missing dependencies:

root at sid-fence-agents:~# fence_vmware_soap
Traceback (most recent call last):
  File "/usr/sbin/fence_vmware_soap", line 4, in <module>
    import shutil, tempfile, suds
ModuleNotFoundError: No module named 'suds'

After installing python3-suds (python-suds isn't the right one), it works.

d/changelog does mention this case:
  * Add python-requests and time to Build-Depends, add python-requests and
    python-suds to Suggests (needed by fence_vmware_soap).

Since the missing dependency leads to a crash, I'm wondering why it's just
a "Suggests" and not a "Depends".

Ubuntu got a bug about this from a user:
https://bugs.launchpad.net/ubuntu/+source/fence-agents/+bug/1772096


He didn't run that script directly, but another one, and the error was
quite obscure:

"""

After that, I run the command `pcs stonith list`. This indicates that there
are errors with two of the fence agents, one of which I'm trying to use:

[...]
Error: no metadata for /usr/sbin/fence_ovh
[...]
Error: no metadata for /usr/sbin/fence_vmware_soap
[...]

This results in the following error, when attempting to use `pcs stonith
create <name> fence_vmware_soap ...`:

Error: Unable to create resource 'stonith:fence_vmware_soap', it is
not installed on this system (use --force to override)
"""


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-22-generic (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages fence-agents depends on:
ii  libc6              2.27-3
ii  python3            3.6.5-3
ii  python3-boto3      1.4.2-1
ii  python3-googleapi  1.5.5-1
ii  python3-pexpect    4.2.1-1
ii  python3-pycurl     7.43.0.1-0.2

Versions of packages fence-agents recommends:
ii  libnet-telnet-perl  3.04-1
ii  openssh-client      1:7.7p1-2
ii  sg3-utils           1.42-2
ii  snmp                5.7.3+dfsg-3

Versions of packages fence-agents suggests:
pn  python3-adal      <none>
pn  python3-azure     <none>
ii  python3-requests  2.18.4-2
pn  python3-suds      <none>

-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-ha-maintainers/attachments/20180523/1e6ef057/attachment.html>


More information about the Debian-ha-maintainers mailing list