Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionJenny Severance
2011-03-21 15:10:33 UTC
Description of problem:
Internal error and trace back when attempting to add a dns AAAA record with subnet prefix.
<snip>
ipa dnsrecord-add --aaaa-rec=fe80::5054:ff:fe2c:918f/64
Zone name: testrelm
Record name: dhcp-100-19-80
ipa: ERROR: non-public: ValueError: IPAddress() does not support netmasks or subnet prefixes! See documentation for details.
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/ipalib/backend.py", line 125, in execute
result = self.Command[_name](*args, **options)
File "/usr/lib/python2.6/site-packages/ipalib/frontend.py", line 420, in __call__
self.validate(**params)
File "/usr/lib/python2.6/site-packages/ipalib/frontend.py", line 686, in validate
param.validate(value, self.env.context)
File "/usr/lib/python2.6/site-packages/ipalib/parameters.py", line 740, in validate
self._validate_scalar(v, i)
File "/usr/lib/python2.6/site-packages/ipalib/parameters.py", line 1427, in _validate_scalar
error = rule(ugettext, value)
File "/usr/lib/python2.6/site-packages/ipalib/plugins/dns.py", line 115, in _validate_ipaddr
ip = netaddr.IPAddress(ipaddr)
File "/usr/lib/python2.6/site-packages/netaddr/ip/__init__.py", line 289, in __init__
% self.__class__.__name__)
ValueError: IPAddress() does not support netmasks or subnet prefixes! See documentation for details.
ipa: ERROR: an internal error has occurred
<snip>
Version-Release number of selected component (if applicable):
ipa-server-2.0.0-16.el6.x86_64
How reproducible:
always
Steps to Reproduce:
1. See description
2.
3.
Actual results:
internal error traceback
Expected results:
User friendly error message stating the issue and how to correctly define AAAA record.
Additional info:
There is nothing logged in the /var/log/httpd/error_log
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.
http://rhn.redhat.com/errata/RHEA-2011-0631.html
Description of problem: Internal error and trace back when attempting to add a dns AAAA record with subnet prefix. <snip> ipa dnsrecord-add --aaaa-rec=fe80::5054:ff:fe2c:918f/64 Zone name: testrelm Record name: dhcp-100-19-80 ipa: ERROR: non-public: ValueError: IPAddress() does not support netmasks or subnet prefixes! See documentation for details. Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/ipalib/backend.py", line 125, in execute result = self.Command[_name](*args, **options) File "/usr/lib/python2.6/site-packages/ipalib/frontend.py", line 420, in __call__ self.validate(**params) File "/usr/lib/python2.6/site-packages/ipalib/frontend.py", line 686, in validate param.validate(value, self.env.context) File "/usr/lib/python2.6/site-packages/ipalib/parameters.py", line 740, in validate self._validate_scalar(v, i) File "/usr/lib/python2.6/site-packages/ipalib/parameters.py", line 1427, in _validate_scalar error = rule(ugettext, value) File "/usr/lib/python2.6/site-packages/ipalib/plugins/dns.py", line 115, in _validate_ipaddr ip = netaddr.IPAddress(ipaddr) File "/usr/lib/python2.6/site-packages/netaddr/ip/__init__.py", line 289, in __init__ % self.__class__.__name__) ValueError: IPAddress() does not support netmasks or subnet prefixes! See documentation for details. ipa: ERROR: an internal error has occurred <snip> Version-Release number of selected component (if applicable): ipa-server-2.0.0-16.el6.x86_64 How reproducible: always Steps to Reproduce: 1. See description 2. 3. Actual results: internal error traceback Expected results: User friendly error message stating the issue and how to correctly define AAAA record. Additional info: There is nothing logged in the /var/log/httpd/error_log