Bug 712920

Summary: DNS "A" record added to existing IPA server when using ipa-replica-prepare --ip-address
Product: [Retired] freeIPA Reporter: Sigbjorn Lie <sigbjorn>
Component: ipa-serverAssignee: Rob Crittenden <rcritten>
Status: CLOSED UPSTREAM QA Contact: Chandrasekar Kannan <ckannan>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 2.0CC: benl, dpal, jgalipea, mkosek
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-14 12:32:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Sigbjorn Lie 2011-06-13 15:25:59 UTC
Description of problem:
When running ipa-replica-prepare with the "--ip-address" option using a subnet that does not have a reverse subnet configured on the IPA server, the IP address specified is added as a A record to the IPA server the ipa-replica-prepare script is run at. In my case, the first/primary installed IPA server.

Version-Release number of selected component (if applicable):
2.0 (F15)

How reproducible:
Every time

Steps to Reproduce:
1. Run ipa-replica-prepare with the "--ip-address" option, specify a subnet that's not already defined within the IPA servers DNS server.
2.
3.
  
Actual results:
An A record with the ip-address specified to the ipa-replica-prepare is added as an A record to the IPA server the ipa-replica-prepare command is run at.

Expected results:
An A record for the specified IP address should _not_ be added for the new replica's IP address.

Additional info:

Comment 1 Martin Kosek 2011-06-14 10:07:12 UTC
Already fixed upstream in:
https://fedorahosted.org/freeipa/ticket/1223

Upstream commits:
master: 17c3f9e84efcbeb3b5ae1de83d799974de3bb078
ipa-2-0: 1df0ca7527aed9f2c445a9209066499bae0d07df

Comment 2 Jenny Severance 2011-06-14 12:32:49 UTC
Closing bug - current version has the fix.

Comment 3 Martin Kosek 2011-06-14 13:43:07 UTC
It is not fixed in current release but only upstream. The fix will be present in next Fedora release.