Created
October 7, 2013 10:51
-
-
Save valentinbud/6865962 to your computer and use it in GitHub Desktop.
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
# salt-call -l debug lxc.create lxc02 template=debian-wheezy backing=lvm vgname=vg0 size=2G | |
[ERROR ] An un-handled exception was caught by salt's global exception handler: | |
TypeError: list indices must be integers, not str | |
Traceback (most recent call last): | |
File "/usr/bin/salt-call", line 11, in <module> | |
salt_call() | |
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 77, in salt_call | |
client.run() | |
File "/usr/lib/python2.7/dist-packages/salt/cli/__init__.py", line 303, in run | |
caller.run() | |
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 137, in run | |
ret = self.call() | |
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 78, in call | |
ret['return'] = func(*args, **kwargs) | |
File "/usr/lib/python2.7/dist-packages/salt/modules/lxc.py", line 189, in create | |
if exists(name): | |
File "/usr/lib/python2.7/dist-packages/salt/modules/lxc.py", line 346, in exists | |
return name in (l['running'] + l['stopped'] + l['frozen']) | |
TypeError: list indices must be integers, not str | |
TypeError: list indices must be integers, not str | |
Traceback (most recent call last): | |
File "/usr/bin/salt-call", line 11, in <module> | |
salt_call() | |
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 77, in salt_call | |
client.run() | |
File "/usr/lib/python2.7/dist-packages/salt/cli/__init__.py", line 303, in run | |
caller.run() | |
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 137, in run | |
ret = self.call() | |
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 78, in call | |
ret['return'] = func(*args, **kwargs) | |
File "/usr/lib/python2.7/dist-packages/salt/modules/lxc.py", line 189, in create | |
if exists(name): | |
File "/usr/lib/python2.7/dist-packages/salt/modules/lxc.py", line 346, in exists | |
return name in (l['running'] + l['stopped'] + l['frozen']) | |
TypeError: list indices must be integers, not str |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment