[Freeipa-devel] [PATCH] 0142: initialize BindInstance.zonemgr for short-circuited instance use in replica setup

2014-02-26 Thread Alexander Bokovoy

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

Re: [Freeipa-devel] [PATCH] 0142: initialize BindInstance.zonemgr for short-circuited instance use in replica setup

2014-02-26 Thread Petr Viktorin

On 02/26/2014 10:13 AM, Alexander Bokovoy wrote:

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


Thanks, ACK, pushed to:
master: 090a9669d8457a47880554bfbd1d99d0584e24ff
ipa-3-3: 61654ea6f3a00266732cf19d769f62262ed80935


--
PetrĀ³

___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel