b8b83a16fa
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 |
||
---|---|---|
.. | ||
barbican-vagrant | ||
lib | ||
upgrade | ||
gate_hook.sh | ||
local.conf.example | ||
plugin.sh | ||
README.md | ||
settings |
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