From: Patrick Donnelly Date: Mon, 19 May 2025 19:02:48 +0000 (-0400) Subject: qa/tasks/radosbench: add extra_args conf X-Git-Tag: testing/wip-pdonnell-testing-20260126.152838~45 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6ad52fce3b8741a530d2fc752a45ae2b805413db;p=ceph-ci.git qa/tasks/radosbench: add extra_args conf So we can easily add extra debug flags or whatever. Signed-off-by: Patrick Donnelly --- 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}',