auth_token middleware hard coded to check for version 3.0

Bug #1383853 reported by Adam Young on 2014-10-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
keystonemiddleware
Medium
wanghong

Bug Description

Will not respect a micro version if sent.

Adam Young (ayoung) wrote :

http://git.openstack.org/cgit/openstack/keystonemiddleware/tree/keystonemiddleware/auth_token.py#n1494

Does a straight string check, needs to have logic:

 version >= supported && version < floor(supported +1)

Changed in keystonemiddleware:
status: New → Triaged
importance: Undecided → High
importance: High → Medium
wanghong (w-wanghong) on 2014-10-23
Changed in keystonemiddleware:
assignee: nobody → wanghong (w-wanghong)

Fix proposed to branch: master
Review: https://review.openstack.org/130916

Changed in keystonemiddleware:
status: Triaged → In Progress

Reviewed: https://review.openstack.org/130916
Committed: https://git.openstack.org/cgit/openstack/keystonemiddleware/commit/?id=4e20760a6f55e4360dd2616c5738abec2774a198
Submitter: Jenkins
Branch: master

commit 4e20760a6f55e4360dd2616c5738abec2774a198
Author: wanghong <email address hidden>
Date: Sat Oct 25 10:09:40 2014 +0800

    support micro version if sent

    Don't hard code the check for version 3.0, support micro version such
    as v3.1, v3.1.1, v3.2 etc...

    Change-Id: I7b249fc71894caafaf847bcfbb0c02907a740e6e
    Closes-Bug: #1383853

Changed in keystonemiddleware:
status: In Progress → Fix Committed
Changed in keystonemiddleware:
milestone: none → 1.4.0
Changed in keystonemiddleware:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers