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 <cbodley@redhat.com>
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)