Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jahkeup
Created August 24, 2013 16:41
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 jahkeup/56287405713540637985 to your computer and use it in GitHub Desktop.
Save jahkeup/56287405713540637985 to your computer and use it in GitHub Desktop.
root@precise64:/etc/salt# salt-call keystone.tenant_get service
Traceback (most recent call last):
File "/usr/bin/salt-call", line 11, in <module>
salt_call()
File "/usr/lib/pymodules/python2.7/salt/scripts.py", line 76, in salt_call
client.run()
File "/usr/lib/pymodules/python2.7/salt/cli/__init__.py", line 265, in run
caller.run()
File "/usr/lib/pymodules/python2.7/salt/cli/caller.py", line 132, in run
ret = self.call()
File "/usr/lib/pymodules/python2.7/salt/cli/caller.py", line 73, in call
ret['return'] = func(*args, **kwargs)
File "/usr/lib/pymodules/python2.7/salt/modules/keystone.py", line 275, in tenant_get
kstone = auth()
File "/usr/lib/pymodules/python2.7/salt/modules/keystone.py", line 47, in auth
user = __salt__['config.option']('keystone.user')
NameError: global name '__salt__' is not defined
root@precise64:/etc/salt#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment