
Main goal is to have a working vm image registered in trove after devstack installation. It is a first step towards trovestack-redesign as described in https://etherpad.openstack.org/p/trovestack-redesign It is enabled by default during devstack installation with trove enabled plugin, but it can be skipped by setting DISABLE_TROVE_IMAGE_SETUP=TRUE Implementation details: * export environmental variables for diskimage-builder * build an image with disk-image-create script * register the newly created image in trove * add tripleo-elements information to default settings Change-Id: I6e57890c5b6fb65e9b8c63363f92e5a7c70e523e Signed-off-by: Dariusz Krol <d.krol@samsung.com>
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