Project

General

Profile

Actions

Bug #44089

open

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

Added by Patrick Donnelly about 4 years ago. Updated 9 months ago.

Status:
Fix Under Review
Priority:
Normal
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 (v1):
Crash signature (v2):

Description

In addition to the json output not working, 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.

Actions

Also available in: Atom PDF