Project

General

Profile

Bug #44089

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

Added by Patrick Donnelly almost 3 years ago. Updated 5 months ago.

Status:
New
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

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 almost 3 years ago

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

#2 Updated by Patrick Donnelly almost 3 years ago

  • Description updated (diff)

#3 Updated by Kefu Chai almost 3 years ago

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

#4 Updated by Neha Ojha about 2 years ago

  • Tags set to low-hanging-fruit

#5 Updated by Neha Ojha 11 months ago

  • Priority changed from High to Normal

#6 Updated by Laura Flores 5 months ago

  • Status changed from Fix Under Review to New

This would be a good issue for Open Source Day if someone would be willing to take over the closed PR: https://github.com/ceph/ceph/pull/33255

#7 Updated by Laura Flores 5 months ago

  • Tags set to low-hanging-fruit

#8 Updated by Laura Flores 5 months ago

  • Tags deleted (low-hanging-fruit)

Also available in: Atom PDF