Project

General

Profile

Actions

Bug #25153

closed

output format is invalid of the crush tree json dumper

Added by Oshyn Song almost 6 years ago. Updated over 5 years ago.

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

0%

Source:
Community (dev)
Tags:
Backport:
mimic,luminous
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
CRUSH
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The output json string is invalid for "ceph osd crush tree --format=json" command. It contains an array of "nodes" and an array of "stray", but
not wrapped in a json object, and the array of "stray" was not implemented. I have an applications which depends on the output of the above command which will occur json parse error.


Related issues 2 (0 open2 closed)

Copied to RADOS - Backport #36149: luminous: output format is invalid of the crush tree json dumper ResolvedPrashant DActions
Copied to RADOS - Backport #36150: mimic: output format is invalid of the crush tree json dumper ResolvedPrashant DActions
Actions

Also available in: Atom PDF