barbican/devstack
Alan Bishop b8b83a16fa devstack: make create_barbican_accounts idempotent
Make devstack's create_barbican_accounts function idempotent by
using get_or_create_XXX functions to configure resources (users,
roles, endpoints, etc.).

This avoids problems in situations such [1], where the cinder service
needs the "creator" role. Cinder ends up creating the role first,
which would cause create_barbican_accounts to subsequently fail if
barbican assumes that it will create the role.

[1] Ia3f414c4b9b0829f60841a6dd63c97a893fdde4d

Change-Id: I216f78e8a300ab3f79bbcbb38110adf2bbec2196
2022-08-11 09:43:59 -07:00
..
barbican-vagrant Replace git.openstack.org URLs with opendev.org URLs 2019-05-23 12:50:09 +08:00
lib devstack: make create_barbican_accounts idempotent 2022-08-11 09:43:59 -07:00
upgrade Update to opendev 2019-04-23 15:35:42 +08:00
gate_hook.sh Add flag to allow devstack to run on f26 in gate 2017-09-13 16:54:43 -06:00
local.conf.example Update to opendev 2019-04-23 15:35:42 +08:00
plugin.sh Fix the barbicanclient installation not from source 2019-10-22 18:12:27 +02:00
README.md Update to opendev 2019-04-23 15:35:42 +08:00
settings Merge "Drop configure_keystone_authtoken_middleware function" 2020-08-25 14:26:48 +00:00

This directory contains the Barbican DevStack plugin.

To configure Barbican with DevStack, you will need to enable this plugin and the Barbican service by adding one line to the local section of your local.conf file.

To enable the plugin, add a line of the form:

enable_plugin barbican <GITURL> [GITREF]

where

<GITURL> is the URL of a Barbican repository
[GITREF] is an optional git ref (branch/ref/tag).  The default is master.

For example

enable_plugin barbican https://opendev.org/openstack/barbican stable/liberty

For more information, see the "Externally Hosted Plugins" section of https://docs.openstack.org/devstack/latest/plugins.html