distcloud/distributedcloud/dcmanager/tests
Bart Wensley e2defd574f Fix dc-cert sync status handling for unmanaged subcloud
When a subcloud is unmanaged and then managed again, it will
never go back in sync. This is because all sync_statuses are
set to unknown when the unmanage is done. However, the
dc-cert_sync_status is only set to in-sync when the subcloud
transitions from offline to online. So in this case the
dc-cert_sync_status stays as unknown.

The fix is to avoid setting the dc-cert sync status to unknown
when a subcloud is unmanaged. The dc-cert sync status will
still being audited for unmanaged subclouds so there is no
need to do this.

Change-Id: I7a53c11888b8866c6077679265d69c36faf4e264
Closes-Bug: 1887733
Signed-off-by: Bart Wensley <barton.wensley@windriver.com>
(cherry picked from commit 6a16d05061)
2020-07-16 17:26:43 +00:00
..
unit Fix dc-cert sync status handling for unmanaged subcloud 2020-07-16 17:26:43 +00:00
__init__.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
base.py Implement the state for Simplex Upgrade 2020-06-19 17:09:07 -04:00
utils.py Implement the state for Simplex Upgrade 2020-06-19 17:09:07 -04:00