From 93f5d607dd92a651e39da5ee4410de865d0fdc45 Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Mon, 25 Nov 2013 18:33:09 -0800 Subject: [PATCH] radosgw-admin: don't compare pools for different zones The actual data locations will be different if they are in the same cluster. Signed-off-by: Josh Durgin --- teuthology/task/radosgw-admin.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/teuthology/task/radosgw-admin.py b/teuthology/task/radosgw-admin.py index dd55f53d18..19d627c443 100644 --- a/teuthology/task/radosgw-admin.py +++ b/teuthology/task/radosgw-admin.py @@ -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(): -- 2.39.5