0859794433
Refer to https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html for details. Change-Id: Icd7cca752c8b87eb4543f0307bbf6e7ae07194b5 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
71 lines
1.8 KiB
ReStructuredText
71 lines
1.8 KiB
ReStructuredText
.. _install-ubuntu:
|
|
|
|
Install and configure for Ubuntu
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
This section describes how to install and configure the Database
|
|
service for Ubuntu 14.04 (LTS).
|
|
|
|
.. include:: common_prerequisites.txt
|
|
|
|
|
|
Install and configure components
|
|
--------------------------------
|
|
|
|
#. Install the packages:
|
|
|
|
.. code-block:: console
|
|
|
|
# apt-get update
|
|
|
|
# apt-get install python-trove python-troveclient \
|
|
python-glanceclient trove-common trove-api trove-taskmanager \
|
|
trove-conductor
|
|
|
|
|
|
.. include:: common_configure.txt
|
|
|
|
|
|
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:
|
|
|
|
.. code-block:: ini
|
|
|
|
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:
|
|
|
|
.. code-block:: console
|
|
|
|
# service trove-api restart
|
|
# service trove-taskmanager restart
|
|
# service trove-conductor restart
|