Project

General

Profile

Actions

Cleanup #37954

closed

ceph: cleanup status output for CephFS file systems, especially for multifs

Added by Patrick Donnelly over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Urgent
Category:
Administration/Usability
Target version:
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
tools
Labels (FS):
multifs, task(easy)
Pull request ID:

Description

In particular, there's extraneous spaces and the information is hard to parse without consulting documentation:

        mds: a-2/2/2 up  {0=c=up:active,1=b=up:active}, 1 up:standby

Additionally, the "2/2/2" is hard to understand. Printing the number of "in" MDS is probably useful but "up"/"max_mds" is not. If "in" != "max_mds" then there will be a health error. Same for "in" != "up". No need to pollute other output.


Related issues 1 (0 open1 closed)

Blocks CephFS - Feature #22477: multifs: remove multifs experimental warningsResolvedPatrick Donnelly

Actions
Actions #1

Updated by Patrick Donnelly over 5 years ago

  • Blocks Feature #22477: multifs: remove multifs experimental warnings added
Actions #2

Updated by Patrick Donnelly over 5 years ago

This should also take into account multiple file systems and the case where there are enough file systems to span multiple lines.

Actions #3

Updated by Patrick Donnelly over 5 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 26017
Actions #4

Updated by Patrick Donnelly over 5 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF