Extra slash on certain auth requests

Bug #882742 reported by Alex Meade
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Alex Meade
Diablo
Fix Released
Undecided
Unassigned

Bug Description

When performing an auth request with a trailing slash, the x-server-management-url contains a '//' before the project id.

curl -H "X-Auth-Key: admin:admin" -H "X-Auth-User: admin" -H "X-Auth-Project-Id: admin" http://localhost:8774/v1.1/ -v
X-Server-Management-Url: http://localhost:8774/v1.1//admin

curl -H "X-Auth-Key: admin:admin" -H "X-Auth-User: admin" -H "X-Auth-Project-Id: admin" http://localhost:8774/v1.1 -v
X-Server-Management-Url: http://localhost:8774/v1.1/admin

http://paste.openstack.org/show/2938/

Alex Meade (alex-meade)
Changed in nova:
assignee: nobody → Alex Meade (alex-meade)
status: New → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/1147
Committed: http://github.com/openstack/nova/commit/566f564a60fc5309441d6624fc70389ffc28773f
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit 566f564a60fc5309441d6624fc70389ffc28773f
Author: Alex Meade <email address hidden>
Date: Fri Oct 28 12:32:47 2011 -0400

    Updated NoAuth to account for requests ending in /

    Fixes bug 882742

    Change-Id: I19d527c5d16f73de2841e9d69872da6979f71886

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to nova (stable/diablo)

Reviewed: https://review.openstack.org/1662
Committed: http://github.com/openstack/nova/commit/2aa5bb969256b5a447b37704d9a2076f2c5bf48d
Submitter: Jenkins
Branch: stable/diablo

 tag in-stable-diablo
 done

commit 2aa5bb969256b5a447b37704d9a2076f2c5bf48d
Author: Alex Meade <email address hidden>
Date: Fri Oct 28 12:32:47 2011 -0400

    Updated NoAuth to account for requests ending in /

    Fixes bug 882742

    (cherry picked from commit 566f564a60fc5309441d6624fc70389ffc28773f)

    Change-Id: I19d527c5d16f73de2841e9d69872da6979f71886

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Alex, or anyone else affected,

Accepted nova into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-1 → 2012.1
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.