
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
57 lines
2.0 KiB
INI
57 lines
2.0 KiB
INI
[metadata]
|
|
name = distributedcloud
|
|
summary = Distributed Cloud
|
|
description-file =
|
|
README.rst
|
|
author = StarlingX
|
|
author-email = starlingx-discuss@lists.starlingx.io
|
|
home-page = https://www.starlingx.io/
|
|
classifier =
|
|
Environment :: StarlingX
|
|
Intended Audience :: Information Technology
|
|
Intended Audience :: System Administrators
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: POSIX :: Linux
|
|
Programming Language :: Python
|
|
Programming Language :: Python :: 2
|
|
Programming Language :: Python :: 2.7
|
|
Programming Language :: Python :: 3
|
|
Programming Language :: Python :: 3.3
|
|
Programming Language :: Python :: 3.4
|
|
|
|
[files]
|
|
packages =
|
|
dccommon
|
|
dcmanager
|
|
dcorch
|
|
dcdbsync
|
|
|
|
[entry_points]
|
|
console_scripts =
|
|
dcmanager-api = dcmanager.cmd.api:main
|
|
dcmanager-audit = dcmanager.cmd.audit:main
|
|
dcmanager-audit-worker = dcmanager.cmd.audit_worker:main
|
|
dcmanager-orchestrator = dcmanager.cmd.orchestrator:main
|
|
dcmanager-manager = dcmanager.cmd.manager:main
|
|
dcmanager-manage = dcmanager.cmd.manage:main
|
|
dcorch-api = dcorch.cmd.api:main
|
|
dcorch-engine = dcorch.cmd.engine:main
|
|
dcorch-manage = dcorch.cmd.manage:main
|
|
dcorch-api-proxy = dcorch.cmd.api_proxy:main
|
|
dcdbsync-api = dcdbsync.cmd.api:main
|
|
|
|
oslo.config.opts =
|
|
dcorch.common.config = dcorch.common.config:list_opts
|
|
dcorch.common.api.api_config = dcorch.api.api_config:list_opts
|
|
dcorch.engine.quota_manager = dcorch.engine.quota_manager:list_opts
|
|
dcorch.engine.dcorch_lock = dcorch.engine.dcorch_lock:list_opts
|
|
dcmanager.common.config = dcmanager.common.config:list_opts
|
|
dcmanager.common.api.api_config = dcmanager.api.api_config:list_opts
|
|
dcdbsync.common.config = dcdbsync.common.config:list_opts
|
|
dcdbsync.common.api.api_config = dcdbsync.api.api_config:list_opts
|
|
|
|
[extract_messages]
|
|
keywords = _ gettext ngettext l_ lazy_gettext
|
|
mapping_file = babel.cfg
|
|
output_file = dcmanager/locale/dcmanager.pot
|