From 8618055f89fb23044dd74e93c0934a314bc6cab1 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Mon, 19 May 2025 15:02:48 -0400 Subject: [PATCH] qa/tasks/radosbench: add extra_args conf So we can easily add extra debug flags or whatever. Signed-off-by: Patrick Donnelly --- qa/tasks/radosbench.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qa/tasks/radosbench.py b/qa/tasks/radosbench.py index 683d5af4893..035f9542b8a 100644 --- a/qa/tasks/radosbench.py +++ b/qa/tasks/radosbench.py @@ -3,6 +3,7 @@ Rados benchmarking """ import contextlib import logging +import shlex from teuthology.orchestra import run from teuthology import misc as teuthology @@ -19,6 +20,7 @@ def task(ctx, config): The config should be as follows: radosbench: + extra_args: ... auth_exit_on_failure: clients: [client list] expected_rc: @@ -55,6 +57,7 @@ def task(ctx, config): manager = ctx.managers['ceph'] runtype = config.get('type', 'write') + config_extra_args = shlex.split(config.setdefault('extra_args', '')) expected_rc = config.setdefault('expected_rc', 0) create_pool = config.get('create_pool', True) @@ -97,6 +100,7 @@ def task(ctx, config): 'rados', ] extra_args = [ + *config_extra_args, '--no-log-to-stderr', f'--name={role}', f'--pool={pool}', -- 2.39.5