trove/devstack
wu.chunyang 7e5b54e9a3 [CI] fix devstack install failed
As we disabled docker bridge mode when install docker,
trove starts to failed to build the backup images.
because the docker build command uses the default network mode
which is bridge.  this commit changes the network mode to host when
build the backup images.

Depends-On: https://review.opendev.org/c/openstack/trove/+/888640

Change-Id: Icfb9f1cef3a7e669cdeb2a7b501c1e991c2f0ffd
2023-07-18 13:53:14 +08:00
..
files Prevent docker from manipulating iptables 2023-07-06 06:58:11 +00:00
plugin.sh [CI] fix devstack install failed 2023-07-18 13:53:14 +08:00
README.rst Fix syntax error 2019-05-06 18:32:53 +08:00
settings Using local registry in devstack. 2023-02-26 17:27:17 +08: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