Hi,
BindInstance is used in two different ways, with replica setup not
calling BindInstance.setup() before adding master records. This causes
some properties to be uninitialized and an exception when installing
replica.
https://fedorahosted.org/freeipa/ticket/4186
--
/ Alexander Bokovoy
From 644ac4508f9f357c75c1cf954386590828bbeb3e Mon Sep 17 00:00:00 2001
From: Alexander Bokovoy aboko...@redhat.com
Date: Wed, 26 Feb 2014 11:06:29 +0200
Subject: [PATCH 5/5] bindinstance: make sure zone manager is initialized in
add_master_dns_records
Bind instance is configured using a short-circuited way when replica is set up.
Make sure required properties are in place for that.
https://fedorahosted.org/freeipa/ticket/4186
---
ipaserver/install/bindinstance.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/ipaserver/install/bindinstance.py
b/ipaserver/install/bindinstance.py
index 6d5a1d4..4dc4103 100644
--- a/ipaserver/install/bindinstance.py
+++ b/ipaserver/install/bindinstance.py
@@ -828,6 +828,7 @@ class BindInstance(service.Service):
self.reverse_zone = reverse_zone
self.ca_configured = ca_configured
self.first_instance = False
+self.zonemgr = 'hostmaster.%s' % self.domain
self.__add_self()
self.__add_ipa_ca_record()
--
1.8.3.1
___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel