]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tasks/cephfs: fix typo in blacklist clearing
authorJohn Spray <jspray@redhat.com>
Fri, 29 May 2015 12:33:54 +0000 (13:33 +0100)
committerJohn Spray <jspray@redhat.com>
Fri, 29 May 2015 12:46:01 +0000 (13:46 +0100)
Broken in aa0ffb3

Signed-off-by: John Spray <john.spray@redhat.com>
tasks/cephfs/cephfs_test_case.py

index 23a4653368d7f1cad837b0c1d9c8b1dad049e932..b03ecc0bd1e4b97623e8d5bd5220fede97522d28 100644 (file)
@@ -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)