Files
distcloud/distributedcloud/setup.cfg
Raphael Lima 0bfa018ec1 Enable dcmanager orchestrator's worker service
This commit enables dcmanager orchestrator's worker service for System
Controller and implements its communication to the orchestrator manager
process.

Test plan:
1. PASS: Build an ISO containing the changes for the implementation of
   the orchestrator worker and successfully deploy a new DC system.
2. PASS: Verify that the deployed system has the new service running as
   expected and logging to the orchestrator.log file.
3. PASS: Verify that the orchestrator-worker service can be managed by
   SM and that restarting dcmanager-manager also restarts the
   orchestrator worker.
4. PASS: Create a strategy with a max parallel subclouds smaller than
   the total number of subclouds being orchestrated and verify that the
   subclouds deletion is properly handled by multiple workers,
   respecting the parameter. Once the steps are removed, verify that the
   strategy is deleted by the manager process.
5. PASS: Create a strategy with a max parallel subclouds smaller than
   the total number of subclouds being orchestrated, apply it and
   verify that only the amount of subclouds specified by the parameter
   are processed at a time.
6. PASS: Start applying a strategy, restart dcmanager-manager service,
   verify that the orchestrator's manager identify that there was a
   strategy being applied and, once the orchestration interval has
   passed, it retrieves the steps that were being processed and send
   them to the workers.
7. PASS: Start applying a strategy, delete one of the worker processes
   that were handling steps, wait for the orchestration interval and
   verify that the manager sends the steps that were pending to a new
   worker.
8. PASS: When applying a strategy, verify that a step that is in the
   applying state for more than a minute has its updated_at field
   updated to the current time to avoid it being detected by the manager
   as a step that is not in process.
9. PASS: Create a strategy and verify that, when a step fails, the
   strategy's state is also set to failed.
10. PASS: Create a strategy with stop-on-failure set and verify that once
    a step reaches a failed state, all workers stop processing new steps.
11. PASS: Abort an applying strategy, verify that all steps in initial
    state are updated to aborted, the ones that were processing
    continue until they reach a finished state.
12. PASS: Verify that the manager's strategy monitoring thread only
    executes when a strategy is being applied, until it reaches a
    complete state, e.g. complete, failed or aborted, or when the
    strategy's deletion is requested.

Story: 2011311
Task: 51695

Change-Id: I3ad086fa3222eda6edd1d3a314b13cb0bde161ef
Signed-off-by: Raphael Lima <Raphael.Lima@windriver.com>
2025-04-17 12:34:15 -03:00

66 lines
2.4 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-orchestrator-worker = dcmanager.cmd.orchestrator_worker: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