From: Sage Weil Date: Fri, 21 Dec 2018 18:20:57 +0000 (-0600) Subject: qa/tasks/mon_thrash: avoid 'mon addr' in mon section X-Git-Tag: v14.1.0~484^2~20 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=caa3a82adaba17e7f299485e0aae944eaff4542e;p=ceph-ci.git qa/tasks/mon_thrash: avoid 'mon addr' in mon section Signed-off-by: Sage Weil --- 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)