This commit removes the usage of patch throughout DC applications, deleting the patch orchestration and load and patch audits. Note: this commit does not replace the usage of PatchingClient, which will be done in a subsequent review. Test plan: 1. PASS: Deploy a DC system. 2. PASS: Manage a subcloud and verify that all endpoints are set as 'in-sync'. 3. PASS: Run dcmanager subcloud show and verify that there are no references to load and patch endpoints. 4. PASS: Unmanage a subcloud and verify that all endpoints are set as 'unknown'. 5. PASS: Create and apply a strategy, verifying it completes successfully. 6. PASS: Execute a select statement in the subcloud_audits table and verify that the patch_audit_requested and load_audit_requested columns does not exist. 7. PASS: Perform a system upgrade successfully. Story: 2011311 Task: 52184 Change-Id: Ic218b12fc67401f37a2d4701b8adcfbea2eae409 Signed-off-by: Raphael <Raphael.Lima@windriver.com>
63 lines
1.7 KiB
JSON
63 lines
1.7 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": "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": "out-of-sync",
|
|
"endpoint_type": "software"
|
|
}
|
|
],
|
|
}
|
|
]
|
|
}
|