trove/devstack
Mark Kirkwood e85c843445 Refactor variables in plugin.sh to simplify setting a datastore
Remove several variables local to plugin.sh so it is possible to
set a non default datastore by changing only the 3 most obvious ones:

TROVE_DATASTORE_TYPE
TROVE_DATASTORE_VERSION
TROVE_DATASTORE_PACKAGE

Change-Id: I782757647985bdfb859043fe68e2b4cd27569ab3
2019-08-14 22:09:43 +00:00
..
2017-04-25 06:54:29 -04:00
2019-05-06 18:32:53 +08:00
2019-08-14 21:20:34 +12:00

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 https://opendev.org/openstack/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 https://opendev.org/openstack/trove

Optionally, a git refspec (branch or tag or commit) may be provided as follows:

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

Run the DevStack utility

cd $DEVSTACK_DIR
./stack.sh