From: Josh Durgin Date: Tue, 29 Oct 2013 20:03:55 +0000 (-0700) Subject: radosgw-agent: move positional argument last X-Git-Tag: 1.1.0~1787^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=96835e9c94b36420ebe3610aca89d08584ec438b;p=teuthology.git radosgw-agent: move positional argument last Other args are treated as positional after the first one. Signed-off-by: Josh Durgin --- diff --git a/teuthology/task/radosgw-agent.py b/teuthology/task/radosgw-agent.py index f13777dc1..a33fbbe54 100644 --- a/teuthology/task/radosgw-agent.py +++ b/teuthology/task/radosgw-agent.py @@ -87,7 +87,6 @@ def run_radosgw_agent(ctx, config): '--log-file', '{tdir}/archive/rgw_sync_agent.{client}.log'.format( tdir=testdir, client=client), - "http://{addr}:{port}".format(addr=dest_host, port=dest_port), ] # the test server and full/incremental flags are mutually exclusive if sync_scope is None: @@ -103,6 +102,10 @@ def run_radosgw_agent(ctx, config): in_args.append(sync_scope) log.debug('Starting a {scope} sync on {client}'.format(scope=sync_scope,client=client)) + # positional arg for destination must come last + in_args.append("http://{addr}:{port}".format(addr=dest_host, + port=dest_port)) + return_list.append((client, remote.run( args=in_args, wait=False,