Bug 2119101

Summary: (RHCS 6) heap command returning empty output
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Prashant Dhange <pdhange>
Component: RADOSAssignee: Prashant Dhange <pdhange>
Status: CLOSED ERRATA QA Contact: Pawan <pdhiran>
Severity: medium Docs Contact: Masauso Lungu <mlungu>
Priority: unspecified    
Version: 6.0CC: akupczyk, amathuri, bhubbard, ceph-eng-bugs, cephqe-warriors, choffman, ksirivad, lflores, mlungu, nojha, pdhange, pdhiran, rfriedma, rzarzyns, sseshasa, vumrao
Target Milestone: ---   
Target Release: 6.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-17.2.3-29.el9cp Doc Type: Bug Fix
Doc Text:
.The `ceph daemon heap stats` command now returns required usage details for daemon Previously, the `ceph daemon osd.x heap stats` command would return empty output instead of the current heap usage for a ceph daemon. Consequently, users were compelled to use the `ceph tell heap stats` command to get the desired heap usage. With this fix, the `ceph daemon heap stats` command returns heap usage information for a Ceph daemon similar to what we get using `ceph tell` command.
Story Points: ---
Clone Of: 2119100 Environment:
Last Closed: 2023-03-20 18:57:23 UTC Type: ---
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: 2119100    
Bug Blocks: 2126050    

Description Prashant Dhange 2022-08-17 14:37:55 UTC
+++ This bug was initially created as a clone of Bug #2119100 +++

Description of problem:
While fetching heap stats/dump through ceph daemon command, we are neither getting heap command output or error message. This issue has affected both OSD and MDS daemons. 

It seems all RHCS 5 versions are affected by this bug

Version-Release number of selected component (if applicable):
ceph version 16.2.7-98.el8cp

How reproducible:
Frequently

Steps to Reproduce:
1. Deploy RHCS 5.x cluster
2. Get heap dump using ceph daemon command
$ ceph daemon osd.x heap stats
3. Observe empty heap stats output

Actual results:
ceph daemon heap command fail to provide desired output

Expected results:
ceph daemon heap command should output heap stats/dump details

Additional info:

Comment 28 errata-xmlrpc 2023-03-20 18:57:23 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 Ceph Storage 6.0 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:1360