Skip to content

Commit a96089f

Browse files
stmcginnisDean Troyer
authored andcommitted
Default to Cinder v3 API
This switches the default Cinder API version to v3 to prepare for v2 going away. Change-Id: Icca1512b715409e3001c0fd2d1ea663d5e71ec02 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
1 parent 9042668 commit a96089f

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

openstackclient/volume/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
LOG = logging.getLogger(__name__)
2424

25-
DEFAULT_API_VERSION = '2'
25+
DEFAULT_API_VERSION = '3'
2626
API_VERSION_OPTION = 'os_volume_api_version'
2727
API_NAME = "volume"
2828
API_VERSIONS = {
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
upgrade:
3+
- |
4+
Volume commands now default to Volume API 3. On older clouds
5+
that do not support Volume 3.x ``--os-volume-api-version 2``
6+
of the adition of ``volume_api_version: '2' in ``clouds.yaml``
7+
will be required.

0 commit comments

Comments
 (0)