Files
distcloud/api-ref/source/samples/subcloud-groups/subcloud-groups-get-subclouds-response.json
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

32 lines
986 B
JSON

{
"subclouds": [
{
"id": 1,
"subcloud_id": 1,
"group_id": 1,
"name": "subcloud1",
"description": "Ottawa Site",
"location": "YOW",
"software-version": "21.12",
"availability-status": "online",
"deploy-status": "complete",
"backup-status": "complete",
"backup-datetime": "2022-07-08 11:23:58.132134",
"prestage-status": "complete",
"prestage-versions": "22.12",
"region-name": "bbadb3e8e2ab473792c80ef09c5a12a4",
"openstack-installed": false,
"management-state": "managed",
"systemcontroller-gateway-ip": "192.168.204.101",
"management-start-ip": "192.168.101.2",
"management-end-ip": "192.168.101.50",
"management-subnet": "192.168.101.0/24",
"management-gateway-ip": "192.168.101.1",
"created-at": "2021-10-04 15:04:13.045076",
"updated-at": "2021-10-25 21:16:23.713858",
"data_install": null,
"data_upgrade": null,
},
]
}