Setting up Trove: Missing Configuration for Keystone Credentials

Bug #1369116 reported by Benjamin Lipp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Won't Fix
Medium
khomkrit viangvises

Bug 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

Benjamin Lipp (blipp)
description: updated
Revision history for this message
Tom Fifield (fifieldt) wrote :

Thanks for the report and the fix Benjamin!

Changed in openstack-manuals:
milestone: none → juno
status: New → Confirmed
importance: Undecided → Medium
tags: added: install-guide
Darren Chan (dazzachan)
Changed in openstack-manuals:
assignee: nobody → Darren Chan (dazzachan)
Darren Chan (dazzachan)
Changed in openstack-manuals:
assignee: Darren Chan (dazzachan) → nobody
Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: juno → kilo
Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: kilo → liberty
Changed in openstack-manuals:
assignee: nobody → khomkrit viangvises (khomkrit-stack)
Revision history for this message
KATO Tomoyuki (kato-tomoyuki) wrote :

Unfortunately, install guide doesn't support trove at now.

Changed in openstack-manuals:
status: Confirmed → Won't Fix
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.