From: Josh Durgin Date: Tue, 25 Mar 2014 21:57:18 +0000 (-0700) Subject: radosgw-admin: skip data sync tests when only metadata is configured X-Git-Tag: 1.1.0~1563 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=812e48a14837cc0173a15aafa6fa563bf9fdd6d4;p=teuthology.git radosgw-admin: skip data sync tests when only metadata is configured Fixes http://tracker.ceph.com/issues/7818 Signed-off-by: Josh Durgin --- diff --git a/teuthology/task/radosgw-admin.py b/teuthology/task/radosgw-admin.py index ae82c84e4..6936b798f 100644 --- a/teuthology/task/radosgw-admin.py +++ b/teuthology/task/radosgw-admin.py @@ -426,6 +426,9 @@ def task(ctx, config): # Create a tiny file and check if in sync for agent_client, c_config in ctx.radosgw_agent.config.iteritems(): + if c_config.get('metadata-only'): + continue + source_client = c_config['src'] dest_client = c_config['dest'] k = boto.s3.key.Key(bucket) @@ -459,6 +462,9 @@ def task(ctx, config): bucket = connection.create_bucket(bucket_name + 'data2') for agent_client, c_config in ctx.radosgw_agent.config.iteritems(): + if c_config.get('metadata-only'): + continue + source_client = c_config['src'] dest_client = c_config['dest'] (dest_host, dest_port) = ctx.rgw.role_endpoints[dest_client]