Files
distcloud/distributedcloud/dcmanager/manager
Yuxing Jiang c16e7f9670 Update subcloud region and config for enrollment
This commit introduces following changes to support the subcloud
enrollment:
1. Updates the subcloud region name after getting it from the sysinv
public endpoint.
2. Re-writes the ansible config after the cert creation with the
certs contents added in to the payload.
3. Updates the ansible inventory file with admin credtials.

Story: 2011100
Task: 50655

Test-plan:
Passed - Trigger the subcloud enroll, and the enroll playbook succeeded
with the new config file.
Passed - Verify subcloud in-sync after managed.

Signed-off-by: Yuxing Jiang <Yuxing.Jiang@windriver.com>
Change-Id: I550a0d5b0cd5ceba36a59021a998a85750fac294
2024-07-27 14:00:46 -04:00
..
2024-06-25 12:04:31 -03:00

Service

DC Manager Service has responsibility for:

Main subcloud state machine as well as all operations on subclouds including creation, deletion and update.

service.py:

run DC Manager service in multi-worker mode, and establish RPC server

subcloud_manager.py:

Manages all subcloud related activities such as creation, deletion, availability status, management state

audit_manager.py:

A Periodic audit to contact each subcloud and ensure that at least one of each service group is up and active, which is a pre-requisite for declaring a subcloud as online.

scheduler.py:

Thread group manager, also responsible for periodic timer tasks - ie. audit.