]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
agent name should also contain port number
authorYehuda Sadeh <yehuda@inktank.com>
Mon, 5 Aug 2013 03:57:25 +0000 (20:57 -0700)
committerJoe Buck <jbbuck@gmail.com>
Tue, 13 Aug 2013 06:24:13 +0000 (23:24 -0700)
otherwise multiple agents per machines will have the same id

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
teuthology/task/radosgw-agent.py

index 40920ff6af7790f9c400b74c5a83422a7a05d084..e2c6df9c1f7a479ce928f89a6a137be26d344eb6 100644 (file)
@@ -44,7 +44,7 @@ def run_radosgw_agent(ctx, client, config):
     dest_access, dest_secret = rgw_utils.get_zone_system_keys(ctx, dest_client,
                                                               dest_zone)
     port = config.get('port', 8000)
-    daemon_name = '{host}.syncdaemon'.format(host=remote.name)
+    daemon_name = '{host}.{port}.syncdaemon'.format(host=remote.name, port=port)
 
     return remote.run(
         args=[