mirror of
https://github.com/ceph/ceph
synced 2024-12-28 14:34:13 +00:00
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:
parent
545df766be
commit
ac2430a43d
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user