Browse Source

Update volume API default version from v1 to v2

Cinder has deprecated API version v1 since Juno release, and
there is a blueprint to remove v1 API support which is in progress.
We should default to v2 API when it's there.

Closes-Bug: 1467589
Change-Id: I83aef4c681cbe342c445f02436fcd40cf1222f23
tags/1.14.0
Yaguang Tang 3 years ago
parent
commit
1cd3e5bb7f

+ 11
- 0
doc/source/vendor-support.rst View File

@@ -16,6 +16,7 @@ These are the default behaviors unless a cloud is configured differently.
16 16
 * Identity uses `password` authentication
17 17
 * Identity API Version is 2
18 18
 * Image API Version is 2
19
+* Volume API Version is 2
19 20
 * Images must be in `qcow2` format
20 21
 * Images are uploaded using PUT interface
21 22
 * Public IPv4 is directly routable via DHCP from Neutron
@@ -51,6 +52,7 @@ nz_wlg_2       Wellington, NZ
51 52
 
52 53
 * Image API Version is 1
53 54
 * Images must be in `raw` format
55
+* Volume API Version is 1
54 56
 
55 57
 citycloud
56 58
 ---------
@@ -67,6 +69,7 @@ Kna1           Karlskrona, SE
67 69
 
68 70
 * Identity API Version is 3
69 71
 * Public IPv4 is provided via NAT with Neutron Floating IP
72
+* Volume API Version is 1
70 73
 
71 74
 conoha
72 75
 ------
@@ -137,6 +140,8 @@ it-mil1        Milan, IT
137 140
 de-fra1        Frankfurt, DE
138 141
 ============== ================
139 142
 
143
+* Volume API Version is 1
144
+
140 145
 hp
141 146
 --
142 147
 
@@ -152,6 +157,7 @@ region-b.geo-1 US East
152 157
 * DNS Service Type is `hpext:dns`
153 158
 * Image API Version is 1
154 159
 * Public IPv4 is provided via NAT with Neutron Floating IP
160
+* Volume API Version is 1
155 161
 
156 162
 internap
157 163
 --------
@@ -212,6 +218,7 @@ SYD            Sydney
212 218
 * Uploaded Images need properties to not use vendor agent::
213 219
   :vm_mode: hvm
214 220
   :xenapi_use_agent: False
221
+* Volume API Version is 1
215 222
 
216 223
 runabove
217 224
 --------
@@ -241,6 +248,7 @@ ZH             Zurich, CH
241 248
 
242 249
 * Images must be in `raw` format
243 250
 * Images must be uploaded using the Glance Task Interface
251
+* Volume API Version is 1
244 252
 
245 253
 ultimum
246 254
 -------
@@ -253,6 +261,8 @@ Region Name    Human Name
253 261
 RegionOne      Region One
254 262
 ============== ================
255 263
 
264
+* Volume API Version is 1
265
+
256 266
 unitedstack
257 267
 -----------
258 268
 
@@ -267,6 +277,7 @@ gd1            Guangdong
267 277
 
268 278
 * Identity API Version is 3
269 279
 * Images must be in `raw` format
280
+* Volume API Version is 1
270 281
 
271 282
 vexxhost
272 283
 --------

+ 1
- 1
os_client_config/defaults.json View File

@@ -17,5 +17,5 @@
17 17
   "object_store_api_version": "1",
18 18
   "orchestration_api_version": "1",
19 19
   "secgroup_source": "neutron",
20
-  "volume_api_version": "1"
20
+  "volume_api_version": "2"
21 21
 }

+ 1
- 0
os_client_config/vendors/bluebox.json View File

@@ -1,6 +1,7 @@
1 1
 {
2 2
   "name": "bluebox",
3 3
   "profile": {
4
+    "volume_api_version": "1",
4 5
     "region_name": "RegionOne"
5 6
   }
6 7
 }

+ 1
- 0
os_client_config/vendors/catalyst.json View File

@@ -9,6 +9,7 @@
9 9
       "nz_wlg_2"
10 10
     ],
11 11
     "image_api_version": "1",
12
+    "volume_api_version": "1",
12 13
     "image_format": "raw"
13 14
   }
14 15
 }

+ 1
- 0
os_client_config/vendors/citycloud.json View File

@@ -9,6 +9,7 @@
9 9
       "Sto2",
10 10
       "Kna1"
11 11
     ],
12
+    "volume_api_version": "1",
12 13
     "identity_api_version": "3"
13 14
   }
14 15
 }

+ 1
- 0
os_client_config/vendors/entercloudsuite.json View File

@@ -4,6 +4,7 @@
4 4
     "auth": {
5 5
       "auth_url": "https://api.entercloudsuite.com/v2.0"
6 6
     },
7
+    "volume_api_version": "1",
7 8
     "regions": [
8 9
       "it-mil1",
9 10
       "nl-ams1",

+ 1
- 0
os_client_config/vendors/hp.json View File

@@ -9,6 +9,7 @@
9 9
       "region-b.geo-1"
10 10
     ],
11 11
     "dns_service_type": "hpext:dns",
12
+    "volume_api_version": "1",
12 13
     "image_api_version": "1"
13 14
   }
14 15
 }

+ 1
- 0
os_client_config/vendors/rackspace.json View File

@@ -18,6 +18,7 @@
18 18
     "image_format": "vhd",
19 19
     "floating_ip_source": "None",
20 20
     "secgroup_source": "None",
21
+    "volume_api_version": "1",
21 22
     "disable_vendor_agent": {
22 23
       "vm_mode": "hvm",
23 24
       "xenapi_use_agent": false

+ 1
- 0
os_client_config/vendors/switchengines.json View File

@@ -8,6 +8,7 @@
8 8
       "LS",
9 9
       "ZH"
10 10
     ],
11
+    "volume_api_version": "1",
11 12
     "image_api_use_tasks": true,
12 13
     "image_format": "raw"
13 14
   }

+ 1
- 0
os_client_config/vendors/ultimum.json View File

@@ -4,6 +4,7 @@
4 4
     "auth": {
5 5
       "auth_url": "https://console.ultimum-cloud.com:5000/v2.0"
6 6
     },
7
+    "volume_api_version": "1",
7 8
     "region-name": "RegionOne"
8 9
   }
9 10
 }

+ 1
- 0
os_client_config/vendors/unitedstack.json View File

@@ -8,6 +8,7 @@
8 8
       "bj1",
9 9
       "gd1"
10 10
     ],
11
+    "volume_api_version": "1",
11 12
     "identity_api_version": "3",
12 13
     "image_format": "raw",
13 14
     "floating_ip_source": "None"

Loading…
Cancel
Save