distcloud/distributedcloud/dcmanager/api/controllers/v1
Zhang Rong(Jon) 827799658c Remove the require_audit_flag while checking remote SPG status
This commit removes the require_audit_flag from the peer group
audit conditional, preventing local subclouds from being
incorrectly set to secondary status when a non-primary site
comes online.

Additionally, it removes the "subcloud migrate" API, as the
"subcloud-peer-group migrate" can be re-executed to migrate a
single subcloud that failed to migrate in a previous attempt.

Test Plan:
PASS - Power off the primary site and migrate the subclouds to
       the non-primary site. Power on the primary site after the
       migration is complete, checking the subclouds' status on
       both sites. On the primary site, the subclouds should be
       secondary, and on the non-primary site, they should be
       managed and online.
PASS - With both the primary site and non-primary site online,
       migrate the subclouds away and back, verifying that
       the operation completes successfully.

Closes-Bug: 2049336
Depends-On: I793bee7d680d59a4d29a585c88c8c1689976ee1b

Change-Id: Ib702fcf318d01bd7bfa8a19ec2aee516f6089cb0
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
2024-01-16 17:49:50 -03:00
..
__init__.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
alarm_manager.py Implement access control for DC API 2022-09-22 18:26:35 -03:00
notifications.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
peer_group_association.py Fix unable to determine the SPG sync state if one site is down 2024-01-02 16:39:08 +08:00
phased_subcloud_deploy.py Merge "Add install_values as a source for bootstrap_address" 2024-01-11 22:16:41 +00:00
root.py Add dcmanager peer group association management API support 2023-11-04 10:36:41 +08:00
subcloud_backup.py Fix: Error Handling for YAML Load 2023-10-29 21:17:04 -04:00
subcloud_deploy.py Add 'subcloud deploy delete' command to dcmanager 2024-01-09 03:51:31 -05:00
subcloud_group.py Disallow using regular expression chars for system/peer-group/group name 2024-01-12 08:47:08 +08:00
subcloud_peer_group.py Fix request error in REST-API when group-priority is an int 0 value 2024-01-12 03:27:29 +00:00
subclouds.py Remove the require_audit_flag while checking remote SPG status 2024-01-16 17:49:50 -03:00
sw_update_options.py Implement access control for DC API 2022-09-22 18:26:35 -03:00
sw_update_strategy.py Add sw version validation to all release param endpoints 2023-09-26 10:18:48 -04:00
system_peers.py Disallow using regular expression chars for system/peer-group/group name 2024-01-12 08:47:08 +08:00