
This commit introduces dccertmon, a new managed service for DC certificate auditing and management. Currently, platform cert management, DC cert management, and subcloud cert auditing are coupled into a single platform service (certmon). To meet the requirements of DC scalability and portability, DC specific functionality must be decoupled. These changes lay the groundwork for the new service, by: - Creating the necessary service files. - Introducing configs for the service. - Declaring high level methods (Skeleton - lifecycle and manager) DC-specific functionality will be migrated to this dccertmon service and optimized in subsequent changes. Non-DC cert management will continue to be handled by certmon. Overall, this commit introduces: - The OCF file necessary for high availability management of the dccertmon service by SM. - Package configurations to build the service (Package: distributedcloud-dccertmon). - Lifecycle manager for a running DC cert monitor service. - Skeleton/base service application logic - CertificateMonitorManager. - RPC notification handlers for subcloud online/managed. - Configuration for the log folders and log rotation. The logs will be available in /var/log/dccertmon/dccertmon.log. These changes are part of a set of commits to introduce the dccertmon service: [1] https://review.opendev.org/c/starlingx/ha/+/941205 [2] https://review.opendev.org/c/starlingx/stx-puppet/+/941208 Test Plan: - PASS: Build dccertmon package - PASS: Install and bootstrap system with custom ISO containing the newly created dccertmon package - PASS: Verify that the dccertmon.service is loaded - PASS: Verify dccertmon is being properly logged to the correct folder. - PASS: Check logged messages and verify execution of - Cert Watcher thread - Task Executor (Audit thread) - Periodic tasks running at expected intervals - PASS: Configure and provision the service using SM and verify it has correctly started and can be restarted with 'sm-restart'. - PASS: Tox checks running on dccertmon Note: This commit has been tested alongside the related changes and their respective test plans. [1][2] Story: 2011311 Task: 51663 Change-Id: Ic23d8d13e4b292cf0508d23eaae99b8e07f36d31 Signed-off-by: Salman Rana <salman.rana@windriver.com>
65 lines
2.3 KiB
INI
65 lines
2.3 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
|
|
dcagent
|
|
dccertmon
|
|
|
|
[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
|
|
dcmanager-state = dcmanager.cmd.state:main
|
|
dcorch-api = dcorch.cmd.api:main
|
|
dcorch-engine = dcorch.cmd.engine:main
|
|
dcorch-engine-worker = dcorch.cmd.engine_worker:main
|
|
dcorch-manage = dcorch.cmd.manage:main
|
|
dcorch-api-proxy = dcorch.cmd.api_proxy:main
|
|
dcdbsync-api = dcdbsync.cmd.api:main
|
|
dcagent-api = dcagent.cmd.audit:main
|
|
dccertmon = dccertmon.cmd.cert_mon:main
|
|
|
|
oslo.config.opts =
|
|
dccertmon.cmd.cert_mon.config = dccertmon.common.config:list_opts
|
|
dcagent.common.config = dcagent.common.config:list_opts
|
|
dcagent.common.api.api_config = dcagent.api.api_config:list_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
|
|
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
|