]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/mon_seesaw: make get_mon_status use mon addr
authorNathan Cutler <ncutler@suse.com>
Thu, 7 Nov 2019 12:37:09 +0000 (13:37 +0100)
committerNathan Cutler <ncutler@suse.com>
Thu, 7 Nov 2019 12:42:58 +0000 (13:42 +0100)
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 <ncutler@suse.com>
qa/tasks/mon_seesaw.py

index b101c0e416f96490827c3f5b64f07ac47c8e3b25..1a70c1d47c5822778513e0a9b8afca124f534211 100644 (file)
@@ -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