Project

General

Profile

Actions

Bug #58813

closed

cephfs-top: Sort menu doesn't show 'No filesystem available' screen when all fs are removed

Added by Jos Collin about 1 year ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
backport_processed
Backport:
pacific,quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-top
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

[1] https://github.com/ceph/ceph/blob/01ad87ef30f99cae14baa152cc0b7bdf6ec0a114/src/tools/cephfs/top/cephfs-top#L476

[1] Looks like sort menu should display the 'No filesystem available' screen (display_menu()) when the fs_list is empty. But it doesn't display it. To reproduce, launch sort menu and remove all filesystems.

Fix the navigation too, when there are no filesystems.


Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #58865: quincy: cephfs-top: Sort menu doesn't show 'No filesystem available' screen when all fs are removedResolvedNeeraj Pratap SinghActions
Copied to CephFS - Backport #58866: pacific: cephfs-top: Sort menu doesn't show 'No filesystem available' screen when all fs are removedResolvedNeeraj Pratap SinghActions
Actions #1

Updated by Jos Collin about 1 year ago

  • Description updated (diff)
Actions #2

Updated by Neeraj Pratap Singh about 1 year ago

  • Assignee set to Neeraj Pratap Singh
Actions #3

Updated by Neeraj Pratap Singh about 1 year ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 50197
Actions #4

Updated by Venky Shankar about 1 year ago

  • Target version set to v18.0.0
  • Backport set to pacific,quincy
Actions #5

Updated by Venky Shankar about 1 year ago

  • Status changed from Fix Under Review to Pending Backport
Actions #6

Updated by Backport Bot about 1 year ago

  • Copied to Backport #58865: quincy: cephfs-top: Sort menu doesn't show 'No filesystem available' screen when all fs are removed added
Actions #7

Updated by Backport Bot about 1 year ago

  • Copied to Backport #58866: pacific: cephfs-top: Sort menu doesn't show 'No filesystem available' screen when all fs are removed added
Actions #8

Updated by Backport Bot about 1 year ago

  • Tags set to backport_processed
Actions #9

Updated by Neeraj Pratap Singh 9 months ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF