ocs-operator Subscription failure in Red Hat Openshift Data Foundation 4.x: Constraints not satisfiable, Package and Channel Mismatch
Issue
ocs-operator
androok-ceph-operator
pods are missingocs-operator
deployment is missing-
ocs-operator
subscription shows below error message:constraints not satisfiable: no operators found with name ocs-operator.v4.x.y in channel stable-4.z of package ocs-operator in the catalog referenced by subscription ocs-operator-stable-4.x, subscription ocs-operator-stable-4.x exists
-
Due to the missing
ocs-operator
, none of the csi-rbdplugin and csi-cephfsplugin pods are running on any of the Openshift node - CSI client fails to find driver
openshift-storage.rbd.csi.ceph.com
oropenshift-storage.cephfs.csi.ceph.com
in the list of registered CSI drivers. - Every pod requiring volume(either RBD or Cephfs) mounting from ODF storage encounters similar error message and fails to start
MountVolume.SetUp failed for volume "pvc-xxxxx" : kubernetes.io/csi: mounter.SetUpAt failed to get CSI client: driver name openshift-storage.rbd.csi.ceph.com not found in the list of registered CSI drivers
- ODF upgrade fails to upgrade to the next version
- Resolution steps mentioned in the solution article Unable to mount OCS backed PV to pods in an OCS 4.X cluster doesn't help to resolve the issue
Environment
- Red Hat OpenShift Data Foundation 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.