From dfe392e04ee3a126fad2a9b3b5c526f7f7594cf5 Mon Sep 17 00:00:00 2001 From: ShwethaHP Date: Wed, 23 Aug 2017 17:24:57 +0530 Subject: 1) bring_bricks_online: Wait for bricks to be online for 30 seconds after bringing them online. 2) log all the xml output/error to DEBUG log level. Change-Id: If6bb758ac728f299292def9d72c0ef166a1569ae Signed-off-by: ShwethaHP --- glustolibs-gluster/glustolibs/gluster/heal_ops.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'glustolibs-gluster/glustolibs/gluster/heal_ops.py') diff --git a/glustolibs-gluster/glustolibs/gluster/heal_ops.py b/glustolibs-gluster/glustolibs/gluster/heal_ops.py index 8c0b6c820..daae9a37d 100644 --- a/glustolibs-gluster/glustolibs/gluster/heal_ops.py +++ b/glustolibs-gluster/glustolibs/gluster/heal_ops.py @@ -271,7 +271,7 @@ def get_heal_info(mnode, volname): heal_info data per brick. """ cmd = "gluster volume heal %s info --xml" % volname - ret, out, _ = g.run(mnode, cmd) + ret, out, _ = g.run(mnode, cmd, log_level='DEBUG') if ret != 0: g.log.error("Failed to get the heal info xml output for the volume %s." "Hence failed to get the heal info summary." % volname) @@ -357,7 +357,7 @@ def get_heal_info_split_brain(mnode, volname): heal_info_split_brain data per brick. """ cmd = "gluster volume heal %s info split-brain --xml" % volname - ret, out, _ = g.run(mnode, cmd) + ret, out, _ = g.run(mnode, cmd, log_level='DEBUG') if ret != 0: g.log.error("Failed to get the heal info xml output for the volume %s." "Hence failed to get the heal info summary." % volname) -- cgit