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

Updated by Samuel Just over 7 years ago

  • Priority changed from Normal to High
Actions #2

Updated by Greg Farnum almost 7 years ago

  • Project changed from Ceph to RADOS
  • Category changed from OSD to Administration/Usability
  • Component(RADOS) Manager (RADOS bits), Monitor added
Actions #3

Updated by Sage Weil over 6 years ago

  • Status changed from New to Need More Info

Thinking/hoping we cleaned these up? Dan, do you still see this?

Actions #4

Updated by Dan van der Ster over 6 years ago

10.2.10 still has this bug:

# ceph osd out osd.92
marked out osd.92.
# ceph osd tree | grep osd.92
 92   5.45599                 osd.92                up        0          1.00000
# ceph osd df | grep 92
 92 5.45599        0     0      0     0 -nan -nan  78
# ceph --version
ceph version 10.2.10 (5dc1e4c05cb68dbf62ae6fce3f0700e4654fdbbe)
# ceph osd df -f json | json_verify
lexical error: malformed number, a digit is required after the minus sign.
                                         {"nodes":[{"id":43,"name":"os
                     (right here) ------^
JSON is invalid
#
Actions #5

Updated by Nathan Cutler over 6 years ago

  • Status changed from Need More Info to New
Actions #6

Updated by Chang Liu about 6 years ago

  • Status changed from New to Duplicate
  • Parent task set to #22662

duplicated with #22662

Actions #7

Updated by Chang Liu about 6 years ago

  • Status changed from Duplicate to New
  • Parent task deleted (#22662)
Actions #8

Updated by Sage Weil almost 6 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF