Project

General

Profile

Actions

Bug #3475

closed

ugly formatting of ceph osd tree

Added by Corin Langosch over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When having fractional weights like 0.16 ceph osd tree outputs them as 0.159988. This causes the tabbing to be wrong and makes the tree completely unreadable. I'd like to suggest to round the weights to 3 or 4 fractional digits.

Actions #1

Updated by Sage Weil over 11 years ago

  • Status changed from New to Resolved

which version are you using? this is fixed in the current master (soon to be bobtail):

# id    weight  type name       up/down reweight
-1      2.16    root default
-3      2.16            rack localrack
-2      2.16                    host localhost
0       0.16                            osd.0   up      0.8
1       1                               osd.1   up      1
2       1                               osd.2   up      1

Actions #2

Updated by Corin Langosch over 11 years ago

I'm using the latest stable, so argonaut 0.48.2. Great to hear it's already fixed in master, looking forward to bobtail :)

Actions

Also available in: Atom PDF