From: Casey Bodley Date: Fri, 30 Jun 2023 16:15:06 +0000 (-0400) Subject: qa/rgw: specify cluster name in 'radosgw-admin gc process' X-Git-Tag: v19.0.0~747^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6333285a90caec50692c57bb330c9edcce17b122;p=ceph.git qa/rgw: specify cluster name in 'radosgw-admin gc process' 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 --- diff --git a/qa/tasks/rgw.py b/qa/tasks/rgw.py index aa4203d478cf..1adf7f7ee14c 100644 --- a/qa/tasks/rgw.py +++ b/qa/tasks/rgw.py @@ -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 = {}