Reconfig openstack endpoint on standalone

Code for creating unique region name in the
bootstrap step, this generate unique region name for
the non-systemcontroller and  subcloud name may
optionally be overridden by config.

reconfig happens in the bootstrap and region_name
will change to UUID for non-systemcontroller and subcloud

Generation of UUID region_name  will happen only if
distributed_cloud_role is subcloud or none

Test Plan:
PASS: DC SystemController Installation and subcloud deployment.
PASS: Standalone Cloud deployment.
PASS: Deploy an AIO-SX system and verify the host unlocks
PASS: Perform bootstrap replay and ensure the host unlocks after
re-execution

Story: 2011100
Task: 50078

Change-Id: I59cc6d294b654d9db995d6cae5db29dc75a497e3
Signed-off-by: Yuxing Jiang <Yuxing.Jiang@windriver.com>
This commit is contained in:
Yuxing Jiang 2024-03-25 17:27:07 -04:00 committed by rummadis
parent be1d47c726
commit bc164b708a

View File

@ -1,13 +1,13 @@
class platform::client::params (
$admin_username,
$identity_auth_url,
$identity_region = 'RegionOne',
$identity_region = lookup('platform::client::params::identity_region', {default_value => 'RegionOne'}),
$identity_api_version = 3,
$admin_user_domain = 'Default',
$admin_project_domain = 'Default',
$admin_project_name = 'admin',
$admin_password = undef,
$keystone_identity_region = 'RegionOne',
$keystone_identity_region = lookup('platform::client::params::keystone_identity_region', {default_value => 'RegionOne'}),
) { }
class platform::client