Cluster operator cloud-controller-manager should not be upgraded between minor versions
Issue
- Cluster upgrade does not proceed or stuck on a failing condition and does not process the next minor version.
$ oc get clusterversion version -o json | jq -r '.status.conditions[]'
{
"lastTransitionTime": "2023-10-25T05:50:33Z",
"message": "Preconditions failed for payload loaded version=\"4.13.17\" image=\"xxxxxxxxx.example.com:8443/openshift/release-images@sha256:xxxxxxxxxxx\": Multiple precondition checks failed:\n* Precondition \"ClusterVersionUpgradeable\" failed because of \"AsExpected\": Cluster operator cloud-controller-manager should not be upgraded between minor versions: \n* Precondition \"ClusterVersionRecommendedUpdate\" failed because of \"UnknownUpdate\": RetrievedUpdates=False (RemoteFailed), so the recommended status of updating from 4.12.16 to 4.13.17 is unknown.",
"reason": "PreconditionChecks",
"status": "False",
"type": "ReleaseAccepted"
}
- Further checking the cloud-controller-manager cluster operator, we can see Upgradeable=False.
$ oc get -o json clusteroperator cloud-controller-manager | jq '.status.conditions[] | select(.type == "Upgradeable")'
{
"lastTransitionTime": "2023-06-07T05:20:44Z",
"reason": "AsExpected",
"status": "False",
"type": "Upgradeable"
}
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.12.z < 4.12.18
- Red Hat OpenShift Service on AWS (ROSA)
- 4.12.17
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.