Created attachment 1785641 [details] gather-debug.log Description of problem (please be detailed as possible and provide log snippests): For OCS 4.8 External mode, must-gather is skipping nooobaa collection. Even when storagecluster and noobaa are present in the cluster, noobaa collection was skipped. $ oc get storagecluster NAME AGE PHASE EXTERNAL CREATED AT VERSION ocs-external-storagecluster 4h34m Progressing true 2021-05-21T11:30:10Z 4.8.0 $ oc get noobaa NAME MGMT-ENDPOINTS S3-ENDPOINTS IMAGE PHASE AGE noobaa ["https://10.1.160.126:31299"] ["https://10.1.160.94:32727"] quay.io/rhceph-dev/mcg-core@sha256:34acdc4208540f51305b92d85d35fbc385872a56393504f102a2e3f0594a5bc8 Ready 4h34m Skip message appears during must-gather collection: ==== [must-gather-sktq8] POD collecting oc command clusterrolebinding [must-gather-sktq8] POD collecting oc command scc >> [must-gather-sktq8] POD Skipping the ceph and nooobaa collection as External Storage is enabled [must-gather-sktq8] POD pod "must-gather-sktq8-helper" deleted [must-gather-sktq8] POD No resources found [must-gather-sktq8] OUT waiting for gather to complete ==== Version of all relevant components (if applicable): OCP: 4.8.0-0.nightly-2021-05-19-123944 OCS: ocs-operator.v4.8.0-399.ci Does this issue impact your ability to continue to work with the product (please explain in detail what is the user impact)? No Is there any workaround available to the best of your knowledge? No Rate from 1 - 5 the complexity of the scenario you performed that caused this bug (1 - very simple, 5 - very complex)? 1 Can this issue reproducible? Yes Can this issue reproduce from the UI? If this is a regression, please provide more details to justify this: Yes, this is a regression. Previously in OCS 4.7 only ceph collection was skipped not noobaa Steps to Reproduce: 1. Deploy an OCP cluster 2. Deploy OCS 4.8 in External mode 3. Run the command to collect must-gather oc adm must-gather --image=quay.io/rhceph-dev/ocs-must-gather:latest-4.8 4. Check for following message in must-gather collection or check the same in gather-debug.log inside the must-gather folder "Skipping the ceph and nooobaa collection as External Storage is enabled" Actual results: Must-gather is skipping noobaa collection in External mode Expected results: Must-gather should collect noobaa logs even in External mode Additional info:
This should work https://github.com/openshift/ocs-operator/pull/1191 I don't have an external cluster so I cannot test it but I have created a dummy script and that worked so I hope this should work. Please give it a try @sagrawal
@rajasing ack The bug is still in New state, so once it moves to ON_QA and the fix is available in the latest builds I'll verify.
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 (Red Hat OpenShift Container Storage 4.8.0 container images bug fix and enhancement 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/RHBA-2021:3003