Project

General

Profile

Cleanup #37954

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

Added by Patrick Donnelly 8 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
Urgent
Category:
Administration/Usability
Target version:
Start date:
Due date:
% 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

Blocks fs - Feature #22477: multifs: remove multifs experimental warnings New 12/19/2017

History

#1 Updated by Patrick Donnelly 8 months ago

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

#2 Updated by Patrick Donnelly 8 months ago

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

#3 Updated by Patrick Donnelly 8 months ago

  • Status changed from In Progress to Need Review
  • Pull request ID set to 26017

#4 Updated by Patrick Donnelly 8 months ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF