Skip to content

Instantly share code, notes, and snippets.

@omgjlk
Created March 18, 2015 17:55
Show Gist options
  • Select an option

  • Save omgjlk/d1a32fb16d3503c34439 to your computer and use it in GitHub Desktop.

Select an option

Save omgjlk/d1a32fb16d3503c34439 to your computer and use it in GitHub Desktop.
tempest credential traceback
test: setUpClass (tempest.api.identity.admin.v2.test_roles.RolesTestJSON)
time: 2015-03-18 17:17:28.779210Z
failure: setUpClass (tempest.api.identity.admin.v2.test_roles.RolesTestJSON) [ m
ultipart
Content-Type: text/x-traceback;charset="utf8",language="python"
traceback
614
Traceback (most recent call last):
File "/home/ubuntu/refstack-client/.tempest/tempest/test.py", line 255, in set
UpClass
cls.setup_credentials()
File "/home/ubuntu/refstack-client/.tempest/tempest/api/identity/base.py", lin
e 35, in setup_credentials
cls.os = clients.Manager()
File "/home/ubuntu/refstack-client/.tempest/tempest/clients.py", line 164, in
__init__
super(Manager, self).__init__(credentials=credentials)
File "/home/ubuntu/refstack-client/.tempest/tempest/manager.py", line 43, in _
_init__
self.credentials = cred_provider.get_configured_credentials('user')
File "/home/ubuntu/refstack-client/.tempest/tempest/common/cred_provider.py",
line 66, in get_configured_credentials
credentials = get_credentials(fill_in=fill_in, **params)
File "/home/ubuntu/refstack-client/.tempest/tempest/common/cred_provider.py",
line 93, in get_credentials
**params)
File "/home/ubuntu/refstack-client/.tempest/tempest/auth.py", line 491, in get
_credentials
creds = auth_provider.fill_credentials()
File "/home/ubuntu/refstack-client/.tempest/tempest/auth.py", line 75, in fill_credentials
auth_data = self.get_auth()
File "/home/ubuntu/refstack-client/.tempest/tempest/auth.py", line 99, in get_auth
self.set_auth()
File "/home/ubuntu/refstack-client/.tempest/tempest/auth.py", line 108, in set_auth
self._fill_credentials(self.cache[1])
File "/home/ubuntu/refstack-client/.tempest/tempest/auth.py", line 257, in _fill_credentials
tenant = auth_data_body['token']['tenant']
KeyError: 'tenant'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment