Auth should allow for fully customized URL's when defining x-Server-Management-Url
Bug #680709 reported by
Sandy Walsh
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-
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-
(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
lp:~gundlach/nova/server-management-url
- Jay Pipes (community): Approve
- Sandy Walsh (community): Approve
-
Diff: 88 lines (+13/-14)3 files modifiednova/api/openstack/auth.py (+11/-11)
nova/tests/api/openstack/fakes.py (+0/-1)
nova/tests/api/openstack/test_auth.py (+2/-2)
Changed in nova: | |
assignee: | nobody → Sandy Walsh (sandy-walsh) |
Changed in nova: | |
status: | New → In Progress |
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 |
Changed in nova: | |
milestone: | none → 2011.1 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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 :)