]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: ceph-disk: force debug monc = 0 11548/head
authorLoic Dachary <ldachary@redhat.com>
Tue, 18 Oct 2016 15:33:23 +0000 (17:33 +0200)
committerLoic Dachary <ldachary@redhat.com>
Wed, 19 Oct 2016 07:33:13 +0000 (09:33 +0200)
The sh function will collect both stderr and stdout and debug
will mess the json parsing.

Fixes: http://tracker.ceph.com/issues/17607
Signed-off-by: Loic Dachary <ldachary@redhat.com>
(cherry picked from commit 469a53a4adc335ea4ff8e34a958b12f0f222a6c1)

qa/workunits/ceph-disk/ceph-disk-test.py

index 5fedde4d3638b99bc60d664781fab6f8c73f31a6..cdcfc8483ad999ad4fd1d09077cf0f1f983fdc7c 100644 (file)
@@ -227,6 +227,10 @@ class TestCephDisk(object):
             c.helper("install multipath-tools device-mapper-multipath")
         c.conf['global']['pid file'] = '/var/run/ceph/$cluster-$name.pid'
         #
+        # Avoid json parsing interference
+        #
+        c.conf['global']['debug monc'] = 0
+        #
         # objecstore
         #
         c.conf['global']['osd journal size'] = 100