Bug 2073273

Summary: make cephfs-top display scroll-able like top(1) and fix the blank screen for great number of clients
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Jos Collin <jcollin>
Component: CephFSAssignee: Jos Collin <jcollin>
Status: CLOSED ERRATA QA Contact: julpark
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.0CC: ceph-eng-bugs, gfarnum, hyelloji, lithomas, neesingh, sostapov, tserlin, vereddy, vshankar, ymane
Target Milestone: ---Flags: gfarnum: needinfo-
Target Release: 5.3z1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.10-115.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2138793 (view as bug list) Environment:
Last Closed: 2023-02-28 10:05:13 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: 2168019    
Bug Blocks: 2067168, 2138793    

Description Jos Collin 2022-04-08 06:08:47 UTC
Description of problem:

Based on the discussions in the BZ [1],

1. Make cephfs-top display scroll-able like top does. Enable Up/Down, PgUp/PgDn, Right/Left keys to display line-entries which are off the window. Zoom-in the cephfs-top display with 100+ clients (fill up the screen) to simulate this issue. At present, cephfs-top displays only the clients listed at the top (top-left) and there's no way to move down or sideways.

2. There is a related issue of cephfs-top shows blank screen when the number of clients exceeds 150 to 200 clients. Check and fix that too.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2067168

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

How reproducible:
Mount more number of clients (100 clients) than the screen could accommodate and run cephfs-top.

Steps to Reproduce:
Same as above.

Actual results:
Can't scroll and see the clients which are off the window and great number of clients shows blank screen.

Expected results:
cephfs-top display should be scroll-able for great number of clients like top(1) does.
cephfs-top should display the clients (no blank screen) for great number of clients.

Additional info:

Comment 2 Greg Farnum 2022-07-13 15:39:23 UTC
We've agreed to put this in 5.3. The trackers are a bit of a mess, I don't recall if we have a separate upstream PR resolving this issue or if it's pending on https://github.com/ceph/ceph/pull/46072

Comment 3 Neeraj Pratap Singh 2022-07-19 03:53:02 UTC
(In reply to Greg Farnum from comment #2)
> We've agreed to put this in 5.3. The trackers are a bit of a mess, I don't
> recall if we have a separate upstream PR resolving this issue or if it's
> pending on https://github.com/ceph/ceph/pull/46072

We will be adding this feature as a separate PR.

Comment 6 Scott Ostapovicz 2022-08-15 15:30:30 UTC
retargeting to 6.1

Comment 23 errata-xmlrpc 2023-02-28 10:05:13 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