From 17ac22c40dfe57d83e1e06a1436c3d7966d02316 Mon Sep 17 00:00:00 2001
From: zhubingbing <zhu.bingbing@99cloud.net>
Date: Tue, 11 Jul 2017 13:39:10 +0800
Subject: [PATCH] Fix option api_v1 in tempest.conf

Change-Id: Ia92ea9114ffec1dc3108969cb48a3264a23e0eea
Closes-bug: #1703515
---
 ansible/roles/tempest/templates/tempest.conf.j2 | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/ansible/roles/tempest/templates/tempest.conf.j2 b/ansible/roles/tempest/templates/tempest.conf.j2
index 8b65b837b2..3420b1b2c0 100644
--- a/ansible/roles/tempest/templates/tempest.conf.j2
+++ b/ansible/roles/tempest/templates/tempest.conf.j2
@@ -47,6 +47,10 @@ uri_v3 = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_p
 region = {{ openstack_region_name }}
 http_image = {{ image_url }}
 
+[image-feature-enabled]
+api_v1 = False
+api_v2 = False
+
 [network]
 region = {{ openstack_region_name }}
 public_network_id =  {{ tempest_public_network_id }}
@@ -66,7 +70,7 @@ region = {{ openstack_region_name }}
 region = {{ openstack_region_name }}
 
 [volume-feature-enabled]
-api_v1 = False
+api_v1 = True
 
 [validation]
 image_ssh_user = {{ tempest_image_ssh_user }}