Bug 1890216 - must-gather: oc get nodes -o wide output fails to get collected in 4.6.0-137.ci build
Summary: must-gather: oc get nodes -o wide output fails to get collected in 4.6.0-137....
Keywords:
Status: CLOSED DUPLICATE of bug 1878153
Alias: None
Product: Red Hat OpenShift Container Storage
Classification: Red Hat Storage
Component: must-gather
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Pulkit Kundra
QA Contact: Raz Tamir
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-21 17:05 UTC by Neha Berry
Modified: 2020-10-21 17:18 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-21 17:18:27 UTC
Embargoed:


Attachments (Terms of Use)
terminal log (64.00 KB, text/plain)
2020-10-21 17:05 UTC, Neha Berry
no flags Details

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 ***


Note You need to log in before you can comment on or make changes to this bug.