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 <sage@redhat.com>
This commit is contained in:
Sage Weil 2018-12-18 21:18:57 -06:00
parent 545df766be
commit ac2430a43d

View 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)