From 2b478514303c298d6adb6749023b967eb5b0008b Mon Sep 17 00:00:00 2001 From: Chandan Kumar Date: Wed, 17 Apr 2019 12:26:50 +0530 Subject: [PATCH] Set glance_api_version=2 in cinder.conf While running smoke tests using https://review.openstack.org/#/c/652060/ in os_tempest jobs, the tempest volume and compute api tests are failing with Invalid image identifier or unable to access requested image error. Adding glance_api_version in cinder.conf fixes the issue. Change-Id: I8ae1599b96ead1361ee82960fd5fb66c259ea0ff Signed-off-by: Chandan Kumar --- templates/cinder.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/cinder.conf.j2 b/templates/cinder.conf.j2 index 02e1f55f..f281e9b0 100644 --- a/templates/cinder.conf.j2 +++ b/templates/cinder.conf.j2 @@ -70,7 +70,7 @@ os_region_name = {{ cinder_service_region }} ## Glance glance_api_servers = {{ cinder_glance_api_servers }} glance_num_retries = 0 - +glance_api_version = 2 volume_clear = {{ cinder_volume_clear }} volume_clear_size = {{ cinder_volume_clear_size }} volume_clear_ionice = {{ cinder_volume_clear_ionice }}