Files
trove/install-guide/source/install-ubuntu.rst
Andreas Jaeger 696d80d4a8 Add Install Guide
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
2016-06-16 15:48:29 -07:00

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

  1. 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

  1. 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/init and edit the following files as described below:

    trove-taskmanager.conf

    trove-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-file incorrectly points to trove.conf.

    In trove-taskmanager.conf, edit config-file to point to /etc/trove/trove-taskmanager.conf.

    In trove-conductor.conf, edit config-file to point to /etc/trove/trove-conductor.conf.

  2. Restart the Database services:

    # service trove-api restart
    # service trove-taskmanager restart
    # service trove-conductor restart