Skip to content

Instantly share code, notes, and snippets.

@omgjlk
Created March 17, 2015 21:14
Show Gist options
  • Save omgjlk/a652c59d554450b66385 to your computer and use it in GitHub Desktop.
Save omgjlk/a652c59d554450b66385 to your computer and use it in GitHub Desktop.
tempest traceback
--- stdout ---
Non-zero exit code (2) from test listing.
{u'token': {u'issued_at': u'2015-03-17T21:13:28.877125', u'expires': u'2015-03-18T21:13:28Z', u'id': u'889ec0a81c6d4a5da112b2926f7a4f41', u'audit_ids': [u'd-WyLc6hQx6lL5Q_AyEWoQ']}, u'serviceCatalog': [], u'user': {u'username': u'provider_admin', u'roles_links': [], u'id': u'e3b1371c1dd9499e98c0dca2bad97c68', u'roles': [], u'name': u'provider_admin'}, u'metadata': {u'is_admin': 0, u'roles': []}}
--- import errors ---
Failed to call load_tests:
Traceback (most recent call last):
File "/home/ubuntu/refstack-client/.tempest/.venv/local/lib/python2.7/site-packages/unittest2/loader.py", line 136, in loadTestsFromModule
return load_tests(self, tests, pattern)
File "/home/ubuntu/refstack-client/.tempest/tempest/scenario/utils.py", line 157, in load_tests_input_scenario_utils
scenario_flavor = scenario_utils.scenario_flavors
File "/home/ubuntu/refstack-client/.tempest/tempest/scenario/utils.py", line 137, in scenario_flavors
_, flavors = self.flavors_client.list_flavors()
File "/home/ubuntu/refstack-client/.tempest/tempest/services/compute/json/flavors_client.py", line 41, in list_flavors
resp, body = self.get(url)
File "/home/ubuntu/refstack-client/.tempest/tempest/common/rest_client.py", line 235, in get
return self.request('GET', url, extra_headers, headers)
File "/home/ubuntu/refstack-client/.tempest/tempest/common/rest_client.py", line 421, in request
headers=headers, body=body)
File "/home/ubuntu/refstack-client/.tempest/tempest/common/rest_client.py", line 386, in _request
method, url, headers, body, self.filters)
File "/home/ubuntu/refstack-client/.tempest/tempest/auth.py", line 150, in auth_request
filters, method, url, headers, body)
File "/home/ubuntu/refstack-client/.tempest/tempest/auth.py", line 211, in _decorate_request
auth_data = self.auth_data
File "/home/ubuntu/refstack-client/.tempest/tempest/auth.py", line 103, in auth_data
return self.get_auth()
File "/home/ubuntu/refstack-client/.tempest/tempest/auth.py", line 114, in get_auth
self.set_auth()
File "/home/ubuntu/refstack-client/.tempest/tempest/auth.py", line 123, in set_auth
self._fill_credentials(self.cache[1])
File "/home/ubuntu/refstack-client/.tempest/tempest/auth.py", line 266, 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