Bug 1991814
| Summary: | "oc adm inspect co storage" returns an error message when there is no openshift-manila-csi-driver ns. | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Wei Duan <wduan> |
| Component: | Storage | Assignee: | Jan Safranek <jsafrane> |
| Storage sub component: | Storage | QA Contact: | Wei Duan <wduan> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | unspecified | CC: | aos-bugs, jsafrane |
| Version: | 4.9 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-10-18 17:45:29 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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 |
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.