]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/rgw: specify cluster name in 'radosgw-admin gc process' 52274/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 30 Jun 2023 16:15:06 +0000 (12:15 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 24 Jul 2023 16:14:02 +0000 (12:14 -0400)
we create multiple ceph clusters in the multisite tests, so this command
needs to specify the target cluster name

Fixes: https://tracker.ceph.com/issues/61862
Signed-off-by: Casey Bodley <cbodley@redhat.com>
qa/tasks/rgw.py

index aa4203d478cfddd16a7f56833a73301abaf57df8..1adf7f7ee14c1df3e4a2b106c3d5b692f51b0bb6 100644 (file)
@@ -239,7 +239,7 @@ def start_rgw(ctx, config, clients):
                     ],
                 )
             ctx.cluster.only(client).run(args=['sudo', 'rm', '-f', token_path])
-            ctx.cluster.only(client).run(args=['radosgw-admin', 'gc', 'process', '--include-all'])
+            rgwadmin(ctx, client, cmd=['gc', 'process', '--include-all'], check_status=True)
 
 def assign_endpoints(ctx, config, default_cert):
     role_endpoints = {}