New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
salt-ssh fails on test methods b/c sha1 binary is not available #8880
Comments
Was the target system also Ubuntu 12.04 or another OS? |
same. |
@pille So in your master conf, do you have hash_type set to sha1? And, if so, what if you set hash_type to sha1sum? |
yes, that's true. in this case my setup differs from the default. |
OK, I think if you set hash_type to sha1sum, that would be the 'best' way to fix it for the time being. Does that work? |
setting this to the default of Process Process-1: Traceback (most recent call last): File "/usr/lib/python2.6/multiprocessing/process.py", line 232, in _bootstrap self.run() File "/usr/lib/python2.6/multiprocessing/process.py", line 88, in run self._target(*self._args, **self._kwargs) File "/usr/lib/pymodules/python2.6/salt/client/ssh/__init__.py", line 248, in handle_routine stdout, stderr = single.run() File "/usr/lib/pymodules/python2.6/salt/client/ssh/__init__.py", line 424, in run stdout, stderr = self.run_wfunc() File "/usr/lib/pymodules/python2.6/salt/client/ssh/__init__.py", line 463, in run_wfunc default_opts = pre_wrapper['test.opts_pkg']() File "/usr/lib/pymodules/python2.6/salt/client/ssh/wrapper/__init__.py", line 61, in caller ret = json.loads(stdout, object_hook=salt.utils.decode_dict) File "/usr/lib/python2.6/json/__init__.py", line 318, in loads return cls(encoding=encoding, **kw).decode(s) File "/usr/lib/python2.6/json/decoder.py", line 319, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.6/json/decoder.py", line 338, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded the Process Process-1: Traceback (most recent call last): File "/usr/lib/python2.6/multiprocessing/process.py", line 232, in _bootstrap self.run() File "/usr/lib/python2.6/multiprocessing/process.py", line 88, in run self._target(*self._args, **self._kwargs) File "/usr/lib/pymodules/python2.6/salt/client/ssh/__init__.py", line 248, in handle_routine stdout, stderr = single.run() File "/usr/lib/pymodules/python2.6/salt/client/ssh/__init__.py", line 424, in run stdout, stderr = self.run_wfunc() File "/usr/lib/pymodules/python2.6/salt/client/ssh/__init__.py", line 463, in run_wfunc default_opts = pre_wrapper['test.opts_pkg']() File "/usr/lib/pymodules/python2.6/salt/client/ssh/wrapper/__init__.py", line 57, in caller stdout, stderr = single.cmd_block() File "/usr/lib/pymodules/python2.6/salt/client/ssh/__init__.py", line 537, in cmd_block self.opts['hash_type']) File "/usr/lib/pymodules/python2.6/salt/utils/thin.py", line 80, in thin_sum return salt.utils.get_hash(thintar, form) File "/usr/lib/pymodules/python2.6/salt/utils/__init__.py", line 1262, in get_hash raise ValueError('Invalid hash type: {0}'.format(form)) ValueError: Invalid hash type: sha1sum |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
i wasn't able to get this salt-ssh working:
when i provide a symlink for
sha1
pointing tosha1sum
.i'm on ubuntu-12.04 and this works.
working around this, leads to #8882.
The text was updated successfully, but these errors were encountered: