distcloud/api-ref/source
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
..
samples Updating API docs for dcmanager commands 2022-01-13 12:45:53 -06:00
api-ref-dcmanager-v1.rst Support subcloud deploy upload prestaging images 2022-01-31 15:10:50 -05:00
conf.py Switch to newer openstackdocstheme and reno versions 2020-06-04 14:18:06 +02:00
index.rst Update landing pages for docs, api-ref, and release notes: 2020-01-21 16:36:06 -08:00
parameters.yaml Fix prestage orchestration details for skipped subclouds 2022-03-07 14:13:51 -05:00