Default region for the service endpoints is different for docs and Packstack/DevStack

Bug #1369329 reported by Benjamin Lipp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Opinion
Undecided
Matt Kassawara

Bug Description

I encountered this issue while setting up Trove following the documentation
http://docs.openstack.org/icehouse/install-guide/install/yum/content/trove-install.html
on an OpenStack Icehouse set up with Packstack on Scientific Linux 6.5. After a quick look at the docs for other services, like Glance, http://docs.openstack.org/icehouse/install-guide/install/yum/content/glance-install.html
I think all chapters on service installation are affected by this issue (if it's valid).

The issue: When creating the endpoint with the following command, which is the one from the documentation:

$ keystone endpoint-create \
  --service-id=$(keystone service-list | awk '/ trove / {print $2}') \
  --publicurl=http://controller:8779/v1.0/%\(tenant_id\)s \
  --internalurl=http://controller:8779/v1.0/%\(tenant_id\)s \
  --adminurl=http://controller:8779/v1.0/%\(tenant_id\)s

the endpoint is created in the region "regionOne", which is the default region used by python-keystoneclient, see https://github.com/openstack/python-keystoneclient/blob/181a46624512741f7567fe43cccd545f245d975f/keystoneclient/v2_0/shell.py#L508

However, Packstack uses "RegionOne" with upper case R as default region. As a result, I have two regions in my setup, the region "regionOne" being so incomplete that choosing it in the Dashboard produces error messages, in any case, this is not what the user wants.

Adding " --region RegionOne" to this keystone call worked for me.

Now the question is, if this should be addressed in this official OpenStack documentation, or if this is so deeply connected to Packstack that it is out of scope for this documentation. DevStack seems to use "RegionOne" as well, see https://github.com/openstack-dev/devstack/search?utf8=%E2%9C%93&q=regionone

Trove's manual install guide http://docs.openstack.org/developer/trove/dev/manual_install.html#prepare-openstack uses " --region RegionOne" as well.

-----------------------------------
Built: 2014-09-14T01:10:34 00:00
git SHA: c6068a83daca6ef27d25586b08b3eb469d1c04aa
URL: http://docs.openstack.org/icehouse/install-guide/install/yum/content/trove-install.html
source File: file:/home/jenkins/workspace/openstack-manuals-tox-doc-publishdocs/doc/install-guide/section_trove-install.xml
xml:id: trove-install

Benjamin Lipp (blipp)
description: updated
Revision history for this message
Matt Kassawara (ionosphere80) wrote :

In the installation guide, optional services such as trove assume your environment either uses the configuration for core services defined in the guide or that you can modify the instructions for your environment. The installation guide will explicitly configure "regionOne" for the region in the Juno version.

Changed in openstack-manuals:
status: New → Opinion
assignee: nobody → Matt Kassawara (ionosphere80)
Revision history for this message
Benjamin Lipp (blipp) wrote :

You mean explicitly add " -- region regionOne" to all the
    keystone endpoint-create …
commands? That would be fine for me and enough to recognize that I should look what the region is in my setup.

Revision history for this message
Matt Kassawara (ionosphere80) wrote :

Yes.

Revision history for this message
Benjamin Lipp (blipp) wrote :

Great, thanks.

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.