Project

General

Profile

Bug #15546

json numerical output is between quotes

Added by Kenneth Waegeman over 1 year ago. Updated 6 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Administration/Usability
Target version:
-
Start date:
04/20/2016
Due date:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
infernalis
Needs Doc:
No
Component(RADOS):
Monitor, ceph cli

Description

eg. rados df --format json {"pools":[{"name":"cache","id":"4","size_bytes":"654457325949","size_kb":"639118483","num_objects":"379236","num_object_clones":"0","num_object_copies":"1137708","num_objects_missing_on_primary":"0","num_objects_unfound":"0","num_objects_degraded":"0","read_ops":"4509188","read_bytes":"771548416000","write_ops":"1988817863","write_bytes":"445934781936640"},{"name":"ecdata","id":"5","size_bytes":"281423075934690","size_kb":"274827222593","num_objects":"155674545","num_object_clones":"0","num_object_copies":"1712419995","num_objects_missing_on_primary":"0","num_objects_unfound":"0","num_objects_degraded":"0","read_ops":"6213840","read_bytes":"395244460032","write_ops":"358867414","write_bytes":"448559142914048"},{"name":"metadata","id":"6","size_bytes":"48836022","size_kb":"47692","num_objects":"6617242","num_object_clones":"0","num_object_copies":"19851726","num_objects_missing_on_primary":"0","num_objects_unfound":"0","num_objects_degraded":"0","read_ops":"110569347","read_bytes":"3116419604480","write_ops":"196497502","write_bytes":"5373589568512"},{"name":"rbd","id":"0","size_bytes":"0","size_kb":"0","num_objects":"3","num_object_clones":"0","num_object_copies":"9","num_objects_missing_on_primary":"0","num_objects_unfound":"0","num_objects_degraded":"0","read_ops":"0","read_bytes":"0","write_ops":"12","write_bytes":"0"}],"total_objects":"162671026","total_used":"386856566500","total_avail":"551704147448","total_space":"938560713948"}[

All these numbers shouldn't be in quotes, eg. for elasticsearch

History

#1 Updated by Greg Farnum 6 months ago

  • Project changed from Ceph to RADOS
  • Category set to Administration/Usability
  • Component(RADOS) Monitor, ceph cli added

Also available in: Atom PDF