Bug 716462

Summary: IPA with integrated DNS - reverse zone is now being added incorrectly
Product: Red Hat Enterprise Linux 6 Reporter: Jenny Severance <jgalipea>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: benl, dpal, grajaiya, mkosek
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-2.1.0-1.el6 Doc Type: Bug Fix
Doc Text:
Do not document
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 18:40:40 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 Jenny Severance 2011-06-24 14:17:11 UTC
Description of problem:

BEFORE:

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: ipa-host-cli-46: Add host with DNS Record
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [11:23:37] ::  Reverse Zone: 98.16.10.in-addr.arpa.


NOW:

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: ipa-host-cli-46: Add host with DNS Record
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   LOG    ] :: Reverse Zone: 16.10.in-addr.arpa.


Version-Release number of selected component (if applicable):
# rpm -qi ipa-server
Name        : ipa-server                   Relocations: (not relocatable)
Version     : 2.0.99                            Vendor: (none)
Release     : 1.20110623T0513zgitd9d00f1.el6   Build Date: Thu 23 Jun 2011 01:25:46 AM EDT
Install Date: Thu 23 Jun 2011 04:06:13 PM EDT      Build Host: goofy-vm16.dsdev.sjc.redhat.com
Group       : System Environment/Base       Source RPM: ipa-2.0.99-1.20110623T0513zgitd9d00f1.el6.src.rpm
Size        : 3257755                          License: GPLv3+
Signature   : (none)
URL         : http://www.freeipa.org/
Summary     : The IPA authentication server
Description :
IPA is an integrated solution to provide centrally managed Identity (machine,
user, virtual machines, groups, authentication credentials), Policy
(configuration settings, access control information) and Audit (events,
logs, analysis thereof). If you are installing an IPA server you need
to install this package (in other words, most people should NOT install
this package).


How reproducible:
always

Steps to Reproduce:
1. install IPA server with intergrated dns (--setup-dns)
2. ipa dnszone-find
3.
  
Actual results:
Reverse zone added is 16.10.in-addr.arpa.

Expected results:
Reverse zone added is 98.16.10.in-addr.arpa.

Additional info:

Comment 2 Rob Crittenden 2011-06-29 13:48:37 UTC
https://fedorahosted.org/freeipa/ticket/1398

Comment 3 Rob Crittenden 2011-06-29 21:03:06 UTC
Can you provide the command-line that was used in the test?

Comment 4 Rob Crittenden 2011-06-30 12:54:38 UTC
ipa-server-install --setup-dns --forwarder=$DNSFORWARD --hostname=$hostname_s.$DOMAIN -r $RELM -n $DOMAIN -p $ADMINPW -P $ADMINPW -a $ADMINPW -U

Comment 5 Martin Kosek 2011-07-15 14:44:11 UTC
Fixed upstream:
master: https://fedorahosted.org/freeipa/changeset/881df73568a9638bba6a6d0ae2e715cf249f6fa4

Comment 8 Rob Crittenden 2011-10-31 20:34:59 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Do not document

Comment 10 Gowrishankar Rajaiyan 2011-11-03 07:17:01 UTC
Verified: ipa-server-2.1.3-4.el6.x86_64

Comment 11 errata-xmlrpc 2011-12-06 18:40:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2011-1533.html