yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #45505
[Bug 1538572] Re: Neutron api test fails with raise TypeError("Invalid credentials")
Fixed with https://review.openstack.org/#/c/263400/.
** Changed in: neutron
Status: New => Fix Released
** Changed in: neutron
Assignee: (unassigned) => Assaf Muller (amuller)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1538572
Title:
Neutron api test fails with raise TypeError("Invalid credentials")
Status in neutron:
Fix Released
Bug description:
Neutron api test case fails with below error
2016-01-27 14:16:18.979 8049 WARNING oslo_config.cfg [-] Option "allow_tenant_isolation" from group "compute" is deprecated. Use option "allow_tenant_isolation" from group "auth".
v2
http://10.11.6.32:5000/v2.0/
{'username': None, 'tenant_name': None, 'password': None, 'user_id': None, 'tenant_id': None}
======================================================================
ERROR: test suite for <class 'neutron.tests.api.test_networks.NetworksTestJSON'>
----------------------------------------------------------------------
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 "/opt/stack/neutron/neutron/tests/tempest/test.py", line 260, in setUpClass
cls.resource_setup()
File "/opt/stack/neutron/neutron/tests/api/test_networks.py", line 65, in resource_setup
super(NetworksTestJSON, cls).resource_setup()
File "/opt/stack/neutron/neutron/tests/api/base.py", line 65, in resource_setup
os = cls.get_client_manager()
File "/opt/stack/neutron/neutron/tests/tempest/test.py", line 391, in get_client_manager
force_tenant_isolation=force_tenant_isolation,
File "/opt/stack/neutron/neutron/tests/tempest/common/credentials.py", line 37, in get_isolated_credentials
network_resources=network_resources)
File "/opt/stack/neutron/neutron/tests/tempest/common/isolated_creds.py", line 39, in __init__
self._get_admin_clients())
File "/opt/stack/neutron/neutron/tests/tempest/common/isolated_creds.py", line 48, in _get_admin_clients
os = clients.AdminManager()
File "/opt/stack/neutron/neutron/tests/api/clients.py", line 115, in __init__
'identity_admin'),
File "/opt/stack/neutron/neutron/tests/tempest/common/cred_provider.py", line 64, in get_configured_credentials
credentials = get_credentials(fill_in=fill_in, **params)
File "/opt/stack/neutron/neutron/tests/tempest/common/cred_provider.py", line 93, in get_credentials
**params)
File "/opt/stack/neutron/neutron/tests/tempest/auth.py", line 489, in get_credentials
ca_certs=ca_certs, trace_requests=trace_requests)
File "/opt/stack/neutron/neutron/tests/tempest/auth.py", line 188, in __init__
super(KeystoneAuthProvider, self).__init__(credentials)
File "/opt/stack/neutron/neutron/tests/tempest/auth.py", line 42, in __init__
raise TypeError("Invalid credentials")
TypeError: Invalid credentials
----------------------------------------------------------------------
Ran 0 tests in 0.016s
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1538572/+subscriptions