Use Cinder API v3 by default

Cinder API v2 is deprecated so we need to use a new one. Cinder API v3
is backward compatible to the v2.

Change-Id: I876c7b9ebf29825def078bb60782dc9d533ef1a4
This commit is contained in:
Ivan Kolodyazhny 2019-02-18 11:40:42 +02:00
parent c10cb80b6e
commit c779f67170
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
Default Cinder API version is changed to v3. It's fully compatible with
API v2. If you need to use Cinder API v2 you need to cinder_version='2' in
the Vitrage configuration file.

View File

@ -24,7 +24,7 @@ OPTS = [
cfg.StrOpt('aodh_version', default='2', help='Aodh version'), cfg.StrOpt('aodh_version', default='2', help='Aodh version'),
cfg.StrOpt('ceilometer_version', default='2', help='Ceilometer version'), cfg.StrOpt('ceilometer_version', default='2', help='Ceilometer version'),
cfg.StrOpt('nova_version', default='2.11', help='Nova version'), cfg.StrOpt('nova_version', default='2.11', help='Nova version'),
cfg.StrOpt('cinder_version', default='2', help='Cinder version'), cfg.StrOpt('cinder_version', default='3', help='Cinder version'),
cfg.StrOpt('glance_version', default='2', help='Glance version'), cfg.StrOpt('glance_version', default='2', help='Glance version'),
cfg.StrOpt('heat_version', default='1', help='Heat version'), cfg.StrOpt('heat_version', default='1', help='Heat version'),
cfg.StrOpt('mistral_version', default='2', help='Mistral version'), cfg.StrOpt('mistral_version', default='2', help='Mistral version'),