[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
This commit is contained in:
Ghanshyam Mann
2023-05-04 17:52:30 -05:00
committed by Ghanshyam
parent 4e2fe3a468
commit fece4f466c

View File

@@ -685,6 +685,8 @@ function configure_tempest {
iniset $TEMPEST_CONFIG auth admin_project_name ''
fi
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"