From caa3a82adaba17e7f299485e0aae944eaff4542e Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 21 Dec 2018 12:20:57 -0600 Subject: [PATCH] qa/tasks/mon_thrash: avoid 'mon addr' in mon section Signed-off-by: Sage Weil --- qa/tasks/mon_thrash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/tasks/mon_thrash.py b/qa/tasks/mon_thrash.py index 0754bcdd4e9..8d5acf07cdc 100644 --- a/qa/tasks/mon_thrash.py +++ b/qa/tasks/mon_thrash.py @@ -156,7 +156,7 @@ class MonitorThrasher: Thrash the monitor specified. :param mon: monitor to thrash """ - addr = self.ctx.ceph['ceph'].conf['mon.%s' % mon]['mon addr'] + addr = self.ctx.ceph['ceph'].mons['mon.%s' % mon] self.log('thrashing mon.{id}@{addr} store'.format(id=mon, addr=addr)) out = self.manager.raw_cluster_cmd('-m', addr, 'sync', 'force') j = json.loads(out) -- 2.39.5