From: Casey Bodley Date: Tue, 13 Aug 2024 17:06:32 +0000 (-0400) Subject: qa/s3tests: configure tenant name for 's3 tenant' section X-Git-Tag: v19.2.0~9 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=677f825fc88f870878d42645ecd922d2e6d6abbd;p=ceph-ci.git qa/s3tests: configure tenant name for 's3 tenant' section Signed-off-by: Casey Bodley (cherry picked from commit f38429b857d5ce0d4a5c4769a84604c63c8764c0) (cherry picked from commit b3b2fa5e3c1cddde679d8fca5fc24bc1f25fe87a) --- diff --git a/qa/tasks/s3tests.py b/qa/tasks/s3tests.py index cd0cd9d146d..6d7b39d5892 100644 --- a/qa/tasks/s3tests.py +++ b/qa/tasks/s3tests.py @@ -89,6 +89,8 @@ def _config_user(s3tests_conf, section, user, email): s3tests_conf[section].setdefault('totp_seed', base64.b32encode(os.urandom(40)).decode()) s3tests_conf[section].setdefault('totp_seconds', '5') + if section == 's3 tenant': + s3tests_conf[section].setdefault('tenant', 'testx') @contextlib.contextmanager