From: Nathan Cutler Date: Thu, 7 Nov 2019 12:37:09 +0000 (+0100) Subject: qa/tasks/mon_seesaw: make get_mon_status use mon addr X-Git-Tag: v12.2.13~45^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=20445072056a282fc80cbc5bcf164f298fa0e185;p=ceph.git 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 --- diff --git a/qa/tasks/mon_seesaw.py b/qa/tasks/mon_seesaw.py index b101c0e416f96..1a70c1d47c582 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