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.
Description of problem:
IPA install fails
2019-12-16T07:51:54+0000 [ipa_pytests.qe_class.QeHost.master.cmd17] DEBUG Warning: skipping DNS resolution of host master.testrealm.test
2019-12-16T07:51:54+0000 [ipa_pytests.qe_class.QeHost.master.cmd17] DEBUG DNS zone 153.0.10.in-addr.arpa. already exists in DNS and is handled by server(s): ['infoblox-trust01.brq2.redhat.com.', 'infoblox-trust01.intranet.prod.int.phx2.redhat.com.', 'ns01.intranet.prod.int.phx2.redhat.com.', 'infoblox-trust01.intranet.prod.int.rdu2.redhat.com.', 'ns02.intranet.prod.int.phx2.redhat.com.']
2019-12-16T07:51:54+0000 [ipa_pytests.qe_class.QeHost.master.cmd17] DEBUG The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information
2019-12-16T07:51:54+0000 [paramiko.transport] DEBUG [chan 17] EOF received (17)
2019-12-16T07:51:54+0000 [paramiko.transport] DEBUG [chan 17] EOF sent (17)
2019-12-16T07:51:54+0000 [ipa_pytests.qe_class.QeHost.master.cmd17] DEBUG Exit code: 1
Version-Release number of selected component (if applicable):
ipa-server-4.8.4-1.module+el8.2.0+5245
How reproducible:
Always
Steps to Reproduce:
1. IPA Server install
Actual results:
IPA Server install fails
Expected results:
IPA Server install successful
Additional info:
The server install was executed with:
INFO RUN ['/usr/sbin/ipa-server-install', '--setup-dns', '--forwarder', 'XX.XX.X.XX', '--domain', 'testrealm.test', '--realm', 'TESTREALM.TEST', '--admin-password', 'Secret123', '--ds-password', 'Secret123', '-U', '--reverse-zone', 'XX.XX.XX.in-addr.arpa.', '--allow-zone-overlap', '--domain-level=1']
There seems to be a regression in https://github.com/freeipa/freeipa/commit/dd7fdaa77d00042d44bec23291f0d0be36bead5e#diff-397332d984e3fb7f69d53120bf919dabL144 .
Forward zone check was adjusted to new exception name:
- except ValueError as e:
+ except dnsutil.DNSZoneAlreadyExists as e:
But reverse zone check in dns.py:144:146 still has:
except ValueError as e:
Thus DNSZoneAlreadyExists is not caught and the issue is not turned into a warning as it should be with --allow-zone-overlap option -> it fails in environment where reverse zone is handled by DNS server.
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/RHEA-2020:1640