Auth should allow for fully customized URL's when defining x-Server-Management-Url

Bug #680709 reported by Sandy Walsh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Michael Gundlach

Bug Description

Currently Nova Auth fabricates x-Server-Management-Url from auth.py/_get_server_mgmt_url(), which is essentially a mash up of the hostname.

However, in development environments, the hostname may not be correct, we may not be using https or a specific port may need to be specified.

There should be a flag for defining what will be returned in x-Server-Management-Url.

(User facing Endpoint management is a larger issue which should be addressed in general, but this is a tactical problem for dealing with tools like python-cloudserver)

Related branches

Changed in nova:
assignee: nobody → Sandy Walsh (sandy-walsh)
Changed in nova:
status: New → In Progress
Revision history for this message
Michael Gundlach (gundlach) wrote :

Since the auth url is the same as the server management url in OpenStack, i think x-server-management-url should just return the same URL as the auth request came in on, e.g. http://ip:8774/v1.0.

I've made a branch doing that and will mergeprop it, and ask for your (sandywalsh's) review in case you don't like my approach :)

Revision history for this message
Michael Gundlach (gundlach) wrote :
Changed in nova:
assignee: Sandy Walsh (sandy-walsh) → Michael Gundlach (gundlach)
Changed in nova:
status: In Progress → Fix Released
Changed in nova:
status: Fix Released → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → 2011.1
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.