Use Block Storage API v3
The openstackclient has defaulted to using the v3 API since 4.0.0 [0],
so there is no reason for grenade to insist on using v2, especially since
v2 is being removed in Xena [1].
[0] a96089ff6d
[1] https://review.opendev.org/c/openstack/cinder/+/792299
Change-Id: Ie558d45374f92f79942b80a9c27fd393ad4f4761
This commit is contained in:
parent
e816fafffc
commit
e3cf221066
|
@ -42,8 +42,8 @@ DEFAULT_IMAGE_NAME=${DEFAULT_IMAGE_NAME:-cirros-0.3.2-x86_64-uec}
|
|||
|
||||
export OS_IMAGE_API_VERSION=2
|
||||
|
||||
# BUG openstack client doesn't work with cinder v3
|
||||
export OS_VOLUME_API_VERSION=2
|
||||
# Block Storage API v2 was deprecated in Pike and removed in Xena
|
||||
export OS_VOLUME_API_VERSION=3
|
||||
|
||||
if ! is_service_enabled c-api; then
|
||||
echo "Cinder is not enabled. Skipping resource phase $1 for cinder."
|
||||
|
|
Loading…
Reference in New Issue