mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
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 <tamil.muthamizhan@inktank.com>
This commit is contained in:
parent
b99d11c490
commit
e07b711325
@ -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','')
|
||||
|
Loading…
Reference in New Issue
Block a user