Invalid auth response throws KeyError
Bug #1307306 reported by
Jamie Lennox
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-keystoneclient |
Fix Released
|
Medium
|
Jamie Lennox |
Bug Description
If you get back completely incorrect data from an auth request (v2 or v3) then when it tries to decode the body the data is invalid and it cannot find the auth information. eg.
access.
fails either because the response isn't json or it doesn't have an access key.
This is something i thought would be well covered because it is not a situation unique to auth, however i can't find an appropriate error to raise in keystoneclient or novaclient.
Changed in python-keystoneclient: | |
assignee: | nobody → Jamie Lennox (jamielennox) |
status: | New → In Progress |
Changed in python-keystoneclient: | |
milestone: | none → 0.9.0 |
Changed in python-keystoneclient: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Note, that it's definitely an error case, the bug is that it shouldn't be simply a KeyError/TypeError