Incompatability warning for Runtime Fabric Operator with OpenShift greater than 4.11
Environment
- Red Hat OpenShift Service on AWS (ROSA)
- Red Hat OpenShift Dedicated (OSD)
- Azure Red Hat OpenShift (ARO)
Issue
- Cluster upgrade is blocked by the Runtime Fabric Operator
- Warning message appears in `Cluster Upgrade Settings'
Resolution
This behavior has been introduced as a preventive measure in order to control OpenShift
being upgraded to the higher version while having not supported operator installed, which would cause the operator to fail.
For this reason olm.maxOpenShiftVersion
annotation has been introduced. For example, in case there is a potential incompatibility OpenShift
will block any cluster upgrade if the Runtime Fabric Operator
installed in the cluster declares an olm.maxOpenShiftVersion
property that is less than or equal to the current Y-stream
version of the cluster e.g. 4.11.Z
4 - Major release
11 - Minor release
Z - Patch release
The OLM Operator's
job is to warn the cluster admins about Runtime Fabric Operator
is not tested or supported for later versions based on the annotation value above set by the vendor to the respective installed CSV manifest
.
Therefore, the cluster admin won't be able to upgrade the cluster to later minor versions than 4.11
but it is still save to upgrade cluster within 4.11
version no matter which Z (patch) stream
is specify (e.g. 4.11.38) . The cluster will not be able to upgrade to 4.12
or higher until the compatibility is resolved by the Vendor.
Root Cause
In the Fabric Run Time
operator maxOpenShiftVersion
value is set to 4.11
which leads to triggering the warning.
Diagnostic Steps
- In
OCM
checkAdministration/Cluster Settings/Details
or executeCLI
$ oc get clusterversion version -o yaml
apiVersion: config.openshift.io/v1
kind: ClusterVersion
metadata:
creationTimestamp: "2023-05-08T12:55:57Z"
generation: 2
*******************
message: |-
* Cluster operator operator-lifecycle-manager should not be upgraded between minor versions: IncompatibleOperatorsInstalled: ClusterServiceVersions blocking cluster upgrade: openshift-operators/runtime-fabric-operator.v2.2.5 is incompatible with OpenShift minor versions greater than 4.11
reason: MultipleReasons
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments