Bug#748092: [Pkg-salt-team] Bug#748092: salt-ssh: Missing dependency to python-zmq

2014-05-14 Thread Joe Healy
Upstream have made a fix, so I'll do a new release to fix this shortly.

https://github.com/saltstack/salt/commit/de4d823b9afdbd1f96735a796a3ecee295b3dcda


Bug#748092: [Pkg-salt-team] Bug#748092: salt-ssh: Missing dependency to python-zmq

2014-05-14 Thread Joe Healy
Thanks for the report.

https://github.com/saltstack/salt/issues/12766

I've submitted this bug upstream and will follow to see when it is resolved.

In the mean time, I'll have a quick look to see if i can patch the issue,
otherwise I'll look at depending on python-zmq.

Thanks,

Joe


Bug#748092: salt-ssh: Missing dependency to python-zmq

2014-05-14 Thread Remi Duraffort
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