test_authentication_for_disabled_user ERROR
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
High
|
Jay Pipes |
Bug Description
On all recent builds, getting this:
22:26:47 =======
22:26:47 ERROR: Disabled user's token should not get authenticated
22:26:47 -------
22:26:47 Traceback (most recent call last):
22:26:47 File "/opt/stack/
22:26:47 self.disable_
22:26:47 File "/opt/stack/
22:26:47 self.client.
22:26:47 File "/opt/stack/
22:26:47 put_body, self.headers)
22:26:47 File "/opt/stack/
22:26:47 return self.request('PUT', url, headers, body)
22:26:47 File "/opt/stack/
22:26:47 message = resp_body[
22:26:47 KeyError: '\'computeFault
Probably due to some recent change in Keystone...
Changed in tempest: | |
assignee: | nobody → Jay Pipes (jaypipes) |
Changed in tempest: | |
status: | Confirmed → In Progress |
Changed in tempest: | |
status: | Fix Committed → Fix Released |
Changed in tempest: | |
milestone: | none → havana-3 |
So, there's a couple things going on here:
1) The KeyError is masking incorrectly the error. Instead of looking for 'computeFault', Keystone is returning 'error' and 'message'.
2) The call to disable the user is failing.