distcloud/distributedcloud
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
..
centos Migrate distributedcloud .deb from dl_hooks 2023-01-13 15:46:06 +00:00
dccommon Fix unable to determine the SPG sync state if one site is down 2024-01-02 16:39:08 +08:00
dcdbsync Implement access control for DC API 2022-09-22 18:26:35 -03:00
dcmanager Fix unable to determine the SPG sync state if one site is down 2024-01-02 16:39:08 +08:00
dcorch Fix load-import --local with proxy 2023-11-14 18:54:25 -03:00
debian Decontainerizing rvmc.py and Modular Integration in DC Repo 2023-11-10 18:18:23 -05:00
etc Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
files Extend subcloud bootstrap log rotation size 2023-06-30 11:47:10 -04:00
ocf Refactor portion of dcmanager into dcmanager-state process 2022-01-27 16:33:41 -05:00
scripts Decontainerizing rvmc.py and Modular Integration in DC Repo 2023-11-10 18:18:23 -05:00
.coveragerc Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
.coveragerc_xml Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
.pylintrc Update tox configuration for Distributed Cloud 2023-08-29 17:29:17 -03:00
.testr.conf Fix unit test parallelization issues 2021-09-14 10:42:56 -05:00
LICENSE Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
MANIFEST.in Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
README.rst Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
__init__.py Implement the state for Simplex Upgrade 2020-06-19 17:09:07 -04:00
babel.cfg Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
requirements.txt Decontainerizing rvmc.py and Modular Integration in DC Repo 2023-11-10 18:18:23 -05:00
setup.cfg Refactor portion of dcmanager into dcmanager-state process 2022-01-27 16:33:41 -05:00
setup.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
test-requirements.txt Decontainerizing rvmc.py and Modular Integration in DC Repo 2023-11-10 18:18:23 -05:00
tox.ini Update tox configuration for Distributed Cloud 2023-08-29 17:29:17 -03:00

README.rst

DistributedCloud

Wind River's Distributed Cloud system supports an edge computing solution by providing central management and orchestration for a geographically distributed network of Titanium Cloud systems.