Project

General

Profile

Actions

Bug #18239

closed

nan in ceph osd df again

Added by Dan van der Ster over 7 years ago. Updated almost 6 years ago.

Status:
Duplicate
Priority:
High
Assignee:
-
Category:
Administration/Usability
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
jewel
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Manager (RADOS bits), Monitor
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This bug is back: http://tracker.ceph.com/issues/10695

With jewel 10.2.5 an out osd will show up with -nan in osd df, which also produces invalid json output.

# ceph osd tree | grep osd.994
 994    2.72800                     osd.994             down        0          1.00000

# ceph osd df | grep nan
 994 2.72800        0     0     0     0  -nan -nan   0

# ceph osd df -f json | json_verify
lexical error: malformed number, a digit is required after the minus sign.
                                        8834748,"kb_used":1836378468," 
                     (right here) ------^
JSON is invalid

# ceph osd df -f json | sed 's/-nan/0/g' | json_verify
JSON is valid
Actions

Also available in: Atom PDF