From 2390788b89037bf5121adf4251b980dc20a8f269 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Thu, 30 Jan 2025 12:31:35 -0500 Subject: [PATCH] qa/rgw: fix user cleanup in s3tests task the if condition was backwards, preventing non-keystone users from being removed after the s3tests task runs Fixes: https://tracker.ceph.com/issues/69741 Signed-off-by: Casey Bodley --- 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 85ab97d23cd26..383f4736302fb 100644 --- a/qa/tasks/s3tests.py +++ b/qa/tasks/s3tests.py @@ -251,7 +251,7 @@ def create_users(ctx, config, s3tests_conf): for client in config.keys(): for section, user in users.items(): # don't need to delete keystone users - if not user in keystone_users: + if section in keystone_users: continue uid = '{user}.{client}'.format(user=user, client=client) cluster_name, daemon_type, client_id = teuthology.split_role(client) -- 2.39.5