Merge "Define all api versions in constraints"
This commit is contained in:
commit
580ac98b4f
@ -160,6 +160,12 @@ DO_NOT_ROTATE_LIST = (
|
||||
|
||||
PLAN_NAME_PATTERN = '^[a-zA-Z0-9-]+$'
|
||||
|
||||
# The default version of the Identity API to set in overcloudrc.
|
||||
DEFAULT_IDENTITY_API_VERSION = '3'
|
||||
|
||||
# The default version of the Compute API to set in overcloudrc.
|
||||
DEFAULT_COMPUTE_API_VERSION = '2.latest'
|
||||
|
||||
# The default version of the Image API to set in overcloudrc.
|
||||
DEFAULT_IMAGE_API_VERSION = '2'
|
||||
|
||||
|
@ -92,8 +92,8 @@ def create_overcloudrc(stack, no_proxy, admin_password, region_name):
|
||||
'OS_AUTH_TYPE': 'password',
|
||||
'OS_PASSWORD': admin_password,
|
||||
'OS_AUTH_URL': overcloud_endpoint.replace('/v2.0', ''),
|
||||
'OS_IDENTITY_API_VERSION': '3',
|
||||
'OS_COMPUTE_API_VERSION': '2.latest',
|
||||
'OS_IDENTITY_API_VERSION': constants.DEFAULT_IDENTITY_API_VERSION,
|
||||
'OS_COMPUTE_API_VERSION': constants.DEFAULT_COMPUTE_API_VERSION,
|
||||
'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