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
This commit is contained in:
Jesse Pretorius 2015-08-18 08:17:17 +01:00
parent a40cb58118
commit 16d1a51504
2 changed files with 2 additions and 2 deletions

View File

@ -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 }}

View File

@ -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