Skip to content

Instantly share code, notes, and snippets.

@roflmao
Created August 10, 2015 10:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roflmao/4b95039e1a031d0c2a1e to your computer and use it in GitHub Desktop.
Save roflmao/4b95039e1a031d0c2a1e to your computer and use it in GitHub Desktop.
root@salt:~# salt-ssh '*' test.ping
[ERROR ] An un-handled exception was caught by salt's global exception handler:
OSError: [Errno 2] No such file or directory: 'salt/states/nagios.py'
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 273, in salt_ssh
client.run()
File "/usr/lib/python2.7/dist-packages/salt/cli/ssh.py", line 17, in run
ssh = salt.client.ssh.SSH(self.config)
File "/usr/lib/python2.7/dist-packages/salt/client/ssh/__init__.py", line 233, in __init__
self.thin = salt.utils.thin.gen_thin(self.opts['cachedir'])
File "/usr/lib/python2.7/dist-packages/salt/utils/thin.py", line 165, in gen_thin
tfp.add(os.path.join(root, name))
File "/usr/lib/python2.7/tarfile.py", line 1975, in add
tarinfo = self.gettarinfo(name, arcname)
File "/usr/lib/python2.7/tarfile.py", line 1849, in gettarinfo
statres = os.stat(name)
OSError: [Errno 2] No such file or directory: 'salt/states/nagios.py'
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 273, in salt_ssh
client.run()
File "/usr/lib/python2.7/dist-packages/salt/cli/ssh.py", line 17, in run
ssh = salt.client.ssh.SSH(self.config)
File "/usr/lib/python2.7/dist-packages/salt/client/ssh/__init__.py", line 233, in __init__
self.thin = salt.utils.thin.gen_thin(self.opts['cachedir'])
File "/usr/lib/python2.7/dist-packages/salt/utils/thin.py", line 165, in gen_thin
tfp.add(os.path.join(root, name))
File "/usr/lib/python2.7/tarfile.py", line 1975, in add
tarinfo = self.gettarinfo(name, arcname)
File "/usr/lib/python2.7/tarfile.py", line 1849, in gettarinfo
statres = os.stat(name)
OSError: [Errno 2] No such file or directory: 'salt/states/nagios.py'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment