From 1ec5f6e9a3878e160d1102584f5936158b29da02 Mon Sep 17 00:00:00 2001 From: wanghongxu <wang19930902@gmail.com> Date: Thu, 28 Sep 2017 11:17:09 +0800 Subject: [PATCH] set glance_api_version = 2 in cinder configure We need set glance_api_version = 2 in cinder configure to support upload volume to image. Change-Id: I6162b94833043edb06b434bc578f4caa47213b94 Closes-bug: #1720048 --- ansible/roles/cinder/templates/cinder.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/cinder/templates/cinder.conf.j2 b/ansible/roles/cinder/templates/cinder.conf.j2 index 061279a6e2..c46a52518e 100644 --- a/ansible/roles/cinder/templates/cinder.conf.j2 +++ b/ansible/roles/cinder/templates/cinder.conf.j2 @@ -16,6 +16,7 @@ volume_name_template = volume-%s glance_api_servers = {{ internal_protocol }}://{{ kolla_internal_vip_address }}:{{ glance_api_port }} glance_num_retries = {{ groups['glance-api'] | length }} +glance_api_version = 2 os_region_name = {{ openstack_region_name }}