Bug 789980

Summary: Adding some of the RR type from the "allowed values" results in an error message.
Product: Red Hat Enterprise Linux 6 Reporter: Gowrishankar Rajaiyan <grajaiya>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: jgalipea, mkosek
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-2.2.0-3.el6 Doc Type: Bug Fix
Doc Text:
No documentation needed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 13:32: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:

Description Gowrishankar Rajaiyan 2012-02-13 11:48:14 UTC
Description of problem:


Version-Release number of selected component (if applicable):
ipa-server-2.2.0-101.20120127T0607zgit6863b8f.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
[root@zetaprime ~]# ipa dnsrecord-add lab.eng.pnq.redhat.com bumblebee
Please choose a type of DNS resource record to be added
The most common types for this type of zone are: A, AAAA

DNS resource record type: ?
Invalid type. Allowed values are: A, AAAA, A6, AFSDB, APL, CERT, CNAME, DHCID, DLV, DNAME, DNSKEY, DS, HIP, IPSECKEY, KEY, KX, LOC, MX, NAPTR, NS, NSEC, NSEC3, NSEC3PARAM, PTR, RRSIG, RP, SIG, SPF, SRV, SSHFP, TA, TKEY, TSIG, TXT

DNS resource record type: APL
ipa: ERROR: No options to add a specific record provided.
Command help may be consulted for all supported record types.
[root@zetaprime ~]#
  

Actual results:
Adding RR type from the "allowed values" which do not have options results in an error message.

Expected results:
Either the unsupported RR types should be removed from the "Allowed values" or respective options for these RR should be included.

Additional info:
Same can be found for "APL, DHCID, DLV, DNSKEY, HIP, IPSECKEY, NSEC3, NSEC3PARAM, RP, SPF, TA, TKEY, TSIG"

Comment 2 Dmitri Pal 2012-02-13 13:06:02 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/2378

Comment 5 Gowrishankar Rajaiyan 2012-03-15 09:18:09 UTC
[root@primenova ~]# ipa dnsrecord-add lab.eng.pnq.redhat.com
Record name: test
Please choose a type of DNS resource record to be added
The most common types for this type of zone are: A, AAAA

DNS resource record type: 
Invalid or unsupported type. Allowed values are: A, AAAA, A6, AFSDB, CERT, CNAME, DNAME, DS, KEY, KX, LOC, MX, NAPTR, NS, NSEC, PTR, RRSIG, SIG, SRV, SSHFP, TXT


"Allowed values are" does not contain any unsupported records. 

Version: ipa-server-2.2.0-4.el6.x86_64.

Comment 7 Martin Kosek 2012-04-24 11:36:16 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:
No documentation needed.

Comment 10 errata-xmlrpc 2012-06-20 13:32: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/RHBA-2012-0819.html