Bug 2182296

Summary: [Fusion-aaS][ODF 4.13]must-gather does not collect relevant logs when storage cluster is not in openshift-storage namespace
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Jilju Joy <jijoy>
Component: must-gatherAssignee: yati padia <ypadia>
Status: CLOSED ERRATA QA Contact: Jilju Joy <jijoy>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.13CC: muagarwa, nberry, ocs-bugs, odf-bz-bot, ypadia
Target Milestone: ---   
Target Release: ODF 4.13.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.13.0-181 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2187799 (view as bug list) Environment:
Last Closed: 2023-06-21 15:25:01 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:
Bug Depends On:    
Bug Blocks: 2187799    

Description Jilju Joy 2023-03-28 06:52:05 UTC
Description of problem (please be detailed as possible and provide log
snippests):
Must-gather should support collection of logs from the namespace where the storagecluster is installed. As part of the feature https://issues.redhat.com/browse/RHSTOR-2442, installation of storagecluster in a namespace other than openshift-storage is supported. This will be requred in Managed Service clusters.

Version of all relevant components (if applicable):
ODF 4.13.0-109

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
Yes, logs are not 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)?
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:


Steps to Reproduce:
1. Install storage cluster in a namespace other than openshift-storage in a Managed Services cluster.
2. Collect OCS must-gather


Actual results:
Logs from the namespace where the storagecluster is installed are not present.

Consumer cluster must-gather - http://magna002.ceph.redhat.com/ocsci-jenkins/openshift-clusters/jijoy-m23-c1/jijoy-m23-c1_20230323T063536/logs/testcases_1679568559/

Provider cluster must-gather - http://magna002.ceph.redhat.com/ocsci-jenkins/openshift-clusters/jijoy-m23-pr/jijoy-m23-pr_20230323T063512/logs/testcases_1679568584/

========================================================
Expected results:
Relevant logs should be present including the logs from the namespace where the storagecluster is installed.

Additional info:

Comment 13 errata-xmlrpc 2023-06-21 15:25:01 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 (Red Hat OpenShift Data Foundation 4.13.0 enhancement and 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/RHBA-2023:3742