From 579102e54490d7eba2fdb4403103886a5024d4fd Mon Sep 17 00:00:00 2001 From: Pranali Deore Date: Thu, 14 Oct 2021 12:56:20 +0530 Subject: [PATCH] Sc001: Enable glance image import methods Support of enabling image import methods was added in [1] Enabling this parameter in sc001 to test this feature in CI [1]: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/567667 Change-Id: Ifa588f0017bf6ecda6d5489308615d389ed0a84f --- ci/environments/scenario001-standalone.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ci/environments/scenario001-standalone.yaml b/ci/environments/scenario001-standalone.yaml index c9c6deb477..9695b12a4c 100644 --- a/ci/environments/scenario001-standalone.yaml +++ b/ci/environments/scenario001-standalone.yaml @@ -126,6 +126,15 @@ parameter_defaults: CephClusterFSID: e2cba068-5f14-4b0f-b047-acf375c0004a CinderRbdAvailabilityZone: ceph3-AZ CinderBackupBackend: ceph + GlanceEnabledImportMethods: 'glance-direct,web-download,copy-image' + # For copy-image method, we are overriding the policy here to allow + # everyone and every type of image (private or public) to copy. + # This way we will be able to test copy image via non-admin as well + # as on private images. The policy is default to admin only in glance + GlanceApiPolicies: + glance-copy_image: + key: "copy_image" + value: "" GlanceBackend: cinder GlanceStoreDescription: 'Cinder glance store' GlanceMultistoreConfig: