diff --git a/ipaserver/install/ipa_restore.py b/ipaserver/install/ipa_restore.py index 6de73e640..efe3b9b1c 100644 --- a/ipaserver/install/ipa_restore.py +++ b/ipaserver/install/ipa_restore.py @@ -458,6 +458,7 @@ class Restore(admintool.AdminTool): self.dirman_password) except Exception, e: self.log.critical("Unable to disable agreement on %s: %s" % (master, e)) + continue master_dn = DN(('cn', master), ('cn', 'masters'), ('cn', 'ipa'), ('cn', 'etc'), api.env.basedn) try: @@ -482,6 +483,7 @@ class Restore(admintool.AdminTool): self.dirman_password) except Exception, e: self.log.critical("Unable to disable agreement on %s: %s" % (master, e)) + continue host_entries = repl.find_ipa_replication_agreements() hosts = [rep.single_value.get('nsds5replicahost')