2015-07-30 20:12:26 +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
|
|
|
|
=================
|
|
|
|
|
2019-04-29 02:19:25 +00:00
|
|
|
.. code-block:: bash
|
2015-07-30 20:12:26 +00:00
|
|
|
|
|
|
|
export DEVSTACK_DIR=~/devstack
|
2019-04-22 06:40:30 +00:00
|
|
|
git clone https://opendev.org/openstack/devstack.git $DEVSTACK_DIR
|
2015-07-30 20:12:26 +00:00
|
|
|
|
|
|
|
Enable the Trove plugin
|
|
|
|
=======================
|
|
|
|
|
2017-11-30 01:27:38 +00:00
|
|
|
Enable the plugin by adding the following section to
|
|
|
|
``$DEVSTACK_DIR/local.conf``
|
2015-07-30 20:12:26 +00:00
|
|
|
|
2019-04-29 02:19:25 +00:00
|
|
|
.. code-block:: bash
|
2015-07-30 20:12:26 +00:00
|
|
|
|
|
|
|
[[local|localrc]]
|
2019-04-22 06:40:30 +00:00
|
|
|
enable_plugin trove https://opendev.org/openstack/trove
|
2015-07-30 20:12:26 +00:00
|
|
|
|
|
|
|
Optionally, a git refspec (branch or tag or commit) may be provided as follows:
|
|
|
|
|
2019-04-29 02:19:25 +00:00
|
|
|
.. code-block:: bash
|
2015-07-30 20:12:26 +00:00
|
|
|
|
|
|
|
[[local|localrc]]
|
2019-04-22 06:40:30 +00:00
|
|
|
enable_plugin trove https://opendev.org/openstack/trove <refspec>
|
2015-07-30 20:12:26 +00:00
|
|
|
|
|
|
|
Run the DevStack utility
|
|
|
|
========================
|
|
|
|
|
2019-04-29 02:19:25 +00:00
|
|
|
.. code-block:: bash
|
2015-07-30 20:12:26 +00:00
|
|
|
|
|
|
|
cd $DEVSTACK_DIR
|
|
|
|
./stack.sh
|