Project

General

Profile

Bug #22662

ceph osd df json output validation reported invalid numbers (-nan) (jewel)

Added by Enrico Labedzki 13 days ago. Updated about 14 hours ago.

Status:
Verified
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
Start date:
01/11/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
jewel luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
jewel
Needs Doc:
No
Component(RADOS):

Description

Hi,

we have a monitoring script which parses the 'ceph osd df -f json' output, but from time to time it will happen, that one or more OSDs are down and the JSON object is then invalid.

Bildschirmfoto 2018-01-11 um 11.06.01.png View - json validator (125 KB) Enrico Labedzki, 01/11/2018 10:29 AM

History

#1 Updated by Greg Farnum 8 days ago

  • Project changed from Ceph to mgr
  • Category deleted (ceph cli)

#2 Updated by Sage Weil 6 days ago

  • Project changed from mgr to RADOS
  • Subject changed from ceph osd df json output validation reported invalid numbers to ceph osd df json output validation reported invalid numbers (-nan)
  • Status changed from New to Verified
  • Priority changed from Normal to Urgent

1. it's not valid json.. Formatter shouldn't allow it
2. we should have a valid value (or 0) to use

#3 Updated by Sage Weil 6 days ago

  • Subject changed from ceph osd df json output validation reported invalid numbers (-nan) to ceph osd df json output validation reported invalid numbers (-nan) (jewel)

#4 Updated by Nathan Cutler about 14 hours ago

  • Backport set to jewel luminous

Also available in: Atom PDF