Add OS_COMPUTE_API_VERSION to overcloudrc
openstack cli doesn't negotiate a microversion. Live migration and multiattach are 2 examples of operations which require arcane incantations to make them work correctly, and therefore usually don't. This adds ``OS_COMPUTE_API_VERSION=2.latest`` to the overcloudrc file to fix it. Change-Id: I6bb4ef5d3d0e53b12f8636b998d7f7c2426c2b60
This commit is contained in:
parent
58abba685e
commit
f3e3208fb7
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
openstack cli doesn't negotiate a microversion. Live migration and
|
||||||
|
multiattach are 2 examples of operations which require arcane incantations
|
||||||
|
to make them work correctly, and therefore usually don't.
|
||||||
|
This adds ``OS_COMPUTE_API_VERSION=2.latest`` to the overcloudrc file to
|
||||||
|
fix it.
|
@ -90,6 +90,7 @@ def create_overcloudrc(stack, no_proxy, admin_password, region_name):
|
|||||||
'OS_PASSWORD': admin_password,
|
'OS_PASSWORD': admin_password,
|
||||||
'OS_AUTH_URL': overcloud_endpoint.replace('/v2.0', ''),
|
'OS_AUTH_URL': overcloud_endpoint.replace('/v2.0', ''),
|
||||||
'OS_IDENTITY_API_VERSION': '3',
|
'OS_IDENTITY_API_VERSION': '3',
|
||||||
|
'OS_COMPUTE_API_VERSION': '2.latest',
|
||||||
'OS_IMAGE_API_VERSION': constants.DEFAULT_IMAGE_API_VERSION,
|
'OS_IMAGE_API_VERSION': constants.DEFAULT_IMAGE_API_VERSION,
|
||||||
'OS_VOLUME_API_VERSION': constants.DEFAULT_VOLUME_API_VERSION,
|
'OS_VOLUME_API_VERSION': constants.DEFAULT_VOLUME_API_VERSION,
|
||||||
'OS_REGION_NAME': region_name or 'regionOne'
|
'OS_REGION_NAME': region_name or 'regionOne'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user