Package: salt-ssh
Version: 2014.1.4+ds-1
Severity: grave
Justification: renders package unusable
Dear Maintainer,
salt-ssh should depends on python-zmq to be usable standalone (without
installing salt-master)
* What led up to the situation?
[root] # apt-get install salt-ssh
[root] # salt-ssh '*' test.ping
[ERROR ] An un-handled exception was caught by salt's global exception
handler:
NameError: global name 'zmq' is not defined
Traceback (most recent call last):
File "/usr/bin/salt-ssh", line 10, in
salt_ssh()
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 108, in salt_ssh
client.run()
File "/usr/lib/python2.7/dist-packages/salt/cli/__init__.py", line 374, in run
ssh = salt.client.ssh.SSH(self.config)
File "/usr/lib/python2.7/dist-packages/salt/client/ssh/__init__.py", line
179, in __init__
self.event = salt.utils.event.MasterEvent(opts['sock_dir'])
File "/usr/lib/python2.7/dist-packages/salt/utils/event.py", line 411, in
__init__
super(MasterEvent, self).__init__('master', sock_dir)
File "/usr/lib/python2.7/dist-packages/salt/utils/event.py", line 129, in
__init__
self.context = zmq.Context()
NameError: global name 'zmq' is not defined
Traceback (most recent call last):
File "/usr/bin/salt-ssh", line 10, in
salt_ssh()
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 108, in salt_ssh
client.run()
File "/usr/lib/python2.7/dist-packages/salt/cli/__init__.py", line 374, in run
ssh = salt.client.ssh.SSH(self.config)
File "/usr/lib/python2.7/dist-packages/salt/client/ssh/__init__.py", line
179, in __init__
self.event = salt.utils.event.MasterEvent(opts['sock_dir'])
File "/usr/lib/python2.7/dist-packages/salt/utils/event.py", line 411, in
__init__
super(MasterEvent, self).__init__('master', sock_dir)
File "/usr/lib/python2.7/dist-packages/salt/utils/event.py", line 129, in
__init__
self.context = zmq.Context()
NameError: global name 'zmq' is not defined
Exception AttributeError: "'MasterEvent' object has no attribute 'cpub'" in
> ignored
zsh: exit 1 salt-ssh '*' test.ping
* What exactly did you do (or not do) that was effective (or
ineffective)?
Installing python-zmq make salt-ssh works.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org