aboutsummaryrefslogtreecommitdiff
path: root/tests/check-config.sh
diff options
context:
space:
mode:
authorBartosz Bezak <bartosz@stackhpc.com>2024-02-06 17:40:04 +0100
committerBartosz Bezak <bartosz@stackhpc.com>2024-02-15 15:01:59 +0000
commit6e835ae758f0a2e8c87ab0bc22d578168395e424 (patch)
treebe45ec7ce4a6f5c99329a07b1c40cc28ab114db4 /tests/check-config.sh
parent600e912400ab8b52ca422f007f63da9d4fcc0a69 (diff)
downloadkolla-ansible-6e835ae758f0a2e8c87ab0bc22d578168395e424.tar.gz
kolla-ansible-6e835ae758f0a2e8c87ab0bc22d578168395e424.zip
Template system scoped admin-openrc and clouds.yml files
Ironic enabled secure RBAC with system scoped enforcement [1]. Some API calls, for instance 'baremetal:driver:get' needs system scope role by design [2], even with elevated access project scope service role [3]. [1] https://review.opendev.org/c/openstack/ironic/+/902009 [2] https://opendev.org/openstack/ironic/src/commit/8ec56066223301230ac0ed0f0c471a10d366b474/ironic/common/policy.py#L1349-L1357 [3] https://review.opendev.org/c/openstack/kolla-ansible/+/908007 Related-Bug: #2051837 Change-Id: Id6313d7dd343b82d4c9ccf7bf429d340ea0e93d1
Diffstat (limited to 'tests/check-config.sh')
-rwxr-xr-xtests/check-config.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/check-config.sh b/tests/check-config.sh
index f78b7fab9..d1fb7dd9f 100755
--- a/tests/check-config.sh
+++ b/tests/check-config.sh
@@ -23,6 +23,7 @@ function check_config {
-not -path /etc/kolla \
-not -path /etc/kolla/clouds.yaml \
-not -regex .*-openrc.sh \
+ -not -regex .*-openrc-system.sh \
-not -name globals.yml \
-not -name header \
-not -name inventory \