Keystone fails negative tests with unauthenticated users
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Confirmed
|
High
|
Unassigned |
Bug Description
Some regression seemed to have been introduced yesterday with all Tempest negative tests for Keystone unauthenticated users.
Eg.
2016-05-04 08:12:02.993 | tempest.
2016-05-04 08:12:02.994 | -------
2016-05-04 08:12:02.994 |
2016-05-04 08:12:02.994 | Captured pythonlogging:
2016-05-04 08:12:02.994 | ~~~~~~~
2016-05-04 08:12:02.994 | 2016-05-04 08:01:51,024 20000 INFO [tempest.
2016-05-04 08:12:02.994 | 2016-05-04 08:01:51,024 20000 DEBUG [tempest.
2016-05-04 08:12:02.994 | Body: {"tenant": {"name": "tempest-
2016-05-04 08:12:02.995 | Response - Headers: {'content-type': 'application/json', 'content-location': 'http://
2016-05-04 08:12:02.995 | Body: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}
2016-05-04 08:12:02.995 |
2016-05-04 08:12:02.995 |
2016-05-04 08:12:02.995 | Captured traceback:
2016-05-04 08:12:02.995 | ~~~~~~~~~~~~~~~~~~~
2016-05-04 08:12:02.996 | Traceback (most recent call last):
2016-05-04 08:12:02.996 | File "tempest/
2016-05-04 08:12:02.996 | (user, tenant, role) = self._get_
2016-05-04 08:12:02.996 | File "tempest/
2016-05-04 08:12:02.996 | self.data.
2016-05-04 08:12:02.996 | File "tempest/
2016-05-04 08:12:02.996 | self.setup_
2016-05-04 08:12:02.997 | File "tempest/
2016-05-04 08:12:02.997 | description=
2016-05-04 08:12:02.997 | File "tempest/
2016-05-04 08:12:02.997 | resp, body = self.post(
2016-05-04 08:12:02.997 | File "tempest/
2016-05-04 08:12:02.997 | return self.request(
2016-05-04 08:12:02.998 | File "tempest/
2016-05-04 08:12:02.998 | resp, resp_body)
2016-05-04 08:12:02.998 | File "tempest/
2016-05-04 08:12:02.998 | raise exceptions.
2016-05-04 08:12:02.998 | tempest.
2016-05-04 08:12:02.998 | Details: {u'title': u'Unauthorized', u'message': u'The request you have made requires authentication.', u'code': 401}
2016-05-04 08:12:02.998 |
http://
That impacts a lot of projects co-gating like Nova.
http://
This started in the gate around 4/29 which is when devstack was changed to use fernet tokens by default:
https:/ /github. com/openstack- dev/devstack/ commit/ 5b83e986de80cff b26ac7171214585 45c78d6245