Fix authentication failures due to missing system scope
Ensure the OS_SYSTEM_SCOPE environment variable is present in openstack_auth to prevent authentication issues occuring in baremetal-compute playbooks. Closes-Bug: #2111103 Change-Id: Ia8777550b00bd1cf0391a1c7bddbbf99fe7c0d20
This commit is contained in:

committed by
Pierre Riteau

parent
8530480926
commit
73d57e5930
@@ -26,6 +26,7 @@ openstack_auth:
|
||||
username: "{{ lookup('env', 'OS_USERNAME') }}"
|
||||
password: "{{ lookup('env', 'OS_PASSWORD') }}"
|
||||
auth_url: "{{ lookup('env', 'OS_AUTH_URL') }}"
|
||||
system_scope: "{{ lookup('env', 'OS_SYSTEM_SCOPE') }}"
|
||||
|
||||
# Overcloud CA certificate path.
|
||||
openstack_cacert: "{{ lookup('env', 'OS_CACERT') }}"
|
||||
@@ -46,6 +47,7 @@ openstack_auth_env:
|
||||
OS_INTERFACE: "{{ lookup('env', 'OS_INTERFACE') }}"
|
||||
OS_IDENTITY_API_VERSION: "{{ lookup('env', 'OS_IDENTITY_API_VERSION') }}"
|
||||
OS_CACERT: "{{ lookup('env', 'OS_CACERT') }}"
|
||||
OS_SYSTEM_SCOPE: "{{ lookup('env', 'OS_SYSTEM_SCOPE') }}"
|
||||
|
||||
# List of parameters required in openstack_auth when openstack_auth_type is
|
||||
# password.
|
||||
|
@@ -0,0 +1,7 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Ensure the ``OS_SYSTEM_SCOPE`` environment variable is present in
|
||||
``openstack_auth`` to prevent authentication issues occurring in
|
||||
baremetal-compute playbooks.
|
||||
`LP#2111103 <https://bugs.launchpad.net/kayobe/+bug/2111103>`__
|
Reference in New Issue
Block a user