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 <cbodley@redhat.com>
This commit is contained in:
Casey Bodley 2023-06-30 12:15:06 -04:00
parent 84e169d5b7
commit 6333285a90

View 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=['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): def assign_endpoints(ctx, config, default_cert):
role_endpoints = {} role_endpoints = {}