Skip to content

Commit 3ae0f65

Browse files
kajinamitmnaser
authored andcommitted
Fix the default volume api version
The volume v2 api was completely removed from cinder during Xena cycle. Unfortunately we didn't update the api_version parameter, which defines the cinder api version used, when we fixed the problem caused by removal of volume v2 api[1]. This change fixes the outdated default and ensures the current v3 api is used. [1] 67acf2c Change-Id: Id8940684c996e9c4bb615269976238d3f65e8140
1 parent 0bf3242 commit 3ae0f65

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

magnum/conf/cinder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
help=_('Type of endpoint in Identity service catalog to use '
6060
'for communication with the OpenStack service.')),
6161
cfg.StrOpt('api_version',
62-
default='2',
62+
default='3',
6363
help=_('Version of Cinder API to use in cinderclient.'))
6464
]
6565

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Default value of ``[cinder_client] api_version`` has been updated from
5+
``2`` to ``3``, because volume v2 API is no longer available.

0 commit comments

Comments
 (0)