Project

General

Profile

Actions

Bug #25153

closed

output format is invalid of the crush tree json dumper

Added by Oshyn Song over 5 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 #1

Updated by Oshyn Song over 5 years ago

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

Actions #2

Updated by Patrick Donnelly over 5 years ago

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

Updated by Sage Weil over 5 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #5

Updated by Nathan Cutler over 5 years ago

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

Updated by Nathan Cutler over 5 years ago

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

Updated by Nathan Cutler over 5 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF