When original zone belongs to realmdomains, upgrade will fail.
The attached patch solve the issue. https://fedorahosted.org/freeipa/ticket/5472
From 163a0e88cf4dabf53b4b1321f4202683d3fea06d Mon Sep 17 00:00:00 2001 From: Martin Basti <mba...@redhat.com> Date: Wed, 25 Nov 2015 09:57:07 +0100 Subject: [PATCH] Fix upgrade of forwardzones when zone is in realmdomains https://fedorahosted.org/freeipa/ticket/5472 --- ipalib/plugins/realmdomains.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipalib/plugins/realmdomains.py b/ipalib/plugins/realmdomains.py index 92f5cab7f4b75f2826fda97ba23103e17331f779..daaced5a2d0ac8429ebbba6ae23325c0d8abd040 100644 --- a/ipalib/plugins/realmdomains.py +++ b/ipalib/plugins/realmdomains.py @@ -280,7 +280,7 @@ class realmdomains_mod(LDAPUpdate): continue try: - api.Command['dnsrecord_add']( + self.api.Command['dnsrecord_add']( unicode(domain), u'_kerberos', txtrecord=api.env.realm @@ -309,7 +309,7 @@ class realmdomains_mod(LDAPUpdate): continue try: - api.Command['dnsrecord_del']( + self.api.Command['dnsrecord_del']( unicode(domain), u'_kerberos', txtrecord=api.env.realm -- 2.5.0
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code