]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Added a debug message
authortamil <tamil@tamil-VirtualBox.(none)>
Tue, 3 Jul 2012 23:04:12 +0000 (16:04 -0700)
committertamil <tamil@tamil-VirtualBox.(none)>
Tue, 3 Jul 2012 23:04:12 +0000 (16:04 -0700)
The debug message is to print the string that should be JSON.
This is to track a nightly run failure.

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
teuthology/task/peer.py

index e0209f8303d009895f76077d62942adb58f7a114..7a36c85530a5375c0221de76eadf7677dea832a7 100644 (file)
@@ -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','')