ha/service-mgmt-api
junfeng-li 23f48bd545 Deploy state sync on swact
This commit is to ensure both controllers
deployment state is in synced before host
swact during platform upgrade.

If the USM deploy is not started, this host swact
pre-check is always passed.

During the pre-swact check, the SM calls
USM REST API endpoint to get the controller
sync status. If the controllers deployment state
is not in sync, the host swact is stopped.

Depends-on: https://review.opendev.org/c/starlingx/update/+/906005

Test Plan:

PASS: executed host swact when controllers are in sync
PASS: executed host swact when controllers are not in sync

Task: 49425
Story: 2010676

Change-Id: I8d262a731583f691fd0d85a33ddebcbb12f549e8
Signed-off-by: junfeng-li <junfeng.li@windriver.com>
2024-02-28 20:07:48 +00:00
..
centos Add auto-version for remaining stx/ha packages 2020-12-17 13:27:02 -05:00
debian Update debian package versions to use git commits 2023-02-10 10:14:48 -08:00
opensuse openSUSE: Runtime Dependencies 2019-10-09 10:05:54 -05:00
sm-api Deploy state sync on swact 2024-02-28 20:07:48 +00:00