From 242e2ee2840e44f5ce0269d724d5701432692a10 Mon Sep 17 00:00:00 2001 From: myoungwon oh Date: Fri, 19 Feb 2021 18:31:46 +0900 Subject: [PATCH] qa: add missing argument parser Signed-off-by: Myoungwon Oh --- qa/tasks/rados.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/qa/tasks/rados.py b/qa/tasks/rados.py index 473b0b6c2bb..a730a72993c 100644 --- a/qa/tasks/rados.py +++ b/qa/tasks/rados.py @@ -153,9 +153,9 @@ def task(ctx, config): if config.get('low_tier_pool', None): args.extend(['--low_tier_pool', config.get('low_tier_pool', None)]) if config.get('dedup_chunk_size', False): - args.extend(['--dedup_chunk_size']) + args.extend(['--dedup_chunk_size', config.get('dedup_chunk_size', None)] ) if config.get('dedup_chunk_algo', False): - args.extend(['--dedup_chunk_algo']) + args.extend(['--dedup_chunk_algo', config.get('dedup_chunk_algo', None)]) if config.get('pool_snaps', False): args.extend(['--pool-snaps']) if config.get('balance_reads', False): @@ -197,7 +197,12 @@ def task(ctx, config): "append", "write", "read", - "delete" + "delete", + "set_chunk", + "tier_promote", + "tier_evict", + "tier_promote", + "tier_flush" ]: if field in op_weights: weights[field] = op_weights[field]