Bug 2136031

Summary: cephfs-top -d <seconds> not working as expected
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: julpark
Component: CephFSAssignee: Neeraj Pratap Singh <neesingh>
Status: CLOSED ERRATA QA Contact: Hemanth Kumar <hyelloji>
Severity: high Docs Contact: Akash Raj <akraj>
Priority: unspecified    
Version: 6.0CC: akraj, ceph-eng-bugs, cephqe-warriors, gfarnum, hyelloji, kdreyer, neesingh, vshankar
Target Milestone: ---   
Target Release: 6.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-17.2.6-13.el9cp Doc Type: Bug Fix
Doc Text:
.`cephfs-top -d [--delay]` option accepts only integer values ranging between 1 to 25 Previously, `cephfs-top -d [--delay]` option would not work properly, due to the addition of a few new curses methods. The new curses method would accept only integer values, due to which an exception was thrown on getting the float values from a helper function. With this fix, `cephfs-top -d [--delay]` option accepts only integer values ranging between 1 and 25, and `cephfs-top` utility works as expected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-15 09:15:43 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: 2192813    

Description julpark 2022-10-19 07:02:53 UTC
Description of problem:

cephfs-top -d <seconds> not working as expected

Version-Release number of selected component (if applicable):

ceph version 17.2.3-49.el9cp

How reproducible:

cephfs-top -d

Steps to Reproduce:
1.Enable cephfs-top
2.cephfs-top -d 1
3.

Actual results:

[root@ceph-julpark-59d1ae-node7 cephuser]# cephfs-top -d 10
exception: integer argument expected, got float
[root@ceph-julpark-59d1ae-node7 cephuser]# cephfs-top -d 1
exception: integer argument expected, got float

Expected results:

should be working for integers

Additional info:

Comment 21 errata-xmlrpc 2023-06-15 09:15:43 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 (Moderate: Red Hat Ceph Storage 6.1 security 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/RHSA-2023:3623