grenade in the gate: test_account_services - alt_demo not found

Bug #1193378 reported by Adalberto Medeiros
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Invalid
Undecided
Unassigned

Bug Description

Error when running tempest after upgrade with grenade (could not reproduce, only seen in the gate)

https://jenkins.openstack.org/job/gate-grenade-devstack-vm/12058/consoleFull

2013-06-21 13:32:01.434 | ======================================================================
2013-06-21 13:32:01.434 | ERROR: test suite for <class 'tempest.api.object_storage.test_account_services.AccountTest'>
2013-06-21 13:32:01.434 | ----------------------------------------------------------------------
2013-06-21 13:32:01.434 | Traceback (most recent call last):
2013-06-21 13:32:01.434 | File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 208, in run
2013-06-21 13:32:01.434 | self.setUp()
2013-06-21 13:32:01.434 | File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 291, in setUp
2013-06-21 13:32:01.434 | self.setupContext(ancestor)
2013-06-21 13:32:01.434 | File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 314, in setupContext
2013-06-21 13:32:01.434 | try_run(context, names)
2013-06-21 13:32:01.434 | File "/usr/lib/python2.7/dist-packages/nose/util.py", line 478, in try_run
2013-06-21 13:32:01.434 | return func()
2013-06-21 13:32:01.434 | File "/opt/stack/new/tempest/tempest/api/object_storage/test_account_services.py", line 27, in setUpClass
2013-06-21 13:32:01.435 | super(AccountTest, cls).setUpClass()
2013-06-21 13:32:01.435 | File "/opt/stack/new/tempest/tempest/api/object_storage/base.py", line 38, in setUpClass
2013-06-21 13:32:01.435 | cls.os_alt = clients.AltManager()
2013-06-21 13:32:01.435 | File "/opt/stack/new/tempest/tempest/clients.py", line 358, in __init__
2013-06-21 13:32:01.435 | conf.identity.alt_tenant_name)
2013-06-21 13:32:01.435 | File "/opt/stack/new/tempest/tempest/clients.py", line 335, in __init__
2013-06-21 13:32:01.435 | self.image_client = ImageClientJSON(*client_args)
2013-06-21 13:32:01.435 | File "/opt/stack/new/tempest/tempest/services/image/v1/json/image_client.py", line 39, in __init__
2013-06-21 13:32:01.435 | self.http = self._get_http()
2013-06-21 13:32:01.435 | File "/opt/stack/new/tempest/tempest/services/image/v1/json/image_client.py", line 111, in _get_http
2013-06-21 13:32:01.435 | self.tenant_name)
2013-06-21 13:32:01.435 | File "/opt/stack/new/tempest/tempest/common/rest_client.py", line 169, in keystone_auth
2013-06-21 13:32:01.435 | password=password)
2013-06-21 13:32:01.435 | AuthenticationFailure: Authentication with user %(user)s and password %(password)s failed
2013-06-21 13:32:01.435 | Details: Authentication with user alt_demo and password secret failed
2013-06-21 13:32:01.436 | -------------------- >> begin captured logging << --------------------
 ...
2013-06-21 13:32:01.449 | tempest.common.rest_client: INFO: Request: POST http://127.0.0.1:5000/v2.0/tokens
2013-06-21 13:32:01.449 | tempest.common.rest_client: DEBUG: Request Headers: {'Content-Type': 'application/json'}
2013-06-21 13:32:01.449 | tempest.common.rest_client: DEBUG: Request Body: {"auth": {"tenantName": "alt_demo", "passwordCredentials": {"username": "alt_demo", "password": "secret"}}}
2013-06-21 13:32:01.449 | tempest.common.rest_client: INFO: Response Status: 401
2013-06-21 13:32:01.449 | tempest.common.rest_client: DEBUG: Response Headers: {'date': 'Fri, 21 Jun 2013 13:30:55 GMT', 'content-length': '94', 'vary': 'X-Auth-Token', 'content-type': 'application/json'}
2013-06-21 13:32:01.449 | tempest.common.rest_client: DEBUG: Response Body: {"error": {"message": "Could not find user, alt_demo.", "code": 401, "title": "Unauthorized"}}
2013-06-21 13:32:01.449 | tempest.common.rest_client: INFO: Request: POST http://127.0.0.1:5000/v2.0/tokens
2013-06-21 13:32:01.449 | tempest.common.rest_client: DEBUG: Request Headers: {'Content-Type': 'application/json'}
2013-06-21 13:32:01.449 | tempest.common.rest_client: DEBUG: Request Body: {"auth": {"tenantName": "demo", "passwordCredentials": {"username": "demo", "password": "secret"}}}
2013-06-21 13:32:01.449 | tempest.common.rest_client: INFO: Response Status: 200

Changed in tempest:
status: New → Confirmed
Revision history for this message
Adalberto Medeiros (adalbas) wrote :

Configuration issue found. Fixed.

Changed in tempest:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.