From df91f98e5b63cb19b31a7da2514c1d320349ec9c Mon Sep 17 00:00:00 2001 From: John Spray Date: Fri, 29 May 2015 13:33:54 +0100 Subject: [PATCH] tasks/cephfs: fix typo in blacklist clearing Broken in aa0ffb3 Signed-off-by: John Spray --- tasks/cephfs/cephfs_test_case.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/cephfs/cephfs_test_case.py b/tasks/cephfs/cephfs_test_case.py index 23a4653368d7f..b03ecc0bd1e4b 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) -- 2.39.5