distcloud/distributedcloud/dcmanager/orchestrator/states
Kyle MacLeod 9c4d1e9965 Fix prestage orchestration details for skipped subclouds
Ensure that the 'details' field reflects the reason a subcloud is
skipped during prestage orchestration.

We use a new exception, StrategySkippedException, to signal the
OrchThread that a subcloud is being skipped. This immediately
transitions the subcloud strategy to complete, while preserving
the reason for skipping in the strategy_step details.

NOTE: this update also includes a minor update
to the API parameters file, which was missed in the
original feature commit (api-ref/source/parameters.yaml)

Test Plan:

PASS:
- normal prestage orchestration
- prestage orchestration with non-AIO-SX subcloud
    - subcloud is skipped
    - details populated and reported in details column
      of 'dcmanager strategy-step list'
    - subcloud deploy_status is returned to 'complete'
- verify feature logging

Closes-Bug: 1963967
Signed-off-by: Kyle MacLeod <kyle.macleod@windriver.com>
Change-Id: I3408f274e3e04410872716b718130a3a27006c36
2022-03-07 14:13:51 -05:00
..
firmware Refactor portion of dcmanager into dcmanager-state process 2022-01-27 16:33:41 -05:00
kube DC kube upgrade robustness improvements 2021-12-22 11:40:38 -06:00
kube_rootca Add features to kube-root-ca update orchestration 2021-10-06 08:01:33 -05:00
prestage Fix prestage orchestration details for skipped subclouds 2022-03-07 14:13:51 -05:00
upgrade Provide persistent_size value over simplex upgrade 2022-02-25 11:59:14 -05:00
__init__.py Move dcmanager orchestration to a separate process 2020-09-14 11:17:06 -04:00
applying_vim_strategy.py Handle VIM restarts and strategy queries more robustly 2021-11-09 11:53:03 -06:00
base.py Update endpoint cache clients 2021-08-26 12:43:03 -04:00
creating_vim_strategy.py Distributed Cloud Kubernetes Upgrade Orchestration 2021-03-03 11:24:14 -06:00
lock_host.py Upgrade Orchestration for Standard subclouds 2021-01-28 05:25:54 -05:00
swact_host.py Make the swact unit test for upgrade orchestration run faster 2021-06-10 08:50:56 -05:00
unlock_host.py Add orchestrator unlock retry logic 2021-02-26 13:40:22 -05:00