]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: add missing argument parser
authormyoungwon oh <ohmyoungwon@gmail.com>
Fri, 19 Feb 2021 09:31:46 +0000 (18:31 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Mon, 29 Mar 2021 08:15:16 +0000 (17:15 +0900)
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
qa/tasks/rados.py

index 473b0b6c2bb0b93dc640fb6ccb80b6016135c8ca..a730a72993c246f0313acc757b3e5b28a8e12124 100644 (file)
@@ -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]