[Pkg-salt-team] Bug#742653: salt-ssh search for a ssh_user key

Gilles Mocellin gilles.mocellin at nuagelibre.org
Tue Mar 25 23:16:28 UTC 2014


Package: salt-ssh
Version: 2014.1.1+ds-1
Severity: important

Dear Maintainer,

Since last upgrade (I think after 0.17, so 2014.1.0+ds-1), I can not use
anymore salt-ssh.

Here is the backtrace :
sudo salt-ssh 'host*' test.ping                                                                                                                              1 
[ERROR   ] An un-handled exception was caught by salt's global exception handler:
KeyError: 'ssh_user'
Traceback (most recent call last):
  File "/usr/bin/salt-ssh", line 10, in <module>
    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 369, in run
    ssh = salt.client.ssh.SSH(self.config)
  File "/usr/lib/python2.7/dist-packages/salt/client/ssh/__init__.py", line 202, in __init__
    salt.config.DEFAULT_MASTER_OPTS['ssh_user']

I tried to replace the user entry in my /etc/salt/roster by ssh_user, but it's not working.
I don't know where salt search for a default master option with the name ssh_user...


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages salt-ssh depends on:
ii  python-msgpack  0.3.0-1
pn  python:any      <none>
ii  salt-common     2014.1.1+ds-1
ii  sshpass         1.05-1

salt-ssh recommends no packages.

salt-ssh suggests no packages.

-- Configuration Files:
/etc/salt/roster changed [not included]

-- no debconf information



More information about the pkg-salt-team mailing list