Comment 4 for bug 1978134

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

Reviewed: https://review.opendev.org/c/starlingx/config/+/845303
Committed: https://opendev.org/starlingx/config/commit/693a85bad13b353f2aee227b473e553db0cc6151
Submitter: "Zuul (22348)"
Branch: master

commit 693a85bad13b353f2aee227b473e553db0cc6151
Author: Junfeng Li <email address hidden>
Date: Thu Jun 9 18:22:00 2022 -0400

    Prevent a new host to be added to AIO-SX

    Details: 1. Added a condition check to prevent a host from being added to an AIO-SX.
             2. Updated host delete() to allow hosts to be deleted if it is not controller-0 in AIO-SX

    Closes-Bug: 1978134

    Test Plan:
    PASS: Unit test cases against non controller-0 AIO-SX host deletion
    PASS: Patched local simplex system and ran reproduced steps
    PASS: Migration from SX to DX

    Signed-off-by: Junfeng Li <email address hidden>

    Change-Id: I3510bc43f13869ec76673ec50a879b463ee760f4