Skip to content

Instantly share code, notes, and snippets.

@heaje
Created January 22, 2016 22:05
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 heaje/4fef27a82108a96117d7 to your computer and use it in GitHub Desktop.
Save heaje/4fef27a82108a96117d7 to your computer and use it in GitHub Desktop.
salt scsi.ls error on CentOS 7
[INFO ] Executing command 'lsscsi -dLsv' in directory '/root'
[ERROR ] An un-handled exception was caught by salt's global exception handler:
ValueError: need more than 1 value to unpack
Traceback (most recent call last):
File "/bin/salt-call", line 11, in <module>
salt_call()
File "/usr/lib/python2.7/site-packages/salt/scripts.py", line 331, in salt_call
client.run()
File "/usr/lib/python2.7/site-packages/salt/cli/call.py", line 53, in run
caller.run()
File "/usr/lib/python2.7/site-packages/salt/cli/caller.py", line 133, in run
ret = self.call()
File "/usr/lib/python2.7/site-packages/salt/cli/caller.py", line 196, in call
ret['return'] = func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/salt/modules/scsi.py", line 36, in ls_
major, minor = majmin.replace('[', '').replace(']', '').split(':')
ValueError: need more than 1 value to unpack
Traceback (most recent call last):
File "/bin/salt-call", line 11, in <module>
salt_call()
File "/usr/lib/python2.7/site-packages/salt/scripts.py", line 331, in salt_call
client.run()
File "/usr/lib/python2.7/site-packages/salt/cli/call.py", line 53, in run
caller.run()
File "/usr/lib/python2.7/site-packages/salt/cli/caller.py", line 133, in run
ret = self.call()
File "/usr/lib/python2.7/site-packages/salt/cli/caller.py", line 196, in call
ret['return'] = func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/salt/modules/scsi.py", line 36, in ls_
major, minor = majmin.replace('[', '').replace(']', '').split(':')
ValueError: need more than 1 value to unpack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment