distcloud/distributedcloud/dcmanager/manager
Gustavo Herzmann 165dd39c64 Fix bootstrap_address parameter name during PGA sync
This commit changes the bootstrap address parameter from
"bootstrap-address" to "bootstrap_address" during the subcloud update
call made during the PGA sync operation. This fixes the issue where
the bootstrap_address was not being updated on the peer site, as the
subcloud update API expects the "bootstrap_address" parameter, with
an underscore.

Test Plan:
1. PASS - Create a peer group association and let it do the initial
          sync. Modify the bootstrap-address of the subcloud using
          the subcloud update command and then run the PGA sync
          command. Verify that the rehome_data of the secondary
          subcloud was updated with the new address.

Closes-Bug: 2057973

Change-Id: Ib5786a56c90f771b940e740bc095ebc8168d2830
Signed-off-by: Gustavo Herzmann <gustavo.herzmann@windriver.com>
2024-03-14 18:37:29 -03:00
..
README.rst Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
__init__.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
peer_group_audit_manager.py Set PGA status to out-of-sync after certain operations 2024-03-08 19:38:31 +00:00
peer_monitor_manager.py Set PGA status to out-of-sync after certain operations 2024-03-08 19:38:31 +00:00
service.py Set PGA status to out-of-sync after certain operations 2024-03-08 19:38:31 +00:00
subcloud_manager.py Improve rehome_data semantic check and name update 2024-03-12 11:22:01 -03:00
system_peer_manager.py Fix bootstrap_address parameter name during PGA sync 2024-03-14 18:37:29 -03:00

README.rst

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.