distcloud/api-ref/source/samples
Zhang Rong(Jon) e422731760 Fix unable to determine the SPG sync state if one site is down
If Site1 (the local site) is down while setting up the protection
group, the subcloud peer group sync state is unable to determine.
This commit will automatically create the non-primary association on
Site2 (the peer site) when creating a primary association, and
update the sync state to the non-primary association. Then the
operator can check the sync state on Site2 if Site1 is down.

Test Plan:
- PASS: Create a primary association and check the non-primary
        association on peer site. It was created, and sync_status
        will follow the primary association's sync_status.
- PASS: Delete the primary association and check the non-primary
        association on peer site. It was deleted.
- PASS: If you restart the "dcmanager-manager service" in the local
        site while the association sync_status is in "syncing", the
        sync_status will transition to "failed".
- PASS: Create a primary association and wait for the sync_status
        change to "in-sync". Delete the subcloud peer group on peer
        site, the deletion will fail because it is associating to
        the non-primary association.

Closes-Bug: 2046809

Change-Id: Ia917d0dc7c65fbea1e222fb52dbec79fdbe65b65
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
2024-01-02 16:39:08 +08:00
..
alarms Updating API docs for dcmanager commands 2022-01-13 12:45:53 -06:00
peer-group-associations Fix unable to determine the SPG sync state if one site is down 2024-01-02 16:39:08 +08:00
phased-subcloud-deploy Subcloud Name Reconfiguration 2023-09-07 10:30:06 -03:00
subcloud-backup Subcloud Name Reconfiguration 2023-09-07 10:30:06 -03:00
subcloud-deploy Add release optionality to subcloud add/reinstall 2023-04-03 00:12:39 +00:00
subcloud-groups Subcloud Name Reconfiguration 2023-09-07 10:30:06 -03:00
subcloud-peer-groups System peer and subcloud peer group monitoring and handling 2023-11-06 10:12:31 +08:00
subclouds Subcloud Name Reconfiguration 2023-09-07 10:30:06 -03:00
sw-update-options Updating API docs for dcmanager commands 2022-01-13 12:45:53 -06:00
sw-update-strategy Add upload-only parameter to dcmanager api-ref docs 2023-03-15 09:12:05 -03:00
system-peers Add dcmanager peer group association management API support 2023-11-04 10:36:41 +08:00
root-get-response.json Updating API docs for dcmanager commands 2022-01-13 12:45:53 -06:00