Update default Keystone api_version

This change moves the default return value for the Keystone api_version
 to 3.0 instead of 2.0. By this point in time, all supported OpenStack
  releases use Keystone API version 3.0 instead of 2.0.
 This was previously causing Nova templates to render with 2.0 in the
 Keystone auth URL instead of 3.0, which caused auth failures.

Closes-Bug: 1995778
Change-Id: I6463a24fe4aaa654a58cff56720a55f0950db717
This commit is contained in:
Jadon Naas 2023-09-19 17:28:16 -04:00
parent e0d3b6a365
commit 98581a04d5
1 changed files with 1 additions and 1 deletions

View File

@ -533,7 +533,7 @@ def _auth_config():
'keystone_host': ks_auth_host,
'service_tenant': ncc_utils.auth_token_config('admin_tenant_name'),
# add api version if found
'api_version': ncc_utils.auth_token_config('api_version') or '2.0',
'api_version': ncc_utils.auth_token_config('api_version') or '3.0',
'admin_domain_name': ncc_utils.auth_token_config('admin_domain_name')
}
return cfg