From: John Spray Date: Fri, 29 May 2015 12:33:54 +0000 (+0100) Subject: tasks/cephfs: fix typo in blacklist clearing X-Git-Tag: v10.2.6~165^2^2~467^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=df91f98e5b63cb19b31a7da2514c1d320349ec9c;p=ceph.git tasks/cephfs: fix typo in blacklist clearing Broken in aa0ffb3 Signed-off-by: John Spray --- diff --git a/tasks/cephfs/cephfs_test_case.py b/tasks/cephfs/cephfs_test_case.py index 23a4653368d7..b03ecc0bd1e4 100644 --- a/tasks/cephfs/cephfs_test_case.py +++ b/tasks/cephfs/cephfs_test_case.py @@ -99,7 +99,7 @@ class CephFSTestCase(unittest.TestCase): # In case anything is in the OSD blacklist list, clear it out. This is to avoid # the OSD map changing in the background (due to blacklist expiry) while tests run. - blacklist = json.loads(self.fs.mon_manager.raw_cluster_cmd("osd", "dump", "--format=json-pretty"))['flags'] + blacklist = json.loads(self.fs.mon_manager.raw_cluster_cmd("osd", "dump", "--format=json-pretty"))['blacklist'] log.info("Removing {0} blacklist entries".format(len(blacklist))) for addr, blacklisted_at in blacklist.items(): self.fs.mon_manager.raw_cluster_cmd("osd", "blacklist", "rm", addr)