
This commit removes legacy load and upgrade functionality that's being replaced by USM. It also modifies the prestage systemcontroller upgrade check to block prestage if there's a software deployment in-progress. This commit also removes the check that prevents prestaging if any uploaded release is not 'deployed'. The prestaging playbook is already responsible for this logic. Test Plan: 1. PASS - Run subcloud prestaging and verify that it completes successfully; 2. PASS - Start the deployment of a software release and attempt to prestage a subcloud, verify that it fails due to the ongoing deployment; 3. PASS - On a 24.09 system controller, upload a 24.09.01 patch and attempt to prestage a subcloud for software deploy using the parameter --release 24.09 and verify that the prestage operation is allowed even if the 24.09.01 release is in the 'available' state; 4. PASS - Upload a device image using the "system --os-region-name SystemController device-image-upload" command and verify that the image is uploaded to the "/opt/dc-vault/device_images" directory. 5. PASS - Remove the device image and verify that it gets removed from the "/opt/dc-vault/device_images" directory. Story: 2010676 Task: 50921 Change-Id: I5155b12995d60969cfa2b8d4624c4d8a82b7dfd2 Signed-off-by: Gustavo Herzmann <gustavo.herzmann@windriver.com>
71 lines
1.9 KiB
JSON
71 lines
1.9 KiB
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": "21.12,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,
|
|
"sync_status": "out-of-sync",
|
|
"endpoint_sync_status": [
|
|
{
|
|
"sync_status": "in-sync",
|
|
"endpoint_type": "dc-cert"
|
|
},
|
|
{
|
|
"sync_status": "not-available",
|
|
"endpoint_type": "load"
|
|
},
|
|
{
|
|
"sync_status": "in-sync",
|
|
"endpoint_type": "firmware"
|
|
},
|
|
{
|
|
"sync_status": "in-sync",
|
|
"endpoint_type": "kubernetes"
|
|
},
|
|
{
|
|
"sync_status": "in-sync",
|
|
"endpoint_type": "kube-rootca"
|
|
},
|
|
{
|
|
"sync_status": "in-sync",
|
|
"endpoint_type": "platform"
|
|
},
|
|
{
|
|
"sync_status": "in-sync",
|
|
"endpoint_type": "identity"
|
|
},
|
|
{
|
|
"sync_status": "not-available",
|
|
"endpoint_type": "patching"
|
|
},
|
|
{
|
|
"sync_status": "out-of-sync",
|
|
"endpoint_type": "usm"
|
|
}
|
|
],
|
|
}
|
|
]
|
|
}
|