Project

General

Profile

Bug #44089

mon: --format=json does not work for config get or show

Added by Patrick Donnelly 7 months ago. Updated 7 months ago.

Status:
Fix Under Review
Priority:
High
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Monitor
Pull request ID:
Crash signature:

Description

When giving either these commands a specific key to fetch:

$ ceph config show mds.a client_snapdir --format=json

.snap

or

$ bin/ceph config get mds client_snapdir --format=json

.snap

A mysterious newline is prepended to the output with --format=json but not without.

History

#1 Updated by Patrick Donnelly 7 months ago

  • Project changed from fs to RADOS
  • Priority changed from Normal to High
  • Component(RADOS) Monitor added

#2 Updated by Patrick Donnelly 7 months ago

  • Description updated (diff)

#3 Updated by Kefu Chai 7 months ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 33255

Also available in: Atom PDF