termie / nova-migration-demo

Nova is a cloud computing fabric controller (the main part of an IaaS system). It is written in Python.
http://openstack.org/projects/compute/
Apache License 2.0
2 stars 0 forks source link

OpenStack API returning blank endpoints #564

Open termie opened 13 years ago

termie commented 13 years ago

When you auth with the OS API, you get endpoints back in the headers, such as X-Server-Management-Url. If an endpoint doesn't exist you still get it, such as a blank X-Storage-Url and X-Cdn-Management-Url


Imported from Launchpad using lp2gh.

termie commented 13 years ago

(by ttx) What does the published API say about that ?

termie commented 13 years ago

(by mike-mayo) Good question. I looked over the spec and couldn't find anything about this topic.

So I'm proposing we change the default behavior to only return an endpoint header if it actually exists. Or at the very least, document that you may get a blank one back. That said, I think not returning the header at all is smarter since I imagine some people will want to run OpenStack for only a subset of services, which could one day mean some people are looking at a lot of blank headers.

termie commented 13 years ago

(by ttx) A bit concerned about changing this behavior after FeatureFreeze, but I guess letting a release pass without deciding might not be better.