2014-09-14 21:32:47 |
Benjamin Lipp |
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
-----------------------------------
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 |
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 |
|