barbican/devstack/lib
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 devstack: make create_barbican_accounts idempotent 2022-08-11 09:43:59 -07:00