This adds trove-specific contents of the OpenStack Installation Guide in the trove repo per [1]. A separate change will remove the heat contents from the OpenStack Installation Guide for Newton per [2]. This is a verbatim import from the content in openstack-manuals with minimal changes to get content building. Also adds tox.ini environment for install-guide and adds openstackdocs-theme to test-requirements.txt. From lmichaels -- added a statement to the next-steps doc. [1] http://specs.openstack.org/openstack/docs-specs/specs/newton/project-specific-installguides.html [2] http://specs.openstack.org/openstack/docs-specs/specs/newton/installguide.html [3] https://review.openstack.org/#/c/314229/ Partially-Implements: blueprint projectspecificinstallguides Change-Id: Idf8cb90536fd4b4d9a2d0695ef30f498b1283410
2.2 KiB
Install and configure for Ubuntu
This section describes how to install and configure the Orchestration service for Ubuntu 14.04 (LTS).
This section assumes that you already have a working OpenStack environment with at least the following components installed: Compute, Image Service, Identity.
- If you want to do backup and restore, you also need Object Storage.
- If you want to provision datastores on block-storage volumes, you also need Block Storage.
Install and configure components
Install the packages:
# apt-get update # apt-get install python-trove python-troveclient \ python-glanceclient trove-common trove-api trove-taskmanager \ trove-conductor
Finalize installation
Due to a bug in the Ubuntu packages, edit the service definition files to use the correct configuration settings.
To do this, navigate to
/etc/initand edit the following files as described below:trove-taskmanager.conftrove-conductor.conf(Note that, although they have the same names, these files are in a different location and have different content than the similarly named files you edited earlier in this procedure.)
In each file, find this line:
exec start-stop-daemon --start --chdir /var/lib/trove \ --chuid trove:trove --make-pidfile \ --pidfile /var/run/trove/trove-conductor.pid \ --exec /usr/bin/trove-conductor -- \ --config-file=/etc/trove/trove.conf ${DAEMON_ARGS}Note that
--config-fileincorrectly points totrove.conf.In
trove-taskmanager.conf, editconfig-fileto point to/etc/trove/trove-taskmanager.conf.In
trove-conductor.conf, editconfig-fileto point to/etc/trove/trove-conductor.conf.Restart the Database services:
# service trove-api restart # service trove-taskmanager restart # service trove-conductor restart