trove/devstack
Amrith Kumar c84f5cce14 Improve Gate: address multiple issues relative to timing
This commit merges two commits, 447750[1] and 448630[2] in the fond
hope that this will improve the odds of its being able to merge.

The log operation test assumes that the log will be Ready but in some
cases, Partial is also a valid result. Add that into the list of
allowed results.

In addition, this change aims to support cases where test suites last
much more than 1 hour and where a token can expire unexpectedly mid
operation. This is by no means a 'fix' for the bug here, just a way to
get the gate to be more stable.

[1] https://review.openstack.org/447750
[2] https://review.openstack.org/448630

Change-Id: Ib888dd55f04952139508a7cb0fee60e192e1b77c
Closes-Bug: 1674520
Partial-Fix: 1674510
2017-03-23 04:10:06 -04:00
..
files add devstack plugin 2015-04-06 12:20:30 -04:00
plugin.sh Improve Gate: address multiple issues relative to timing 2017-03-23 04:10:06 -04:00
README.rst Have devstack plugin install Trove client 2015-07-30 20:49:34 +00:00
settings Add support for Oslo Policies to Trove 2016-12-06 21:51:21 +00: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 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