how to fix auth.py error [closed]

asked 2014-10-26 21:33:36 -0600

rsiva gravatar image

Hi I am using python 2.7 and running into auth.py error, am I missing some configuration, (.venv)jstack:~/tempest_test/tempest$ nosetests -vx tempest.api.identity.admin.v3.test_users.py ERROR

======================================================================

ERROR: test suite for <class 'tempest.api.identity.admin.v3.test_users.usersv3testjson'="">

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 208, in run self.setUp() File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 291, in setUp self.setupContext(ancestor) File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 314, in setupContext try_run(context, names) File "/usr/lib/python2.7/dist-packages/nose/util.py", line 471, in try_run return func() File "/home/jstack/tempest_test/tempest/tempest/test.py", line 264, in setUpClass cls.resource_setup() File "/home/jstack/tempest_test/tempest/tempest/api/identity/base.py", line 98, in resource_setup super(BaseIdentityV3AdminTest, cls).resource_setup() File "/home/jstack/tempest_test/tempest/tempest/api/identity/base.py", line 34, in resource_setup cls.os_adm = clients.AdminManager(interface=cls._interface) File "/home/jstack/tempest_test/tempest/tempest/clients.py", line 469, in __init__ credentials=auth.get_default_credentials('identity_admin'), File "/home/jstack/tempest_test/tempest/tempest/auth.py", line 457, in get_default_credentials return get_credentials(fill_in=fill_in, credential_type=credential_type) File "/home/jstack/tempest_test/tempest/tempest/auth.py", line 487, in get_credentials creds = credential_class.get_default(credential_type) File "/home/jstack/tempest_test/tempest/tempest/auth.py", line 573, in get_default raise exceptions.InvalidConfiguration() InvalidConfiguration: Invalid Configuration Details: Invalid Configuration -------------------- >> begin captured logging << -------------------- tempest.api.identity: DEBUG: Entering tempest.api.identity.setup_package --------------------- >> end captured logging << ---------------------


Ran 0 tests in 0.015s

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by mpetason
close date 2014-10-27 11:15:34.067352