From 3530762178103c5bd8ea78a68f27d96ba6a20b3f Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Thu, 4 May 2023 17:52:30 -0500 Subject: [PATCH] [stable-only]: Set system_scope_supported There is a new config option 'system_scope_supported' added in glance-tempest-plugin - https://review.opendev.org/c/openstack/glance-tempest-plugin/+/882363 which control whether or not to test the system scope asserts. System scope is supported in glance only till stable/yoga so setting the new flag to True for <=stable/yoga Depends-On: https://review.opendev.org/c/openstack/glance-tempest-plugin/+/882363 Change-Id: I0e4a65a9887505e63b824a40c0dacea4a8396ea0 (cherry picked from commit fece4f466cf2c024bd1d6bd086312c8027ad55fe) --- lib/tempest | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/tempest b/lib/tempest index 9c974df007..8eb52d27eb 100644 --- a/lib/tempest +++ b/lib/tempest @@ -675,6 +675,8 @@ function configure_tempest { done iniset $TEMPEST_CONFIG enforce_scope glance "$GLANCE_ENFORCE_SCOPE" + # NOTE(gmann): system scope is supported for <=stable/yoga only + iniset $TEMPEST_CONFIG glance_api system_scope_supported "True" iniset $TEMPEST_CONFIG enforce_scope cinder "$CINDER_ENFORCE_SCOPE"