2014-09-13 16:10:53 |
Benjamin Lipp |
description |
After following the Trove installation guide for Red Hat based distributions, http://docs.openstack.org/icehouse/install-guide/install/yum/content/trove-install.html , any Trove command, like for example `trove list` or `trove datastore-list` results in "Unauthorized".
I got it working with the following setup. Set up everything like in the documentation, but add another config section [keystone_authtoken] to all Trove config files like shown in the following Bash code:
for config_file in api-paste.ini trove.conf trove-taskmanager.conf trove-conductor.conf trove-guestagent.conf; do
openstack-config --set /etc/trove/$config_file keystone_authtoken auth_uri http://controller:35357/
openstack-config --set /etc/trove/$config_file keystone_authtoken identity_uri http://controller:35357/
openstack-config --set /etc/trove/$config_file keystone_authtoken admin_password ADMIN_PASS
openstack-config --set /etc/trove/$config_file keystone_authtoken admin_user trove
openstack-config --set /etc/trove/$config_file keystone_authtoken admin_tenant_name service
done
Thus, I suggest adding this configuration section to the documentation. I think the other guides like the one for apt has the same issue.
Further notes:
* I don't know if the [filter:authtoken] section which currently is in the docs, is needed. If not, this could be replaced.
* I don't know and could not test if this new config section is needed for the guestagent
For the sake of completeness: I originally posted this as a question on https://ask.openstack.org/en/question/45818/trove-trove-list-results-in-error-unauthorized-http-401/
-----------------------------------
Built: 2014-09-12T08:12:17 00:00
git SHA: 338656e5f295d6e69544340461e0d0059f15c97b
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 |
After following the Trove installation guide for Red Hat based distributions, http://docs.openstack.org/icehouse/install-guide/install/yum/content/trove-install.html , any Trove command, like for example `trove list` or `trove datastore-list` results in "Unauthorized".
I got it working with the following setup. Set up everything like in the documentation, but add another config section [keystone_authtoken] to all Trove config files like shown in the following Bash code:
for config_file in api-paste.ini trove.conf trove-taskmanager.conf trove-conductor.conf trove-guestagent.conf; do
openstack-config --set /etc/trove/$config_file \
keystone_authtoken auth_uri http://controller:35357/
openstack-config --set /etc/trove/$config_file \
keystone_authtoken identity_uri http://controller:35357/
openstack-config --set /etc/trove/$config_file \
keystone_authtoken admin_password ADMIN_PASS
openstack-config --set /etc/trove/$config_file \
keystone_authtoken admin_user trove
openstack-config --set /etc/trove/$config_file \
keystone_authtoken admin_tenant_name service
done
Thus, I suggest adding this configuration section to the documentation. I think the other guides like the one for apt has the same issue.
Further notes:
* I don't know if the [filter:authtoken] section which currently is in the docs, is needed. If not, this could be replaced.
* I don't know and could not test if this new config section is needed for the guestagent
For the sake of completeness: I originally posted this as a question on https://ask.openstack.org/en/question/45818/trove-trove-list-results-in-error-unauthorized-http-401/
-----------------------------------
Built: 2014-09-12T08:12:17 00:00
git SHA: 338656e5f295d6e69544340461e0d0059f15c97b
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 |
|