distcloud/distributedcloud/dcmanager/tests/unit
Li Zhu 00a3e50e71 Display prestage status and versions in subcloud list
The prestage release can be either the previous or current release for
a subcloud. Checking the prestage release individually on thousands of
subclouds is impractical. Therefore, a new column called "prestage
versions" is added to the output of the "dcmanager subcloud list'
command. Besides, decoupling prestage status from deploy status.

Test plan:
PASS: Successful subcloud prestage with specified 22.12 or 23.09
      release, and verified the correct "prestage versions" output of
      the "dcmanager subcloud list" command.
PASS: Successful prestage strategy with specified 22.12 or 23.09
      release, and verified the correct "prestage versions" output of
      the "dcmanager subcloud list".
PASS: Verified the "prestage status" at each prestage stage.
PASS: Verified that the 'deploy status' was updated to 'complete' after
      upgrading the system controller from version 22.12 to 23.09.
      This verification was performed specifically for those subclouds
      that had a 'prestage-complete' deploy status with the previous
      22.12 system controller. The new columns, "perstage status" and
      "prestage versions", were empty after upgrading.

Depends-on:
https://review.opendev.org/c/starlingx/ansible-playbooks/+/904546

Story: 2010611
Task: 49367

Change-Id: Ica65b1e2e8e44b96352e7d45439a2e7a9063f7c9
Signed-off-by: lzhu1 <li.zhu@windriver.com>
2024-01-26 14:09:19 -05:00
..
api Update tox pylint/pep8 for dcmanager 2024-01-18 21:51:25 +00:00
audit Update tox pylint/pep8 for dcmanager 2024-01-18 21:51:25 +00:00
common Update tox pylint/pep8 for dcmanager 2024-01-18 21:51:25 +00:00
db Update tox pylint/pep8 for dcmanager 2024-01-18 21:51:25 +00:00
manager Display prestage status and versions in subcloud list 2024-01-26 14:09:19 -05:00
objects Update tox pylint/pep8 for dcmanager 2024-01-18 21:51:25 +00:00
orchestrator Update tox pylint/pep8 for dcmanager 2024-01-18 21:51:25 +00:00
rpc Update endpoint caches post network reconfig 2023-03-14 11:44:15 -03:00
utils Refactor network reconfiguration during reinstall 2023-07-21 12:40:55 +00:00
__init__.py Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
fakes.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
test_dcmanager.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00