Bug #7378
Updated by Loïc Dachary about 10 years ago
Steps to reproduce, from the src dir on todays master:
<pre>
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
</pre>
It should return EINVAL instead of crashing the mon since plain is not supported. It works fine with *json*
<pre>
$ ./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"}
</pre>