From 07435866e7dbfb2dc6e7f3246ae852f59cb01c6d Mon Sep 17 00:00:00 2001 From: Ali Maredia Date: Tue, 19 Jul 2022 11:37:35 -0400 Subject: [PATCH] qa: add iam section to cloud transitions config Signed-off-by: Ali Maredia --- qa/tasks/s3tests.py | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/qa/tasks/s3tests.py b/qa/tasks/s3tests.py index 31b9623251df2..5461cb82e1ebe 100644 --- a/qa/tasks/s3tests.py +++ b/qa/tasks/s3tests.py @@ -119,6 +119,8 @@ def create_users(ctx, config): 'user', 'create', '--uid', s3tests_conf[section]['user_id'], '--display-name', s3tests_conf[section]['display_name'], + '--email', s3tests_conf[section]['email'], + '--caps', 'user-policy=*', '--access-key', s3tests_conf[section]['access_key'], '--secret', s3tests_conf[section]['secret_key'], '--cluster', cluster_name, @@ -146,19 +148,6 @@ def create_users(ctx, config): # add/configure caps for iam user if section=='iam': - ctx.cluster.only(client).run( - args=[ - 'adjust-ulimits', - 'ceph-coverage', - '{tdir}/archive/coverage'.format(tdir=testdir), - 'radosgw-admin', - '-n', client_with_id, - 'caps', 'add', - '--uid', s3tests_conf[section]['user_id'], - '--caps', 'user-policy=*', - '--cluster', cluster_name, - ], - ) ctx.cluster.only(client).run( args=[ 'adjust-ulimits', @@ -626,6 +615,7 @@ def task(ctx, config): 's3 alt' : {}, 's3 tenant' : {}, 's3 cloud' : {}, + 'iam' : {}, } ) else: -- 2.39.5