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.
Bug 1440037 - When running ipa host-add it fails, with a SERVFAIL which says anwered
Summary: When running ipa host-add it fails, with a SERVFAIL which says anwered
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: python-dns
Version: 7.3
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Charalampos Stratakis
QA Contact: Branislav Náter
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-07 08:12 UTC by Martijn ten Heuvel
Modified: 2017-08-01 20:33 UTC (History)
7 users (show)

Fixed In Version: python-dns-1.12.0-4.20150617git465785f.el7
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-08-01 20:33:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:1945 0 normal SHIPPED_LIVE python-dns bug fix update 2017-08-01 18:28:28 UTC

Description Martijn ten Heuvel 2017-04-07 08:12:28 UTC
Description of problem:
Error message is wrong

Version-Release number of selected component (if applicable):
]# yum list installed | grep ipa
ipa-admintools.noarch               4.4.0-14.el7_3.6         @rhel-7-server-rpms
ipa-client.x86_64                   4.4.0-14.el7_3.6         @rhel-7-server-rpms
ipa-client-common.noarch            4.4.0-14.el7_3.6         @rhel-7-server-rpms
ipa-common.noarch                   4.4.0-14.el7_3.6         @rhel-7-server-rpms
ipa-server.x86_64                   4.4.0-14.el7_3.6         @rhel-7-server-rpms
ipa-server-common.noarch            4.4.0-14.el7_3.6         @rhel-7-server-rpms
ipa-server-dns.noarch               4.4.0-14.el7_3.6         @rhel-7-server-rpms
libipa_hbac.x86_64                  1.14.0-43.el7_3.11       @rhel-7-server-rpms
python-iniparse.noarch              0.4-9.el7                @anaconda/7.3
python-ipaddress.noarch             1.0.16-2.el7             @rhel-7-server-rpms
python-libipa_hbac.x86_64           1.14.0-43.el7_3.11       @rhel-7-server-rpms
python2-ipaclient.noarch            4.4.0-14.el7_3.6         @rhel-7-server-rpms
python2-ipalib.noarch               4.4.0-14.el7_3.6         @rhel-7-server-rpms
python2-ipaserver.noarch            4.4.0-14.el7_3.6         @rhel-7-server-rpms
sssd-ipa.x86_64                     1.14.0-43.el7_3.11       @rhel-7-server-rpms

How reproducible:

[root@idm101 ~]# ipa host-add --random host.example.local
ipa: ERROR: All nameservers failed to answer the query host.example.local. IN A: Server 127.0.0.1 UDP port 53 anwered SERVFAIL


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Petr Vobornik 2017-04-07 10:14:08 UTC
ipa host-add checks if host is resolvable via DNS. In this case the resolution failed. It indicates a configuration problem.

SERVFAIL means error 2:  
    Server failure - The name server was unable to process this 
                     query due to a problem with the name server.

https://tools.ietf.org/html/rfc1035

What is your DNS configuration?
  What zones does the IPA server manage?
  Did you set any DNS forwarders during server installation?
  Did you set any forward zones?

Some info might be in
  # journalctl -u named-pkcs11.service

If you don't care and it is just for testing, then workaround is to use --force option.

Comment 3 Martijn ten Heuvel 2017-04-07 10:55:35 UTC
The issue is not that the command failed, but the typo in the error, it says "anwered" instead of "answered".

Comment 4 Martin Bašti 2017-04-07 11:08:28 UTC
This is bug in DNS python, it is already fixed upstream.

To fix this we have to backport patch to RHEL.

https://github.com/rthalley/dnspython/commit/84d3c7dffec9c0a380aa5f696ca728879dbe38ac

Comment 5 Petr Vobornik 2017-04-13 15:59:27 UTC
Per assessment in comment 4, moving to python-dns component.

Comment 6 Charalampos Stratakis 2017-04-13 16:09:15 UTC
As we are currently way past the devel phase, asking the respective QE owner if the fix can be included at the current erratum of python-dns for RHEL 7.4

Comment 10 errata-xmlrpc 2017-08-01 20:33:53 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.

https://access.redhat.com/errata/RHBA-2017:1945


Note You need to log in before you can comment on or make changes to this bug.