Version Discovery Hack causing unexpected catalog endpoint results

Bug #1372190 reported by Morgan Fainberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
keystonemiddleware
Fix Released
Medium
Brant Knudson
python-keystoneclient
Invalid
Undecided
Unassigned

Bug Description

The code provided for bug 1335726 appears to have broken the keystonemiddleware tests and is resulting in a v2.0 endpoint being returned when a v3 endpoint is being requested.

Changed in python-keystoneclient:
assignee: nobody → Morgan Fainberg (mdrnstm)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystonemiddleware (master)

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

Changed in keystonemiddleware:
assignee: nobody → Brant Knudson (blk-u)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-keystoneclient (master)

Change abandoned by Morgan Fainberg (<email address hidden>) on branch: master
Review: https://review.openstack.org/123019
Reason: Fixed by https://review.openstack.org/#/c/123021/

Changed in python-keystoneclient:
status: In Progress → Invalid
assignee: Morgan Fainberg (mdrnstm) → nobody
Changed in keystonemiddleware:
importance: Undecided → Medium
milestone: none → 1.2.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystonemiddleware (master)

Reviewed: https://review.openstack.org/123021
Committed: https://git.openstack.org/cgit/openstack/keystonemiddleware/commit/?id=1f8b4fe4432c7725ed3ac630ab07990ff9a48d17
Submitter: Jenkins
Branch: master

commit 1f8b4fe4432c7725ed3ac630ab07990ff9a48d17
Author: Brant Knudson <email address hidden>
Date: Sun Sep 21 17:22:04 2014 -0500

    Fix test failure after discovery hack

    With the discovery hack, the test_auth_plugin is now trying to
    query the unversioned endpoint from the catalog to discover what
    versions it supports. Since that URL wasn't stubbed out with
    httpretty it was causing a failure and then a different URL than
    expected was returned by the plugin.

    This change registers the discovery URL that's in the test token
    so that fetching it doesn't fail but returns a normal version
    response.

    Related-Bug: #1335726
    Closes-Bug: #1372190
    Change-Id: I1ae41801ed44ec6a37d972f62fc853dfd609128f

Changed in keystonemiddleware:
status: In Progress → Fix Committed
Dolph Mathews (dolph)
Changed in keystonemiddleware:
status: Fix Committed → Fix Released
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.