]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/tasks/ec_lost_unfound.py
import 15.2.0 Octopus source
[ceph.git] / ceph / qa / tasks / ec_lost_unfound.py
index 2412cbd583acca87f86a26680184ea8f86b5641d..2360ea92ba496c181c9cf64d6a3e9ba52961b31e 100644 (file)
@@ -21,7 +21,7 @@ def task(ctx, config):
     assert isinstance(config, dict), \
         'lost_unfound task only accepts a dict for configuration'
     first_mon = teuthology.get_first_mon(ctx, config)
-    (mon,) = ctx.cluster.only(first_mon).remotes.iterkeys()
+    (mon,) = ctx.cluster.only(first_mon).remotes.keys()
 
     manager = ceph_manager.CephManager(
         mon,