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
This commit is contained in:
Yaguang Tang 2015-12-27 10:59:08 +08:00 committed by Monty Taylor
parent 0280db8521
commit 1cd3e5bb7f
11 changed files with 21 additions and 1 deletions

View File

@ -16,6 +16,7 @@ These are the default behaviors unless a cloud is configured differently.
* Identity uses `password` authentication * Identity uses `password` authentication
* Identity API Version is 2 * Identity API Version is 2
* Image API Version is 2 * Image API Version is 2
* Volume API Version is 2
* Images must be in `qcow2` format * Images must be in `qcow2` format
* Images are uploaded using PUT interface * Images are uploaded using PUT interface
* Public IPv4 is directly routable via DHCP from Neutron * Public IPv4 is directly routable via DHCP from Neutron
@ -51,6 +52,7 @@ nz_wlg_2 Wellington, NZ
* Image API Version is 1 * Image API Version is 1
* Images must be in `raw` format * Images must be in `raw` format
* Volume API Version is 1
citycloud citycloud
--------- ---------
@ -67,6 +69,7 @@ Kna1 Karlskrona, SE
* Identity API Version is 3 * Identity API Version is 3
* Public IPv4 is provided via NAT with Neutron Floating IP * Public IPv4 is provided via NAT with Neutron Floating IP
* Volume API Version is 1
conoha conoha
------ ------
@ -137,6 +140,8 @@ it-mil1 Milan, IT
de-fra1 Frankfurt, DE de-fra1 Frankfurt, DE
============== ================ ============== ================
* Volume API Version is 1
hp hp
-- --
@ -152,6 +157,7 @@ region-b.geo-1 US East
* DNS Service Type is `hpext:dns` * DNS Service Type is `hpext:dns`
* Image API Version is 1 * Image API Version is 1
* Public IPv4 is provided via NAT with Neutron Floating IP * Public IPv4 is provided via NAT with Neutron Floating IP
* Volume API Version is 1
internap internap
-------- --------
@ -212,6 +218,7 @@ SYD Sydney
* Uploaded Images need properties to not use vendor agent:: * Uploaded Images need properties to not use vendor agent::
:vm_mode: hvm :vm_mode: hvm
:xenapi_use_agent: False :xenapi_use_agent: False
* Volume API Version is 1
runabove runabove
-------- --------
@ -241,6 +248,7 @@ ZH Zurich, CH
* Images must be in `raw` format * Images must be in `raw` format
* Images must be uploaded using the Glance Task Interface * Images must be uploaded using the Glance Task Interface
* Volume API Version is 1
ultimum ultimum
------- -------
@ -253,6 +261,8 @@ Region Name Human Name
RegionOne Region One RegionOne Region One
============== ================ ============== ================
* Volume API Version is 1
unitedstack unitedstack
----------- -----------
@ -267,6 +277,7 @@ gd1 Guangdong
* Identity API Version is 3 * Identity API Version is 3
* Images must be in `raw` format * Images must be in `raw` format
* Volume API Version is 1
vexxhost vexxhost
-------- --------

View File

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

View File

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

View File

@ -9,6 +9,7 @@
"nz_wlg_2" "nz_wlg_2"
], ],
"image_api_version": "1", "image_api_version": "1",
"volume_api_version": "1",
"image_format": "raw" "image_format": "raw"
} }
} }

View File

@ -9,6 +9,7 @@
"Sto2", "Sto2",
"Kna1" "Kna1"
], ],
"volume_api_version": "1",
"identity_api_version": "3" "identity_api_version": "3"
} }
} }

View File

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

View File

@ -9,6 +9,7 @@
"region-b.geo-1" "region-b.geo-1"
], ],
"dns_service_type": "hpext:dns", "dns_service_type": "hpext:dns",
"volume_api_version": "1",
"image_api_version": "1" "image_api_version": "1"
} }
} }

View File

@ -18,6 +18,7 @@
"image_format": "vhd", "image_format": "vhd",
"floating_ip_source": "None", "floating_ip_source": "None",
"secgroup_source": "None", "secgroup_source": "None",
"volume_api_version": "1",
"disable_vendor_agent": { "disable_vendor_agent": {
"vm_mode": "hvm", "vm_mode": "hvm",
"xenapi_use_agent": false "xenapi_use_agent": false

View File

@ -8,6 +8,7 @@
"LS", "LS",
"ZH" "ZH"
], ],
"volume_api_version": "1",
"image_api_use_tasks": true, "image_api_use_tasks": true,
"image_format": "raw" "image_format": "raw"
} }

View File

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

View File

@ -8,6 +8,7 @@
"bj1", "bj1",
"gd1" "gd1"
], ],
"volume_api_version": "1",
"identity_api_version": "3", "identity_api_version": "3",
"image_format": "raw", "image_format": "raw",
"floating_ip_source": "None" "floating_ip_source": "None"