From 20445072056a282fc80cbc5bcf164f298fa0e185 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Thu, 7 Nov 2019 13:37:09 +0100 Subject: [PATCH] qa/tasks/mon_seesaw: make get_mon_status use mon addr We don't have the 'mon addr' config property any more. This commit cannot be cherry-picked from master because qa/tasks/mon_seesaw.py was dropped in nautilus. Signed-off-by: Nathan Cutler --- 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 b101c0e416f..1a70c1d47c5 100644 --- a/qa/tasks/mon_seesaw.py +++ b/qa/tasks/mon_seesaw.py @@ -23,7 +23,7 @@ def _get_next_port(ctx, ip, cluster): # assuming we have only one cluster here. used = [] for name in teuthology.get_mon_names(ctx, cluster): - addr = ctx.ceph[cluster].conf[name]['mon addr'] + addr = ctx.ceph[cluster].mons[name] mon_ip, mon_port = addr.split(':') if mon_ip != ip: continue -- 2.47.3