]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/tasks/mon_recovery.py
import 15.2.0 Octopus source
[ceph.git] / ceph / qa / tasks / mon_recovery.py
index bfa2cdf78f15dfe348dc7d4f2aaf3d345847d050..e09e9877b571f2848edfda6e383f4663ee2405de 100644 (file)
@@ -17,7 +17,7 @@ def task(ctx, config):
     assert isinstance(config, dict), \
         '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,