This bug affects 4.2, we should backport the fix there too.

See ticket: https://fedorahosted.org/freeipa/ticket/5116

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York
>From 84ca685e4dab2880812a915f04798d647068de0c Mon Sep 17 00:00:00 2001
From: Simo Sorce <s...@redhat.com>
Date: Fri, 10 Jul 2015 12:58:19 -0400
Subject: [PATCH] Fix DNS records installation for replicas

Ticket: https:/fedorahosted.org/freeipa/ticket/5116

Signed-off-by: Simo Sorce <s...@redhat.com>
---
 ipaserver/install/server/replicainstall.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/ipaserver/install/server/replicainstall.py b/ipaserver/install/server/replicainstall.py
index a78eeb331c1f3f4f2233abb9e65bdde79eee4000..a828ba9d8ce1b4c4ceecbe9356034d3bb2cfaa25 100644
--- a/ipaserver/install/server/replicainstall.py
+++ b/ipaserver/install/server/replicainstall.py
@@ -503,9 +503,8 @@ def install_check(installer):
     if options.setup_dns:
         dns.install_check(False, True, options, config.host_name)
     else:
-        installutils.get_server_ip_address(config.host_name, fstore,
-                                           not installer.interactive, False,
-                                           options.ip_addresses)
+        config.ips = installutils.get_server_ip_address(config.host_name,
+            fstore, not installer.interactive, False, options.ip_addresses)
 
     # check connection
     if not options.skip_conncheck:
-- 
2.4.2

Title: #5116 (Replica install fails to update DNS records) – freeipa

Ticket #5116 (new defect)

Opened 7 minutes ago

Replica install fails to update DNS records

Reported by: simo Owned by: someone
Priority: critical Milestone: 0.0 NEEDS_TRIAGE
Component: IPA Version:
Keywords: Cc:
Blocked By: Blocking:
Affects Documentation: no Patch posted for review: no
Red Hat Bugzilla: Patch review by:
External tracker: Design link:
Test coverage: Test by:
Test case: Needs UI design:
Feature: Source:
Expertise:
Release Notes:

Description

The code that insstall records in the replicaintstall.py file loops on config.ips to find which records to add to DNS, unfortunately the change in ae9c3e2dce000ed185b28e2e6e85043ad8d001ed broke this because config.ips is not set.

Note: See TracTickets for help on using tickets.
-- 
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

Reply via email to