Remove remaining logic for identity v2 api
Change-Id: I1da80c66b0d01cefd5ac1cb89a75cec00e596bb4
This commit is contained in:
parent
99cc91ff93
commit
f68fab9144
@ -318,7 +318,7 @@ Keystone Config parameters
|
||||
Password to use for the Identity service 'demo' user.
|
||||
|
||||
**CONFIG_KEYSTONE_API_VERSION**
|
||||
Identity service API version string. ['v2.0', 'v3']
|
||||
Identity service API version string. ['v3']
|
||||
|
||||
**CONFIG_KEYSTONE_TOKEN_FORMAT**
|
||||
Identity service token format (FERNET). Since Rocky, only FERNET is supported. ['FERNET']
|
||||
|
@ -125,7 +125,7 @@ def initConfig(controller):
|
||||
|
||||
{"CMD_OPTION": "keystone-api-version",
|
||||
"PROMPT": "Enter the Keystone API version string.",
|
||||
"OPTION_LIST": ['v2.0', 'v3'],
|
||||
"OPTION_LIST": ['v3'],
|
||||
"VALIDATORS": [validators.validate_options],
|
||||
"DEFAULT_VALUE": 'v3',
|
||||
"MASK_INPUT": False,
|
||||
|
@ -14,9 +14,8 @@ class packstack::provision::tempest ()
|
||||
}
|
||||
|
||||
# Authentication/Keystone
|
||||
$identity_uri = regsubst(lookup('CONFIG_KEYSTONE_PUBLIC_URL'), 'v3', 'v2.0')
|
||||
$identity_uri_v3 = regsubst(lookup('CONFIG_KEYSTONE_PUBLIC_URL'), 'v2.0', 'v3')
|
||||
$auth_version = regsubst(lookup('CONFIG_KEYSTONE_API_VERSION'), '.0', '')
|
||||
$identity_uri_v3 = lookup('CONFIG_KEYSTONE_PUBLIC_URL')
|
||||
$auth_version = lookup('CONFIG_KEYSTONE_API_VERSION')
|
||||
$admin_username = lookup('CONFIG_KEYSTONE_ADMIN_USERNAME')
|
||||
$admin_password = lookup('CONFIG_KEYSTONE_ADMIN_PW')
|
||||
$admin_project_name = 'admin'
|
||||
@ -128,7 +127,6 @@ class packstack::provision::tempest ()
|
||||
glance_available => $glance_available,
|
||||
heat_available => $heat_available,
|
||||
horizon_available => $horizon_available,
|
||||
identity_uri => $identity_uri,
|
||||
identity_uri_v3 => $identity_uri_v3,
|
||||
image_alt_ssh_user => $image_alt_ssh_user,
|
||||
image_name_alt => $image_name,
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
The ``CONFIG_KEYSTONE_API_VERSION`` parameter no longer accepts ``v2.0``.
|
||||
Identity v2 API was alreday removed from Keystone.
|
Loading…
Reference in New Issue
Block a user