Comment 2 for bug 1963967

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to distcloud (master)

Reviewed: https://review.opendev.org/c/starlingx/distcloud/+/832286
Committed: https://opendev.org/starlingx/distcloud/commit/9c4d1e9965ffccd9ce7b53e82dbe7b84c3b89f61
Submitter: "Zuul (22348)"
Branch: master

commit 9c4d1e9965ffccd9ce7b53e82dbe7b84c3b89f61
Author: Kyle MacLeod <email address hidden>
Date: Mon Mar 7 11:34:00 2022 -0500

    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 <email address hidden>
    Change-Id: I3408f274e3e04410872716b718130a3a27006c36