From 2f786f329901229489eae9d4d7d688afa39da747 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 6 Dec 2018 11:25:48 -0600 Subject: [PATCH] qa/tasks/mon_seesaw: expect v1/v2 prefix in addr Signed-off-by: Sage Weil --- qa/tasks/mon_seesaw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/tasks/mon_seesaw.py b/qa/tasks/mon_seesaw.py index b101c0e416f96..4b2684e12cc23 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)) -- 2.39.5