From 18e80147f3e9f7d1274ed0c4b30d816422a2fdd4 Mon Sep 17 00:00:00 2001 From: Joe Buck Date: Thu, 1 Aug 2013 14:03:59 -0700 Subject: [PATCH] rgy.py: make log_(data|metadata) configurable The log_data and log_metadata are made configurable via the YAML file and default to false (meaning neither data nor metadata operations are logged). Signed-off-by: Joe Buck --- teuthology/task/rgw.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/teuthology/task/rgw.py b/teuthology/task/rgw.py index 177e81167ba68..63d05657625a6 100644 --- a/teuthology/task/rgw.py +++ b/teuthology/task/rgw.py @@ -284,6 +284,13 @@ def extract_zone_info(ctx, client, client_config): if key in ceph_config: zone_info[key] = ceph_config[key] + # these keys are meant for the zones argument in the region info. + # We insert them into zone_info with a different format and then remove them + # in the fill_in_endpoints() method + for key in ['rgw log meta', 'rgw log data']: + if key in ceph_config: + zone_info[key] = ceph_config[key] + return region, zone, zone_info def extract_region_info(region, region_info): -- 2.39.5