Description of problem: Execute "oc adm inspect co storage" on a Azure cluster which has no openshift-manila-csi-driver ns, the cmd returns an error message: $ oc adm inspect co storage Gathering data for ns/openshift-cluster-storage-operator... Gathering data for ns/openshift-cluster-csi-drivers... Wrote inspect data to inspect.local.4356476781761520600. error: errors ocurred while gathering data: skipping gathering namespaces/openshift-manila-csi-driver due to error: namespaces "openshift-manila-csi-driver" not found Version-Release number of selected component (if applicable): Client Version: 4.9.0-0.nightly-2021-08-07-175228 Server Version: 4.9.0-0.nightly-2021-08-07-175228 Kubernetes Version: v1.21.1+8268f88 How reproducible: Always Steps to Reproduce: 1. Install a cluster on Azure 2. Using the oc adm inspect to collect storage info $ oc adm inspect co storage Actual results: error: errors ocurred while gathering data Expected results: It is not an "error" even if there is no openshift-manila-csi-driver ns.
I'm not sure if this is a oc bug or not, I filed in storage component first.
It's a storage bug, we put a wrong relatedObjects to ClusterOperator "storage" instance. Apparently it needs to be more selective.
Verified pass in a vSphere cluster on 4.9.0-0.nightly-2021-08-31-123131 $ oc adm inspect co storage Gathering data for ns/openshift-cluster-storage-operator... Gathering data for ns/openshift-cluster-csi-drivers... Wrote inspect data to inspect.local.1498484822019731959.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:3759