Auth_token middleware should cope with no response from "Get versions"

Bug #1154072 reported by Henry Nash
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-keystoneclient
Invalid
Wishlist
Unassigned

Bug Description

The new auth_token supports both v2 and v3 api versions. In order to ascertain which version to use, it queries the server for a list of supported versions (and then chooses the highest compatible version). Some installations might block such a query of supported versions, so if such a call fails, auth_token should attempt to use the lowest version it understands. It is already possible to force auth_token to use a specific version (by setting auth_version), so the combination of these two approaches should cover most, if not all, eventualities

Henry Nash (henry-nash)
summary: - Auth_token middleware should copy with no response from "Get versions"
+ Auth_token middleware should cope with no response from "Get versions"
Henry Nash (henry-nash)
Changed in keystone:
importance: Medium → Wishlist
assignee: Henry Nash (henry-nash) → nobody
Dolph Mathews (dolph)
affects: keystone → python-keystoneclient
Changed in python-keystoneclient:
status: New → Triaged
Revision history for this message
Steve Martinelli (stevemar) wrote :

this is now done in keystonemiddleware and we fall back to both v2 and v3 auth strategy if none is supplied:

https://github.com/openstack/keystonemiddleware/blob/7af5a510a07e4e7a719addb9b000d977f423e94e/keystonemiddleware/auth_token/_identity.py#L184-L192

marking as invalid

Changed in python-keystoneclient:
status: Triaged → 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.