Bug 1890216

Summary: must-gather: oc get nodes -o wide output fails to get collected in 4.6.0-137.ci build
Product: [Red Hat Storage] Red Hat OpenShift Container Storage Reporter: Neha Berry <nberry>
Component: must-gatherAssignee: Pulkit Kundra <pkundra>
Status: CLOSED DUPLICATE QA Contact: Raz Tamir <ratamir>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.6CC: ocs-bugs, sabose
Target Milestone: ---Keywords: Regression
Target Release: ---   
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: 2020-10-21 17:18:27 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:
Attachments:
Description Flags
terminal log none

Description Neha Berry 2020-10-21 17:05:16 UTC
Created attachment 1723260 [details]
terminal log

Description of problem (please be detailed as possible and provide log
snippests):
-------------------------------------------
Observed similar issue in external and internal mode

[must-gather-gn74s] POD collecting oc command sc
[must-gather-gn74s] POD collecting oc command nodes -o wide --show-labels
>> [must-gather-gn74s] POD error: the server doesn't have a resource type "nodes -o wide --show-labels"
[must-gather-gn74s] POD collecting oc command clusterversion
[must-gather-gn74s] POD collecting oc command infrastructures.config

Sample must-gather from OCS 4.6 internal mode cluster 

http://rhsqe-repo.lab.eng.blr.redhat.com/OCS/ocs-qe-bugs/1890183/must-gather.local.7263335647167393572/quay-io-rhceph-dev-ocs-must-gather-sha256-3255bdcfc54ce04e8b0b948cc2d6e4ba5e7fbd2ca14dc8512d5c845e4a9ae157/namespaces/openshift-storage/oc_output/

Version of all relevant components (if applicable):
--------------------------------------------
OCS  = ocs-operator.v4.6.0-137.ci

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
----------------------------------------
No but oc get nodes is an important file to be collected

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)?
--------------------------------
3


Can this issue reproducible?
-------------------------
Yes. Both on external and internal mode


Can this issue reproduce from the UI?
--------------------
NA

If this is a regression, please provide more details to justify this:
-----------------------------------------------------------
Yes

Steps to Reproduce:
------------------------
1. Install OCS 4.6 latest, e.g. 4.6.0-137.ci
2. once installed, collect must-gather
>> oc adm must-gather --image=quay.io/rhceph-dev/ocs-must-gather:latest-4.6

3.Check the terminal for the error message
[must-gather-gn74s] POD error: the server doesn't have a resource type "nodes -o wide --show-labels"

4. Once log is collected, check for the following file
./<must-gather>/<quay**>/namespaces/openshift-storage/oc_output/nodes_--show-labels

Actual results:
---------------------
nodes_--show-labels is not present in the c_output folder

POD error: the server doesn't have a resource type "nodes -o wide --show-labels"


Expected results:
---------------------
the file should be present and the above error message should not be seen

Additional info:
-----------------------
It used to be available in older builds , like quay.io/rhceph-dev/ocs-olm-operator:4.6.0-569.ci (quay.io/rhceph-dev/ocs-registry:4.6.0-98.ci) 

http://rhsqe-repo.lab.eng.blr.redhat.com/OCS/ocs-qe-bugs/bz-1886416/must-gather.local.2233904264956531863/quay-io-rhceph-dev-ocs-must-gather-sha256-6d8aab40e985fb3e08836349018e833fe489397a27a1fd4e9326a81e2cc54373/namespaces/openshift-storage/oc_output/nodes_--show-labels

Comment 2 Neha Berry 2020-10-21 17:07:36 UTC
proposing as a blocker as it is a regression in the most recent builds of OCS 4.6

Comment 3 Neha Berry 2020-10-21 17:18:27 UTC
Closing this BZ as this issue can be tracked in the old BZ  https://bugzilla.redhat.com/show_bug.cgi?id=1878153

I would move Bug 1878153 to Assigned state as

a) the oc get nodes --show-labels collection is failing  and is neither collected under namespaces/openshift-storage/oc_output (original) , nor under cluster-scoped-resources/oc_output/

*** This bug has been marked as a duplicate of bug 1878153 ***