trove/devstack/README.rst
Peter Stachowski 3557e2b181 Have devstack plugin install Trove client
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
2015-07-30 20:49:34 +00:00

1.1 KiB

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

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

[[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:

[[local|localrc]]
enable_plugin trove git://git.openstack.org/openstack/trove <refspec>

Run the DevStack utility

cd $DEVSTACK_DIR
./stack.sh