Bug 2268407

Summary: must-gather is not collecting ceph commands output
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Vijay Avuthu <vavuthu>
Component: must-gatherAssignee: Niraj Yadav <niryadav>
Status: CLOSED ERRATA QA Contact: Vijay Avuthu <vavuthu>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.15CC: ebenahar, muagarwa, odf-bz-bot
Target Milestone: ---Keywords: Automation, Regression
Target Release: ODF 4.15.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.15.0-158 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-03-19 15:33:28 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 Vijay Avuthu 2024-03-07 10:04:54 UTC
Description of problem (please be detailed as possible and provide log
snippests):

must-gather is not collecting ceph commands output


Version of all relevant components (if applicable):
ocs-registry:4.15.0-155

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

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

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?
NA

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


Steps to Reproduce:
1. run must-gather using below

2024-03-07 11:55:58  06:25:58 - ThreadPoolExecutor-4_0 - ocs_ci.utility.utils - INFO  - Executing command: oc --kubeconfig /home/jenkins/current-cluster-dir/openshift-cluster-dir/auth/kubeconfig adm must-gather --image=quay.io/rhceph-dev/ocs-must-gather:latest-4.15 --dest-dir=/home/jenkins/current-cluster-dir/logs/deployment_1709791826/j-629vu1cs33-a/ocs_must_gather

2. inspect whether ceph command ( ceph device ls, ceph df detail, ceph fs dump, ceph fs status ) are collected or not



Actual results:

ceph command output are not collected


Expected results:
ceph command output should be collected

Additional info:

[must-gather-lh22m] POD 2024-03-07T06:27:20.625446978Z /usr/bin/gather_ceph_resources: line 94: dblog: command not found
[must-gather-lh22m] POD 2024-03-07T06:27:20.698128525Z No resources found in openshift-storage-extended namespace.
[must-gather-lh22m] POD 2024-03-07T06:27:20.702584682Z skipping the ceph collection

job: https://url.corp.redhat.com/ac994bd
must gather: https://url.corp.redhat.com/f559bf2

Comment 6 Niraj Yadav 2024-03-11 15:27:38 UTC
Fix posted at: https://github.com/red-hat-storage/odf-must-gather/pull/129

Regards

Comment 9 Vijay Avuthu 2024-03-15 06:07:54 UTC
verified with build: ocs-registry:4.15.0-158

job: https://url.corp.redhat.com/a54a88d
must-gather for ceph: https://url.corp.redhat.com/482bc58

Comment 11 errata-xmlrpc 2024-03-19 15:33:28 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.15.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:1383