From 812e48a14837cc0173a15aafa6fa563bf9fdd6d4 Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Tue, 25 Mar 2014 14:57:18 -0700 Subject: [PATCH] radosgw-admin: skip data sync tests when only metadata is configured Fixes http://tracker.ceph.com/issues/7818 Signed-off-by: Josh Durgin --- teuthology/task/radosgw-admin.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/teuthology/task/radosgw-admin.py b/teuthology/task/radosgw-admin.py index ae82c84e445d9..6936b798fa9d8 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] -- 2.39.5