Skip to content

Instantly share code, notes, and snippets.

Created November 24, 2016 00:43
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 anonymous/1bc9b41810fe3797d18b99d1d1254e9c to your computer and use it in GitHub Desktop.
Save anonymous/1bc9b41810fe3797d18b99d1d1254e9c to your computer and use it in GitHub Desktop.
ID: checkstuff
Function: cmd.run
Name: /usr/local/scripts/checkstuff.sh
Result: False
Comment: An exception occurred in this state: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/state.py", line 1733, in call
**cdata['kwargs'])
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1652, in wrapper
return f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/salt/states/cmd.py", line 841, in run
name, timeout=timeout, python_shell=True, **cmd_kwargs
File "/usr/lib/python2.7/site-packages/salt/modules/cmdmod.py", line 1590, in run_all
password=kwargs.get('password', None))
File "/usr/lib/python2.7/site-packages/salt/modules/cmdmod.py", line 471, in _run
proc = salt.utils.timed_subprocess.TimedProc(cmd, **kwargs)
File "/usr/lib/python2.7/site-packages/salt/utils/timed_subprocess.py", line 50, in __init__
self.process = subprocess.Popen(args, **kwargs)
File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
TypeError: execve() arg 3 contains a non-string value
Started: 17:38:26.459013
Duration: 16.802 ms
Changes:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment