7eb3afc6f0
This patch updates the setup for the various devstack gate jobs to make them functional for Ocata and thus also validates the parent patch Ocata sync patch. Note that the NFP job still needs to be updated and has been disabled in this patch. It can be re-enabled whenever its updated in a followup patch. Change-Id: I7cd5667fcc86577eb33c0233991cbb687c0ce8c9
1.5 KiB
1.5 KiB
Installation
At the command line:
$ pip install gbpservice
Or, if you have virtualenvwrapper installed:
$ mkvirtualenv gbpservice
$ pip install gbpservice
Using DevStack
First, clone the latest stable/ocata
branch of
DevStack:
$ git clone -b stable/ocata https://git.openstack.org/openstack-dev/devstack
$ cd devstack
Then, create a basic local.conf
including at least the
following lines:
[[local|localrc]]
enable_plugin group-based-policy https://git.openstack.org/openstack/group-based-policy master
Or, if you need install from a patch under review:
[[local|localrc]]
enable_plugin group-based-policy https://git.openstack.org/openstack/group-based-policy <GITREF>
where, GITREF is the patchset reference of the patchset under review. E.g.:
[[local|localrc]]
enable_plugin group-based-policy https://git.openstack.org/openstack/group-based-policy refs/changes/65/353265/2
Finally, you are ready to run stack.sh
.
Here is an example of a working Group-Based Policy DevStack local.conf file with logging, a custom password for all services and a custom git remote pointing to GitHub:
[[local|localrc]]
SERVICE_TOKEN=password
ADMIN_PASSWORD=password
DATABASE_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_PASSWORD=$ADMIN_PASSWORD
LOGFILE=$DEST/logs/stack.sh.log
LOGDAYS=2
GIT_BASE=https://github.com
RECLONE=True
enable_plugin group-based-policy https://github.com/openstack/group-based-policy.git master