distcloud/distributedcloud/dcmanager/state
Hugo Brito 01d689f0f9 Create a software audit
Today, the software audit is being conducted alongside the patch audit (load/patching). However, because the software audit uses a different RestAPI, any failures in it also result in patch audit failures. This commit creates a new software audit to separate it from the patch audit.

Note that the patch audit will be removed later on.

TEST PLAN:
PASS: Manage a subcloud and get all audits in-sync.
- Software, load, and patching audits working properly.
PASS: Test with Software RestAPI disabled/broken.
- Load and patching audits working properly
- Software audit unknown status.

Story: 2010676
Task: 49598

Change-Id: I38c00bfdf4d86d56e1e656892f7de32206755865
Signed-off-by: Hugo Brito <hugo.brito@windriver.com>
2024-02-27 15:58:49 -03:00
..
README.rst Refactor portion of dcmanager into dcmanager-state process 2022-01-27 16:33:41 -05:00
__init__.py Refactor portion of dcmanager into dcmanager-state process 2022-01-27 16:33:41 -05:00
service.py Create a software audit 2024-02-27 15:58:49 -03:00
subcloud_state_manager.py Update tox pylint/pep8 for dcmanager 2024-01-18 21:51:25 +00:00

README.rst

Service

DC Manager State Service has responsibility for:

Subcloud state updates coming from dcmanager-manager service

service.py:

run DC Manager State Service in multi-worker mode, and establish RPC server

subcloud_state_manager.py:

Provide subcloud state updates