From: tamil Date: Tue, 3 Jul 2012 23:04:12 +0000 (-0700) Subject: Added a debug message X-Git-Tag: 1.1.0~2517 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e07b711325847911573eb06a8bb42ead0e58a47b;p=teuthology.git Added a debug message The debug message is to print the string that should be JSON. This is to track a nightly run failure. Signed-off-by: tamil --- diff --git a/teuthology/task/peer.py b/teuthology/task/peer.py index e0209f830..7a36c8553 100644 --- a/teuthology/task/peer.py +++ b/teuthology/task/peer.py @@ -78,6 +78,7 @@ def task(ctx, config): pgs = manager.get_pg_stats() for pg in pgs: out = manager.raw_cluster_cmd('pg', pg['pgid'], 'query') + log.debug("out string %s",out) j = json.loads('\n'.join(out.split('\n')[1:])) log.info("pg is %s, query json is %s", pg, j) assert j['state'].replace('+scrubbing','') == pg['state'].replace('+scrubbing','')