Bug 722228

Summary: [ipa webui] Force Add Host with IP address - Allows cancel but still adds host and dns record
Product: Red Hat Enterprise Linux 6 Reporter: Jenny Severance <jgalipea>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 6.1CC: ayoung, benl, dpal, nsoman
Target Milestone: rc   
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:41:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jenny Severance 2011-07-14 17:00:32 UTC
Description of problem:
If you attempt to add a valid host with the correct DNS domain and specify an IP address that does not match any reverse zone (do not select force), the UI gives you the option to cancel or retry.  

There is an error message that states "The host was added but the DNS update failed with: DNS reverse zone for IP address 10.10.10.10 not found"

Yet you have the option to cancel ... if you select cancel, the host is still added and so is the A record.

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


How reproducible:


Steps to Reproduce:
1. Install IPA with integrated DNS  
2. Identity --> Hosts ---> Add
3. enter a valid FQDN hostname and an IP address that does not match any reverse zone and select Add
  
Actual results:
Error message stating that the host record was added (no clue that the DNS forward record was added) - but given the option to cancel.

Expected results:
Error message stating that the reverse zone for the IP address was not found and to select force if you really want to add the records.  And an option to cancel (nothing added)

Additional info:

Comment 2 Rob Crittenden 2011-07-14 17:59:09 UTC
https://fedorahosted.org/freeipa/ticket/1481

Comment 3 Rob Crittenden 2011-08-16 13:48:43 UTC
master: 08905eb9a9039b38c032275a87b4f5602e5a63dd

Comment 6 Rob Crittenden 2011-10-31 20:56:03 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 7 Namita Soman 2011-11-05 20:31:43 UTC
Verified using ipa-server-2.1.3-8.el6.x86_64

There is no option to cancel. Only OK button, then host is added with its dns record

Comment 8 errata-xmlrpc 2011-12-06 18:41:17 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