Use Block Storage API v3 by default

Block Storage API v2 was deprecated during Pike cycle and v3 should be
used instead.

Change-Id: I05be4086796101222b3690b7eb367d74d40d5bfe
This commit is contained in:
Takashi Kajinami 2021-07-27 11:17:15 +09:00
parent 56b1669a1b
commit 5bb05bf9af
2 changed files with 8 additions and 2 deletions

View File

@ -218,7 +218,7 @@
# #
# [*cinder_service_type*] # [*cinder_service_type*]
# (optional) Cinder service type to use when searching catalog. # (optional) Cinder service type to use when searching catalog.
# Defaults to 'volumev2'. # Defaults to 'volumev3'.
# #
# [*swift_service_type*] # [*swift_service_type*]
# (optional) Swift service type to use when searching catalog. # (optional) Swift service type to use when searching catalog.
@ -342,7 +342,7 @@ class trove(
$swift_url = false, $swift_url = false,
$neutron_url = false, $neutron_url = false,
$nova_compute_service_type = 'compute', $nova_compute_service_type = 'compute',
$cinder_service_type = 'volumev2', $cinder_service_type = 'volumev3',
$swift_service_type = 'object-store', $swift_service_type = 'object-store',
$neutron_service_type = 'network', $neutron_service_type = 'network',
$glance_service_type = 'image', $glance_service_type = 'image',

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Default value of the ``trove::cinder_api_version`` has been updated from
``volumev2`` to ``volumev3`` to use current Block Storage API v3 instead of
deprecated Block Storage API v3.