distcloud/distributedcloud/ocf
Chris Friesen c71703128e Move subcloud audit to new worker processes
In order to allow for faster subcloud audits, introduce a new
"audit-worker" process.  By default there will be four worker
processes to perform the actual subcloud audits.

The main audit process will scan the DB for subclouds which need
auditing based on the new audit start/end timestamps.  It will
then send out RPC messages to the "audit-worker" processes to
request an audit for a list of subcloud IDs.

When the "audit-worker" process receives the "audit_subclouds" RPC
message, it loops over each of the specified subclouds.  For each
subcloud it updates the DB to indicate that the audit is starting
for that subcloud, then basically does the exact same audit that
is currently done in the audit process, then updates the DB to
indicate that the audit has been completed for that subcloud.

Story: 2007267
Task: 41336
Signed-off-by: Chris Friesen <chris.friesen@windriver.com>
Change-Id: Ifb3dd363fd337d24f2c3f7aaa3549624fffaceca
2021-02-25 19:04:01 +00:00
..
dcdbsync-api Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
dcmanager-api Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
dcmanager-audit Move subcloud audit to separate process 2020-05-14 09:34:23 -05:00
dcmanager-audit-worker Move subcloud audit to new worker processes 2021-02-25 19:04:01 +00:00
dcmanager-manager Set up /var/run/dcmanager as dcmanager's default temp files location 2020-06-17 10:40:23 -04:00
dcmanager-orchestrator Move dcmanager orchestration to a separate process 2020-09-14 11:17:06 -04:00
dcorch-cinder-api-proxy Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
dcorch-engine Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
dcorch-identity-api-proxy Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
dcorch-neutron-api-proxy Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
dcorch-nova-api-proxy Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
dcorch-patch-api-proxy Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
dcorch-sysinv-api-proxy Extend sysinv api proxy to support load operations 2020-06-01 16:16:20 -04:00