← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1360504] Re: tempest.api.identity.admin.v3.test_credentials.CredentialsTestJSON create credential unauthorized

 

I don't see any hits for this in logstash. There is nothing unusual
about this test and it is surrounded by similar tests that pass. So
there must be some issue in keystone that is causing the admin
credentials to be rejected here.

** Changed in: tempest
       Status: New => Invalid

** Also affects: keystone
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1360504

Title:
  tempest.api.identity.admin.v3.test_credentials.CredentialsTestJSON
  create credential unauthorized

Status in OpenStack Identity (Keystone):
  New
Status in Tempest:
  Invalid

Bug description:
  The bug appeared in a gate-tempest-dsvm-neutron-full run:
  https://review.openstack.org/#/c/111147/5

  Full console.log here: http://logs.openstack.org/47/111147/5/gate
  /gate-tempest-dsvm-neutron-full/f21c917/console.html

  Stacktrace:
  2014-08-22 10:49:35.168 | tempest.api.identity.admin.v3.test_credentials.CredentialsTestJSON.test_credentials_create_get_update_delete[gate,smoke]
  2014-08-22 10:49:35.168 | ------------------------------------------------------------------------------------------------------------------------
  2014-08-22 10:49:35.168 | 
  2014-08-22 10:49:35.168 | Captured traceback:
  2014-08-22 10:49:35.168 | ~~~~~~~~~~~~~~~~~~~
  2014-08-22 10:49:35.168 |     Traceback (most recent call last):
  2014-08-22 10:49:35.168 |       File "tempest/api/identity/admin/v3/test_credentials.py", line 62, in test_credentials_create_get_update_delete
  2014-08-22 10:49:35.168 |         self.projects[0])
  2014-08-22 10:49:35.168 |       File "tempest/services/identity/v3/json/credentials_client.py", line 43, in create_credential
  2014-08-22 10:49:35.168 |         resp, body = self.post('credentials', post_body)
  2014-08-22 10:49:35.168 |       File "tempest/common/rest_client.py", line 219, in post
  2014-08-22 10:49:35.169 |         return self.request('POST', url, extra_headers, headers, body)
  2014-08-22 10:49:35.169 |       File "tempest/common/rest_client.py", line 431, in request
  2014-08-22 10:49:35.169 |         resp, resp_body)
  2014-08-22 10:49:35.169 |       File "tempest/common/rest_client.py", line 472, in _error_checker
  2014-08-22 10:49:35.169 |         raise exceptions.Unauthorized(resp_body)
  2014-08-22 10:49:35.169 |     Unauthorized: Unauthorized
  2014-08-22 10:49:35.169 |     Details: {"error": {"message": "The request you have made requires authentication. (Disable debug mode to suppress these details.)", "code": 401, "title": "Unauthorized"}}
  2014-08-22 10:49:35.169 |     
  2014-08-22 10:49:35.169 | 
  2014-08-22 10:49:35.169 | Captured pythonlogging:
  2014-08-22 10:49:35.170 | ~~~~~~~~~~~~~~~~~~~~~~~
  2014-08-22 10:49:35.170 |     2014-08-22 10:31:28,001 5831 INFO     [tempest.common.rest_client] Request (CredentialsTestJSON:test_credentials_create_get_update_delete): 401 POST http://127.0.0.1:35357/v3/credentials 0.065s

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1360504/+subscriptions