]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/rgw: include --rgw-realm/zonegroup/zone args for 'account create' 59445/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 23 Aug 2024 19:55:44 +0000 (15:55 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 26 Aug 2024 21:59:37 +0000 (17:59 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit aa1ba5de6e730d039967c4ce1d0892f65905f56a)

src/test/rgw/test_multi.py

index 295c70883f7552818ea546421929cff84f7f23f3..1ccd43b5eaa27d38be687a1e1ddb1082508353bd 100644 (file)
@@ -382,7 +382,9 @@ def init(parse_args):
                     arg += admin_creds.credential_args()
                     admin_user.create(zone, arg)
                     # create test account/user
-                    cluster.admin(['account', 'create', '--account-id', user.account])
+                    arg = ['--account-id', user.account]
+                    arg += zone.zone_args()
+                    cluster.admin(['account', 'create'] + arg)
                     arg = ['--display-name', 'TestUser']
                     arg += user_creds.credential_args()
                     user.create(zone, arg)