Comment 2 for bug 2017012

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

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

commit d76f79b9bcbcbe2f0ec76dc3f1d75809f0692efd
Author: Christopher Souza <email address hidden>
Date: Wed Apr 19 13:31:04 2023 -0300

    Set subcloud to offline before reinstalling

    In this commit, the DC upgrade orchestrator was updated to make
    sure the subcloud would be offline during installation and migrating
    data stages. This was changed to avoid misleading output when
    checking the subcloud availability. Before this change, during the
    mentioned stages, the availability would be online, even though it
    was not possible to ping the subcloud. When the subcloud deploy
    status changes to migrated, install failed or migration failed,
    the audit will be triggered and the availability will be set
    accordingly.

    Test Plan:
    PASS: upgrade system controller and sx subcloud and when orchestration
    reach upgrade simplex, verify that subcloud is offline. Once subcloud
    deploy status changes to migrated, verify that the subcloud is online.

    Closes-Bug: 2017012

    Signed-off-by: Christopher Souza <email address hidden>
    Change-Id: Ie13e5750fabd35cc91689d5b7f9d3e09f637bba7