mirror of
https://github.com/ceph/ceph
synced 2025-02-19 08:57:27 +00:00
tasks/cephfs: fix typo in blacklist clearing
Broken in aa0ffb3
Signed-off-by: John Spray <john.spray@redhat.com>
This commit is contained in:
parent
d9959b18ba
commit
df91f98e5b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user