]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: add debug info when comparing bucket metadata
authorOrit Wasserman <owasserm@redhat.com>
Tue, 23 Aug 2016 14:27:50 +0000 (16:27 +0200)
committerYuri Weinstein <yweinste@redhat.com>
Thu, 10 Nov 2016 21:12:04 +0000 (21:12 +0000)
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
(cherry picked from commit ad5a2a2f199f8fcecadf2c91b33c0530a26d8c3d)

tasks/radosgw_admin.py

index 45ee0759d99eb7f27b37035a048a200d1f28e6bc..6c598154436ca62c04a744a38f8bd561ad844c3e 100644 (file)
@@ -262,6 +262,8 @@ def task(ctx, config):
             (err2, out2) = rgwadmin(ctx, dest_client,
                 ['metadata', 'get', 'bucket:{bucket_name}'.format(bucket_name=bucket_name2)],
                 check_status=True)
+            log.debug('metadata 1 %r', out1)
+            log.debug('metadata 2 %r', out2)
             assert out1 == out2
 
             # get the bucket.instance info and compare that