Re: [Freeipa-devel] [PATCH 0369] Force creation of service during replica install

2015-12-07 Thread Martin Babinsky

On 12/06/2015 09:45 PM, Martin Basti wrote:

Replica install should not fail due a missing A record, if there are
proper entries in hosts.

Patch attached.



ACK.

--
Martin^3 Babinsky

--
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


Re: [Freeipa-devel] [PATCH 0369] Force creation of service during replica install

2015-12-07 Thread Martin Basti



On 07.12.2015 18:27, Martin Babinsky wrote:

On 12/06/2015 09:45 PM, Martin Basti wrote:

Replica install should not fail due a missing A record, if there are
proper entries in hosts.

Patch attached.



ACK.


Pushed to master: cac756b87d2eb521f038d0fb2ddb2a98569cf1af

--
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


[Freeipa-devel] [PATCH 0369] Force creation of service during replica install

2015-12-06 Thread Martin Basti
Replica install should not fail due a missing A record, if there are 
proper entries in hosts.


Patch attached.
From 5cf97c9329d2e55c357c29e8ef66c5168e84d067 Mon Sep 17 00:00:00 2001
From: Martin Basti 
Date: Sun, 6 Dec 2015 18:43:37 +0100
Subject: [PATCH] Force creation of services during replica install

Missing A record should not prevent replica to be installed.
---
 ipaserver/install/server/replicainstall.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ipaserver/install/server/replicainstall.py b/ipaserver/install/server/replicainstall.py
index e0b9ef869e2e60f574a08495e9a1a2fc7b40e10c..d735e67cbf34cc42c98add40731c10473e2e042c 100644
--- a/ipaserver/install/server/replicainstall.py
+++ b/ipaserver/install/server/replicainstall.py
@@ -80,7 +80,8 @@ def install_http_certs(config, fstore):
 principal = 'HTTP/%s@%s' % (config.host_name, config.realm_name)
 installutils.install_service_keytab(principal,
 config.master_host_name,
-paths.IPA_KEYTAB)
+paths.IPA_KEYTAB,
+force_service_add=True)
 
 # Obtain certificate for the HTTP service
 nssdir = certs.NSS_DIR
-- 
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