]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/ceph_manager: make get_mon_status use mon addr
authorSage Weil <sage@redhat.com>
Wed, 19 Dec 2018 03:18:57 +0000 (21:18 -0600)
committerSage Weil <sage@redhat.com>
Thu, 3 Jan 2019 17:17:31 +0000 (11:17 -0600)
We don't have the 'mon addr' config property any more.

Signed-off-by: Sage Weil <sage@redhat.com>
qa/tasks/ceph_manager.py

index 37aff1b262a35169804464966b27d1aca20705b2..c9cbc44505ce6d99a6ffc4d55d19ec4778774573 100644 (file)
@@ -2520,7 +2520,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)