Bug 2042866 - must gather does not collect the yaml or describe output of the subscription
Summary: must gather does not collect the yaml or describe output of the subscription
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: must-gather
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ODF 4.10.0
Assignee: yati padia
QA Contact: Oded
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-20 09:44 UTC by Nitin Goyal
Modified: 2023-08-09 16:35 UTC (History)
8 users (show)

Fixed In Version: 4.10.0-132
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-13 18:51:56 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage ocs-operator pull 1459 0 None Merged must-gather: collects describe of subscription 2022-01-31 15:29:22 UTC
Github red-hat-storage ocs-operator pull 1467 0 None open Bug 2042866: [release-4.10] must-gather: collects describe of subscription 2022-01-31 16:08:44 UTC
Red Hat Product Errata RHSA-2022:1372 0 None None None 2022-04-13 18:52:08 UTC

Description Nitin Goyal 2022-01-20 09:44:39 UTC
Description of problem (please be detailed as possible and provide log
snippests):
must gather does not collect the yaml or describe output  of the subscription. 

subscriptions information is required for all install and upgrade failure setups and without this we can not proceed ahead with the debugging.

Version of all relevant components (if applicable):


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?


Is there any workaround available to the best of your knowledge?


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?


Can this issue reproducible?


Can this issue reproduce from the UI?


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


Steps to Reproduce:
1.
2.
3.


Actual results:


Expected results:


Additional info:

Comment 6 yati padia 2022-02-07 03:26:29 UTC
yes Oded that's the relevant file and about collecting the yaml, I added it as other yaml files are collected, but not sure where exactly the yamls are stored so need to check it.

Comment 7 Oded 2022-02-07 12:05:34 UTC
Bug fixed.

SetUp:
ODF Version:4.10.0-143
OCP Version:4.10.0-0.nightly-2022-02-02-220834
Platform:AWS

Test Process:
1.Run mg command:
oc adm must-gather --image=quay.io/rhceph-dev/ocs-must-gather:latest-4.10

2.Check content on mg dir
MG Dir:
http://magna002.ceph.redhat.com/ocsci-jenkins/openshift-clusters/j-029au3r33-d/j-029au3r33-d_20220203T120203/logs/deployment_1643890080/


3.Verify "subscription" file exist on mg dir.
/namespaces/openshift-storage/oc_output/subscription

http://magna002.ceph.redhat.com/ocsci-jenkins/openshift-clusters/j-029au3r33-d/j-029au3r33-d_20220203T120203/logs/deployment_1643890080/ocs_must_gather/quay-io-rhceph-dev-ocs-must-gather-sha256-0e6e45a590cd20ed8ead7c32617dcd1326dd5f9b57cb33d80dd6952f66f4924a/namespaces/openshift-storage/oc_output/subscription

Comment 13 errata-xmlrpc 2022-04-13 18:51:56 UTC
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 (Important: Red Hat OpenShift Data Foundation 4.10.0 enhancement, security & bug fix 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-2022:1372


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