Comment 4 for bug 2054124

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

Reviewed: https://review.opendev.org/c/starlingx/distcloud-client/+/909278
Committed: https://opendev.org/starlingx/distcloud-client/commit/02444385e977d1c3d002a764a11fd6f9fc2aa0dc
Submitter: "Zuul (22348)"
Branch: master

commit 02444385e977d1c3d002a764a11fd6f9fc2aa0dc
Author: Li Zhu <email address hidden>
Date: Thu Feb 29 20:07:49 2024 -0500

    Output an informative message after running out-of-sync operations

    Add a minor enhancement to GEO-redundancy. Output an informative message
    after running below out-of-sync operations, informing the operator that
    a sync command should be executed.
    Adding subcloud(s) to the SPG.
    Removing subcloud(s) from the SPG.
    Updating subcloud(s) in the SPG.

    Test plan:
    Pre-Steps: 1. Create the system peer from Site A to Site B
               2. Create System peer from Site B to Site A
               3. Create the subcloud peer group in the Site A
               4. Add subcloud(s) to the peer group
               5. Create peer group association to associate system peer
                  and subcloud peer group - Site A
               6. Check current sync status on Sites A and B. Verify
                  they are 'in-sync'.
    PASS: Verify that the corresponding informative message is printed out
          after running below out-of-sync operations:
          1. Adding subcloud to the SPG.
          2. Removing subcloud from the SPG.
          3. Updating subcloud in the SPG, for example, bootstrap address,
             bootstrap values or install values.
    PASS: Verify that informative message is not printed when running any
          operation on the sublcoud which does not belong to an SPG.

    Depends-On: https://review.opendev.org/c/starlingx/distcloud/+/909277

    Closes-Bug: 2054124

    Change-Id: I1614a719190b2645eb8139b158b0bab257d0f91d
    Signed-off-by: lzhu1 <email address hidden>