c71703128e
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 |
||
---|---|---|
.. | ||
dcdbsync-api | ||
dcmanager-api | ||
dcmanager-audit | ||
dcmanager-audit-worker | ||
dcmanager-manager | ||
dcmanager-orchestrator | ||
dcorch-cinder-api-proxy | ||
dcorch-engine | ||
dcorch-identity-api-proxy | ||
dcorch-neutron-api-proxy | ||
dcorch-nova-api-proxy | ||
dcorch-patch-api-proxy | ||
dcorch-sysinv-api-proxy |