Project

General

Profile

Bug #58813

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 7 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

Copied to CephFS - Backport #58865: quincy: cephfs-top: Sort menu doesn't show 'No filesystem available' screen when all fs are removed Resolved
Copied to CephFS - Backport #58866: pacific: cephfs-top: Sort menu doesn't show 'No filesystem available' screen when all fs are removed Resolved

History

#1 Updated by Jos Collin about 1 year ago

  • Description updated (diff)

#2 Updated by Neeraj Pratap Singh about 1 year ago

  • Assignee set to Neeraj Pratap Singh

#3 Updated by Neeraj Pratap Singh about 1 year ago

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

#4 Updated by Venky Shankar 12 months ago

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

#5 Updated by Venky Shankar 12 months ago

  • Status changed from Fix Under Review to Pending Backport

#6 Updated by Backport Bot 12 months ago

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

#7 Updated by Backport Bot 12 months ago

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

#8 Updated by Backport Bot 12 months ago

  • Tags set to backport_processed

#9 Updated by Neeraj Pratap Singh 7 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF