From: Joe Buck Date: Sat, 24 Aug 2013 02:21:13 +0000 (-0700) Subject: radosgw-agent: store radosgw_agent server/port X-Git-Tag: 1.1.0~1929 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2877e2722ba99aaa5ee41f9f063629efbfc75bf5;p=teuthology.git radosgw-agent: store radosgw_agent server/port Persist the hostname and port number used by the radosgw-agent http server. Signed-off-by: Joe Buck Reviewed-by: Josh Durgin --- diff --git a/teuthology/task/radosgw-agent.py b/teuthology/task/radosgw-agent.py index a6661b480..17c206161 100644 --- a/teuthology/task/radosgw-agent.py +++ b/teuthology/task/radosgw-agent.py @@ -100,6 +100,8 @@ def run_radosgw_agent(ctx, config): in_args.append('--test-server-port') in_args.append(str(port)) log.debug('Starting a sync test server on {client}'.format(client=client)) + # Stash the radosgw-agent server / port # for use by subsequent tasks + ctx.radosgw_agent.endpoint = (client, str(port)) else: in_args.append('--sync-scope') in_args.append(sync_scope)