Merge "Add OS_COMPUTE_API_VERSION to overcloudrc"
This commit is contained in:
commit
72e36309ce
@ -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_AUTH_URL': overcloud_endpoint.replace('/v2.0', ''),
|
||||
'OS_IDENTITY_API_VERSION': '3',
|
||||
'OS_COMPUTE_API_VERSION': '2.latest',
|
||||
'OS_IMAGE_API_VERSION': constants.DEFAULT_IMAGE_API_VERSION,
|
||||
'OS_VOLUME_API_VERSION': constants.DEFAULT_VOLUME_API_VERSION,
|
||||
'OS_REGION_NAME': region_name or 'regionOne'
|
||||
|
Loading…
Reference in New Issue
Block a user