3557e2b181
Using the Trove devstack plugin was dependent on having the python-troveclient also enabled. This change modifies the plugin.sh file to install the client correctly, thus removing the need of separately enabling a plugin for it. Variables were set up in the devstack settings file, which can be overridden as desired. A README.rst file was added with instructions on how to set up the plugin in devstack. Change-Id: If5a76360249827c19759a5c90dc00f70c59c32cc
46 lines
1.1 KiB
ReStructuredText
46 lines
1.1 KiB
ReStructuredText
===========================
|
|
Enabling Trove in DevStack
|
|
===========================
|
|
|
|
To enable Trove in DevStack, perform the following steps:
|
|
|
|
::
|
|
|
|
Note: The python-troveclient is automatically installed. If you need to
|
|
control how the client gets installed, set the TROVECLIENT_REPO,
|
|
TROVECLIENT_DIR and TROVECLIENT_BRANCH environment variables appropriately.
|
|
|
|
|
|
Download DevStack
|
|
=================
|
|
|
|
.. sourcecode:: bash
|
|
|
|
export DEVSTACK_DIR=~/devstack
|
|
git clone git://git.openstack.org/openstack-dev/devstack.git $DEVSTACK_DIR
|
|
|
|
Enable the Trove plugin
|
|
=======================
|
|
|
|
Enable the plugin by adding the following section to ``$DEVSTACK_DIR/local.conf``
|
|
|
|
.. sourcecode:: bash
|
|
|
|
[[local|localrc]]
|
|
enable_plugin trove git://git.openstack.org/openstack/trove
|
|
|
|
Optionally, a git refspec (branch or tag or commit) may be provided as follows:
|
|
|
|
.. sourcecode:: bash
|
|
|
|
[[local|localrc]]
|
|
enable_plugin trove git://git.openstack.org/openstack/trove <refspec>
|
|
|
|
Run the DevStack utility
|
|
========================
|
|
|
|
.. sourcecode:: bash
|
|
|
|
cd $DEVSTACK_DIR
|
|
./stack.sh
|