From 2877e2722ba99aaa5ee41f9f063629efbfc75bf5 Mon Sep 17 00:00:00 2001 From: Joe Buck Date: Fri, 23 Aug 2013 19:21:13 -0700 Subject: [PATCH] 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 --- teuthology/task/radosgw-agent.py | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.47.3