Project

General

Profile

Actions

Bug #7378

closed

ceph --format plain --admin-socket mon.asok crashes the mon

Added by Loïc Dachary about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Monitor
Target version:
% Done:

100%

Source:
Community (dev)
Tags:
Backport:
emperor, dumpling
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Steps to reproduce, from the src dir on todays master:

rm -fr dev out ;  mkdir -p dev ; LC_ALL=C MON=1 OSD=3 bash -x ./vstart.sh -d -n -X -l mon osd
./ceph --format plain --admin-daemon out/mon.a.asok config get paxos_propose_interval

It should return EINVAL instead of crashing the mon since plain is not supported. It works fine with json
$ ./ceph --format xml --admin-daemon out/mon.a.asok config get paxos_propose_interval
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
{"paxos_propose_interval":"1"}

Actions

Also available in: Atom PDF