Created
January 22, 2016 22:05
-
-
Save heaje/4fef27a82108a96117d7 to your computer and use it in GitHub Desktop.
salt scsi.ls error on CentOS 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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