Project

General

Profile

Bug #25153

output format is invalid of the crush tree json dumper

Added by Oshyn Song 4 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Introspection/Control
Target version:
Start date:
07/30/2018
Due date:
07/30/2018
% 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:

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

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

History

#1 Updated by Oshyn Song 4 months ago

Reference the pull request: https://github.com/ceph/ceph/pull/23319

#2 Updated by Patrick Donnelly 4 months ago

  • Project changed from Ceph to RADOS
  • Category changed from common to Introspection/Control
  • Status changed from New to Need Review
  • Target version set to v14.0.0
  • Source set to Community (dev)
  • Backport set to mimic,luminous
  • Component(RADOS) CRUSH added

#4 Updated by Sage Weil 3 months ago

  • Status changed from Need Review to Pending Backport

#5 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #36149: luminous: output format is invalid of the crush tree json dumper added

#6 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #36150: mimic: output format is invalid of the crush tree json dumper added

#7 Updated by Nathan Cutler about 2 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF