From 16d1a5150411eee9a9dd41e624d8b4e39fdf681c Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Tue, 18 Aug 2015 08:17:17 +0100 Subject: [PATCH] Switch Nova/Tempest to use/test Cinder API v2 As per https://blueprints.launchpad.net/cinder/+spec/deprecate-v1-api the Cinder API v1 was designated as deprecated in Juno and was meant to be removed in Kilo, but appears to still be usable in Kilo. This patch configures Nova to use the Cinder v2 API instead of the v1 API. This patch configures Tempest to test both the Cinder v1 and v2 API's for now. Once the API is removed upstream we can change this. DocImpact Closes-Bug: #1481542 Change-Id: I6513c07e1b5d5653b84ad0b2b490ac8451f2bdf1 --- playbooks/roles/os_nova/templates/nova.conf.j2 | 2 +- playbooks/roles/os_tempest/templates/tempest.conf.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/roles/os_nova/templates/nova.conf.j2 b/playbooks/roles/os_nova/templates/nova.conf.j2 index 58b2bfb234..8ddc49a799 100644 --- a/playbooks/roles/os_nova/templates/nova.conf.j2 +++ b/playbooks/roles/os_nova/templates/nova.conf.j2 @@ -127,7 +127,7 @@ notification_driver = messagingv2 # Cinder [cinder] -catalog_info = volume:cinder:internalURL +catalog_info = volumev2:cinderv2:internalURL cross_az_attach = {{ nova_cross_az_attach }} diff --git a/playbooks/roles/os_tempest/templates/tempest.conf.j2 b/playbooks/roles/os_tempest/templates/tempest.conf.j2 index ec4e34e8bd..3eff1d43fd 100644 --- a/playbooks/roles/os_tempest/templates/tempest.conf.j2 +++ b/playbooks/roles/os_tempest/templates/tempest.conf.j2 @@ -226,7 +226,7 @@ volume_size = 1 [volume-feature-enabled] api_extensions = all api_v1 = true -api_v2 = false +api_v2 = true backup = {{ tempest_volume_backup_enabled }} multi_backend = false snapshot = false