From: Sage Weil Date: Thu, 6 Dec 2018 17:25:48 +0000 (-0600) Subject: qa/tasks/mon_seesaw: expect v1/v2 prefix in addr X-Git-Tag: v14.1.0~484^2~64 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=2f786f329901229489eae9d4d7d688afa39da747;p=ceph-ci.git qa/tasks/mon_seesaw: expect v1/v2 prefix in addr Signed-off-by: Sage Weil --- diff --git a/qa/tasks/mon_seesaw.py b/qa/tasks/mon_seesaw.py index b101c0e416f..4b2684e12cc 100644 --- a/qa/tasks/mon_seesaw.py +++ b/qa/tasks/mon_seesaw.py @@ -24,7 +24,7 @@ def _get_next_port(ctx, ip, cluster): used = [] for name in teuthology.get_mon_names(ctx, cluster): addr = ctx.ceph[cluster].conf[name]['mon addr'] - mon_ip, mon_port = addr.split(':') + addr_type, mon_ip, mon_port = addr.split(':') if mon_ip != ip: continue used.append(int(mon_port))