Bug 2119100 - (RHCS 5.3z1) heap command returning empty output
Summary: (RHCS 5.3z1) heap command returning empty output
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RADOS
Version: 5.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 5.3z1
Assignee: Prashant Dhange
QA Contact: Harsh Kumar
URL:
Whiteboard:
Depends On:
Blocks: 2119101
TreeView+ depends on / blocked
 
Reported: 2022-08-17 14:32 UTC by Prashant Dhange
Modified: 2023-02-28 10:06 UTC (History)
17 users (show)

Fixed In Version: ceph-16.2.10-119.el8cp
Doc Type: Bug Fix
Doc Text:
.The `ceph daemon heap status` command shows the heap status Previously, due to a failure to get heap information through the `ceph daemon` command, the `ceph daemon heap stats` command would return empty output instead of returning current heap usage for a Ceph daemon. This was because `ceph::osd_cmds::heap()` was confusing the `stderr` and `stdout` concept which caused the difference in output. With this fix, the `ceph daemon heap stats` command returns heap usage information for a Ceph daemon similar to what we get using the `ceph tell` command.
Clone Of:
: 2119101 (view as bug list)
Environment:
Last Closed: 2023-02-28 10:05:14 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 57119 0 None None None 2022-08-17 14:32:43 UTC
Github ceph ceph pull 47650 0 None open osd: fix the "heap" admin cmd printing always to error stream 2022-08-17 14:32:43 UTC
Github ceph ceph pull 48106 0 None open pacific: osd, mds: fix the "heap" admin cmd printing always to error stream 2022-09-15 01:00:19 UTC
Red Hat Issue Tracker RHCEPH-5106 0 None None None 2022-08-17 14:49:03 UTC
Red Hat Product Errata RHSA-2023:0980 0 None None None 2023-02-28 10:06:04 UTC

Description Prashant Dhange 2022-08-17 14:32:43 UTC
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 22 errata-xmlrpc 2023-02-28 10:05:14 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 Ceph Storage 5.3 Bug fix and security 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-2023:0980


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