Installing specific old OpenShift Data Foundation z-version doesn't work. It's automatically updated to latest z-version
Issue
-
Even if OpenShift Data Foundation is installed with
startingCSV
, the latest z-version is installed$ cat <<END | oc create -f - apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: odf-operator namespace: openshift-storage spec: channel: stable-4.18 installPlanApproval: Manual name: odf-operator source: redhat-operators sourceNamespace: openshift-marketplace startingCSV: odf-operator.v4.18.5-rhodf END $ oc patch installplan install-sxmfz --type merge --patch '{"spec":{"approved":true}}' ===> Installing ODF 4.18.5 $ oc get csv NAME DISPLAY VERSION REPLACES PHASE cephcsi-operator.v4.18.6-rhodf CephCSI operator 4.18.6-rhodf cephcsi-operator.v4.18.5-rhodf Succeeded mcg-operator.v4.18.6-rhodf NooBaa Operator 4.18.6-rhodf mcg-operator.v4.18.5-rhodf Succeeded ocs-client-operator.v4.18.6-rhodf OpenShift Data Foundation Client 4.18.6-rhodf ocs-client-operator.v4.18.5-rhodf Succeeded ocs-operator.v4.18.6-rhodf OpenShift Container Storage 4.18.6-rhodf ocs-operator.v4.18.5-rhodf Succeeded odf-csi-addons-operator.v4.18.6-rhodf CSI Addons 4.18.6-rhodf odf-csi-addons-operator.v4.18.5-rhodf Succeeded odf-dependencies.v4.18.6-rhodf Data Foundation Dependencies 4.18.6-rhodf odf-dependencies.v4.18.5-rhodf Succeeded odf-operator.v4.18.6-rhodf OpenShift Data Foundation 4.18.6-rhodf odf-operator.v4.18.5-rhodf Succeeded odf-prometheus-operator.v4.18.6-rhodf Prometheus Operator 4.18.6-rhodf odf-prometheus-operator.v4.18.5-rhodf Succeeded recipe.v4.18.6-rhodf Recipe 4.18.6-rhodf recipe.v4.18.5-rhodf Succeeded rook-ceph-operator.v4.18.6-rhodf Rook-Ceph 4.18.6-rhodf rook-ceph-operator.v4.18.5-rhodf Succeeded ===> The latest ODF 4.18.z is installed. In this example, 4.18.6 is installed instead of 4.18.5
-
The issue occurs even if OpenShift Data Foundation is installed via GUI dashboard
Environment
- OpenShift Data Foundation 4.18
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.