When performing a supervisor cluster upgrade, the pre-check fails with the error:
"Error occurred while processing HTTP response from Upgrade Compatibility Service: Invalid Response from UCS. StatusCode: 500."
This issue typically occurs when stranded clusters are present, preventing the upgrade process from completing successfully.
VMware vSphere with Tanzu
vCenter 8.0u2 and earlier*
*This issue only occurs in Supervisor clusters which do not have TKG service installed.
The error is caused by the presence of stranded clusters in the environment, which can prevent proper communication between the Upgrade Compatibility Service and UCS.
This may result in the service returning an invalid response (StatusCode: 500).
This issue only occurs in Supervisor clusters which do not have TKG service installed.
Follow the steps below to resolve the issue:
On the vCenter Server, open a PuTTY session and run the following commands:
dcli +i
com vmware vcenter cluster list
com vmware vcenter namespacemanagement software clusters get --cluster domain-cxxx
While connected to the Supervisor cluster context, ensure that the cluster is in a paused state. Run the following command:
kubectl get cluster clustername -n namespace -o json | jq '.metadata.annotations | has("tkg.tanzu.vmware.com/paused")'
Verify that both the KCP (Kubernetes Control Plane) and MDs (Machine Deployments) have the correct annotation. Use the following command to check:
kubectl get kcp -n namespace clustername-control-plane -o json | jq '.metadata.annotations | has("cluster.x-k8s.io/paused")'
Check if the cluster status is marked as "Paused":
kubectl get cluster clustername -n namespace -o json | grep -i pause
Please follow the detailed resolution steps outlined in the following KB article:
TKCS Unable to be Deleted After an Auto-Update
This issue only occurs in environments which do not have TKG service installed.