Skip to content

Commit 73d57e5

Browse files
assumptionsandgpriteau
authored andcommitted
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
1 parent 8530480 commit 73d57e5

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

ansible/inventory/group_vars/all/openstack

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ openstack_auth:
2626
username: "{{ lookup('env', 'OS_USERNAME') }}"
2727
password: "{{ lookup('env', 'OS_PASSWORD') }}"
2828
auth_url: "{{ lookup('env', 'OS_AUTH_URL') }}"
29+
system_scope: "{{ lookup('env', 'OS_SYSTEM_SCOPE') }}"
2930

3031
# Overcloud CA certificate path.
3132
openstack_cacert: "{{ lookup('env', 'OS_CACERT') }}"
@@ -46,6 +47,7 @@ openstack_auth_env:
4647
OS_INTERFACE: "{{ lookup('env', 'OS_INTERFACE') }}"
4748
OS_IDENTITY_API_VERSION: "{{ lookup('env', 'OS_IDENTITY_API_VERSION') }}"
4849
OS_CACERT: "{{ lookup('env', 'OS_CACERT') }}"
50+
OS_SYSTEM_SCOPE: "{{ lookup('env', 'OS_SYSTEM_SCOPE') }}"
4951

5052
# List of parameters required in openstack_auth when openstack_auth_type is
5153
# password.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
fixes:
3+
- |
4+
Ensure the ``OS_SYSTEM_SCOPE`` environment variable is present in
5+
``openstack_auth`` to prevent authentication issues occurring in
6+
baremetal-compute playbooks.
7+
`LP#2111103 <https://bugs.launchpad.net/kayobe/+bug/2111103>`__

0 commit comments

Comments
 (0)