Can I have multiple OpenStack deployments under a single domain?

asked 2013-05-13 11:41:15 -0500

scott-devoid gravatar image

updated 2013-05-13 13:46:57 -0500

I am currently running a production Essex deployment and preparing a Grizzly deployment for beta usage. All of the API endpoints for the Essex deployment are reverse-proxied behind an Nginx host that handles SSL and holds the domain certificate.

I'd like to add the Grizzly deployment under the same domain, with the following edpoint mappings:   # keystone, essex release # keystone, grizzly release      # glance, essex    # glance, grizzly
# etc. ...

The issue here is setting the API endpoint to something other than /v2.0 for each service. This looks to be doable through the (pythonpaste) composite settings, e.g. for Keystone:

# /etc/keystone/keystone.conf
use = egg:Paste#urlmap
/grizzly/v2.0 = admin_api
/grizzly/ = admin_version_api

However some services don't handle this well. Glance doesn't like this at all. Specifically the glance.api.middleware.version_negotiation and glance.api.versions classes are not aware of the pythonpaste settings. Additionally, the Versions class reports URIs back that don't take the middleware configuraiton into account.

So my questions:

  1. Is there a good way of organizing multiple OpenStack deployments under a single reverse proxy?
  2. Is the PythonPaste "composite" class the correct way to do this? Should I be editing these settings?
  3. If #2, how can we fix the aformentioned Glance classes?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-05-14 15:40:37 -0500

markwash gravatar image

updated 2013-05-14 15:40:58 -0500

I don't have an answer to #1, unfortunately. But in answer to #2, no, it is not intended for folks to edit the settings in the paste deploy config. You can, but its not something we want you to do.

For #3, there may still be a bug if the version negotiation middleware in glance is not correctly consuming the url.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-05-13 11:41:15 -0500

Seen: 229 times

Last updated: May 14 '13