distcloud/distributedcloud/dcmanager
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
..
api Merge "Backend support for dcmanager prestage orchestration" 2022-03-03 16:48:26 +00:00
audit Firmware audit fix for root key and key revocation images 2022-03-03 19:23:14 -05:00
cmd Refactor portion of dcmanager into dcmanager-state process 2022-01-27 16:33:41 -05:00
common Fix prestage orchestration details for skipped subclouds 2022-03-07 14:13:51 -05:00
db Backend support for dcmanager prestage orchestration 2022-03-03 09:40:01 -05:00
manager Backend support for dcmanager subcloud prestage 2022-02-17 15:40:39 -05:00
objects Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
orchestrator Fix prestage orchestration details for skipped subclouds 2022-03-07 14:13:51 -05:00
rpc Backend support for dcmanager subcloud prestage 2022-02-17 15:40:39 -05:00
state Refactor portion of dcmanager into dcmanager-state process 2022-01-27 16:33:41 -05:00
tests Merge "Backend support for dcmanager prestage orchestration" 2022-03-03 16:48:26 +00:00
__init__.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
config-generator.conf Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
version.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00