Bug 2283629
| Summary: | Must Gather collects redundant data in collection in odf mode | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Niraj Yadav <niryadav> |
| Component: | must-gather | Assignee: | Niraj Yadav <niryadav> |
| Status: | CLOSED ERRATA | QA Contact: | Oded <oviner> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.16 | CC: | ebenahar, muagarwa, odf-bz-bot, ypadia |
| Target Milestone: | --- | ||
| Target Release: | ODF 4.16.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 4.16.0-113 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-07-17 13:23:49 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: | |||
|
Description
Niraj Yadav
2024-05-28 11:33:35 UTC
https://github.com/red-hat-storage/odf-must-gather/pull/167/files#diff-bad6eb3f5953b7f47f014fd8b04a48470c1d64d94bbd29566af842f0b60c909cR143 based on code, we call to functions gather_ceph_pod_logs , gather_ceph_logs , gather_namespaced_resources, gather_clusterscoped_resources Why we need [--odf] flag? (--odf) == (-c) + (-cl) + (-ns) + (-cs) SetUp: OCP: 4.16 ODF: 4.16 Platform: Vsphere Test Procedeure: 1.Running must-gather command with -c -cl -cs flags adm must-gather --image=quay.io/rhceph-dev/ocs-must-gather:latest-4.16 --dest-dir=/tmp/tmp2rbyavop_ocs_logs/oviner6-jun/ocs_must_gather -- /usr/bin/gather -c -cl -cs 2.Make sure there are no duplicates in mg dir Comment: It is difficult to test it without debugging ["set -x"], because the second time the function is called, the existing files will be overwritten by the new files. Please update the RDT flag/text appropriately. 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.16.0 security, enhancement & 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-2024:4591 |