CannotRetrieveUpdates alert in disconnected OCP 4 cluster
Issue
- The Cluster Version Operator keep sending alerts for failure in receiving the updates in restricted network/disconnected OCP 4 cluster.
-
The
CannotRetrieveUpdates
alert is seeing in an air-gapped OpenShift 4 cluster:Labels alertname = CannotRetrieveUpdates endpoint = metrics environment = cluster_name instance = 10.x.y.z:9099 job = cluster-version-operator namespace = openshift-cluster-version pod = cluster-version-operator-1234 prometheus = openshift-monitoring/k8s
service = cluster-version-operator severity = critical Annotations message = Cluster version operator has not retrieved updates in 2d 1h 19m 41s. Failure reason RemoteFailed . For more information refer to https://console-openshift-console.apps.abc.xyz.com/settings/cluster/.
-
An alert is shown in the OpenShift console in OCP 4.8 or newer:
Version 4.y.z not found in channel stable-4.y. To request update recommendations, configure a channel that supports your version.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.