]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
radosgw-admin: don't compare pools for different zones
authorJosh Durgin <josh.durgin@inktank.com>
Tue, 26 Nov 2013 02:33:09 +0000 (18:33 -0800)
committerJosh Durgin <josh.durgin@inktank.com>
Mon, 10 Mar 2014 07:29:50 +0000 (00:29 -0700)
The actual data locations will be different if they are in the same
cluster.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
teuthology/task/radosgw-admin.py

index dd55f53d18a3dad362f01ced17e0b6d2be10c64b..19d627c443785243686d1587cf6ab9ad7ad4f065 100644 (file)
@@ -235,6 +235,10 @@ def task(ctx, config):
                 'bucket.instance:{bucket_name}:{bucket_instance}'.format(
                 bucket_name=bucket_name2,bucket_instance=dest_bucket_id)],
                 check_status=True)
+            del out1['data']['bucket_info']['bucket']['pool']
+            del out1['data']['bucket_info']['bucket']['index_pool']
+            del out2['data']['bucket_info']['bucket']['pool']
+            del out2['data']['bucket_info']['bucket']['index_pool']
             assert out1 == out2
 
         for agent_client, c_config in ctx.radosgw_agent.config.iteritems():