From: Sage Weil Date: Wed, 19 Dec 2018 03:18:57 +0000 (-0600) Subject: qa/tasks/ceph_manager: make get_mon_status use mon addr X-Git-Tag: v12.2.13~45^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=102983f3d202c9280762b7e88c87927ffe7c8f6b;p=ceph.git qa/tasks/ceph_manager: make get_mon_status use mon addr We don't have the 'mon addr' config property any more. Signed-off-by: Sage Weil (cherry picked from commit ac2430a43ddec469575a25be4aff75ce1628eee2) --- diff --git a/qa/tasks/ceph_manager.py b/qa/tasks/ceph_manager.py index 969cd6e23c5..30e48950ca4 100644 --- a/qa/tasks/ceph_manager.py +++ b/qa/tasks/ceph_manager.py @@ -2505,7 +2505,7 @@ class CephManager: """ Extract all the monitor status information from the cluster """ - addr = self.ctx.ceph[self.cluster].conf['mon.%s' % mon]['mon addr'] + addr = self.ctx.ceph[self.cluster].mons['mon.%s' % mon] out = self.raw_cluster_cmd('-m', addr, 'mon_status') return json.loads(out)