From f875776d13515bbfdbac50520c3eef8c787e22bd Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Thu, 4 Apr 2024 13:25:23 -0400 Subject: [PATCH] qa/rgw/s3tests: remove 'client.0' from bucket prefix new sns test cases are using this for topic names, but the '.' is not allowed there: > api_params = {'Name': 'test-client.0-n3bdgre5el2jk8v-606'} > botocore.exceptions.ClientError: An error occurred (InvalidArgument) when calling the CreateTopic operation: Name must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens Signed-off-by: Casey Bodley (cherry picked from commit 39a2af56d78dd1949434c36367d780cc5f91fe30) --- qa/tasks/s3tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/tasks/s3tests.py b/qa/tasks/s3tests.py index ca198b6adb4..cd0cd9d146d 100644 --- a/qa/tasks/s3tests.py +++ b/qa/tasks/s3tests.py @@ -105,7 +105,7 @@ def create_users(ctx, config, s3tests_conf): client_with_id = daemon_type + '.' + client_id conf = s3tests_conf[client] conf.setdefault('fixtures', {}) - conf['fixtures'].setdefault('bucket prefix', 'test-' + client + '-{random}-') + conf['fixtures'].setdefault('bucket prefix', 'test-{random}-') accounts = cconfig.get('accounts', {}) keystone_users = cconfig.get('keystone users', {}) -- 2.39.5