auth_token middleware always use v2.0 to request admin token

Bug #1207922 reported by Guang Yee
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
keystonemiddleware
Invalid
High
Jamie Lennox

Bug Description

https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/middleware/auth_token.py#L677

It should've keyed off on self.auth_version instead of always using v2.0. This code will break if an instance of Keystone no longer supports v2 API.

Nachiappan (nachiappan)
Changed in keystone:
assignee: nobody → Nachiappan (nachiappan)
affects: keystone → python-keystoneclient
Changed in python-keystoneclient:
status: New → Confirmed
Dolph Mathews (dolph)
Changed in python-keystoneclient:
importance: Undecided → Low
Revision history for this message
Dolph Mathews (dolph) wrote :

Unassigning due to inactivity.

Changed in python-keystoneclient:
assignee: Nachiappan (nachiappan) → nobody
Revision history for this message
Jamie Lennox (jamielennox) wrote :
Changed in python-keystoneclient:
importance: Low → High
Changed in python-keystoneclient:
assignee: nobody → Florent Flament (florent-flament-ext)
Changed in python-keystoneclient:
status: Confirmed → In Progress
Revision history for this message
Dolph Mathews (dolph) wrote :

auth_token development has moved to keystonemiddleware, so any unmerged patches in gerrit will need to be proposed against the new repo. Ping me if you need a hand moving the patch over, thanks!

Changed in keystonemiddleware:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Florent Flament (florent-flament-ext)
no longer affects: python-keystoneclient
Changed in keystonemiddleware:
assignee: Florent Flament (florent-flament-ext) → Jamie Lennox (jamielennox)
Revision history for this message
Jamie Lennox (jamielennox) wrote :

I feel like having auth plugins in keystonemiddleware means the plugin dictates how an admin token is requested and so we can consider this closed.

Changed in keystonemiddleware:
status: Confirmed → Fix Released
Dolph Mathews (dolph)
Changed in keystonemiddleware:
status: Fix Released → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.