trove/devstack
Ghanshyam Mann bcb8992f99 [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:

1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.

2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.

Also replace policy.json to policy.yaml ref from doc and tests.

[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Change-Id: I790409da69df8479ad2fe152b15c32ba45067c23
2020-12-26 05:30:18 +00:00
..
files enable trove-api behind mod-wsgi 2017-04-25 06:54:29 -04:00
README.rst Fix syntax error 2019-05-06 18:32:53 +08:00
plugin.sh Use nested virt node for trove functional test 2020-11-30 09:48:09 +13:00
settings [goal] Deprecate the JSON formatted policy file 2020-12-26 05:30:18 +00:00

README.rst

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