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:
When installing ipa-server with DNS and non-default zone manager contact, e-mail provided in --zonemgr is ignored and default is used.
Version-Release number of selected component (if applicable):
ipa-server-4.8.7-13
How reproducible:
Always
Steps to Reproduce:
1. install ipa-server-dns package
2. ipa-server-install --domain $DOMAIN --realm $REALM -a $PASSWD -p $PASSWD -U --setup-dns --auto-forwarders --zonemgr=custom
3. kinit admin
4. ipa dnszone-show $DOMAIN
Actual results:
Administrator e-mail address: hostmaster.dom-.....com.
Expected results:
Administrator e-mail address: custom
Additional info:
From ipa-server-install man page:
--zonemgr
The e-mail address of the DNS zone manager. Defaults to hostmaster@DOMAIN
Comment 2Alexander Bokovoy
2021-02-16 11:03:53 UTC
There is one suspect: commit f52a15b808 changed the following condition
f52a15b808 ipaserver/install/bindinstance.py (Christian Heimes 2020-06-10 11:16:07 +0200 685) if zonemgr is not None:
a7162e7766 ipaserver/install/bindinstance.py (Martin Bašti 2014-11-07 12:45:43 +0100 686) self.zonemgr = 'hostmaster.%s' % normalize_zone(self.domain)
3f0eb1417c ipaserver/install/bindinstance.py (Martin Košek 2011-11-23 16:03:51 +0100 687) else:
3f0eb1417c ipaserver/install/bindinstance.py (Martin Košek 2011-11-23 16:03:51 +0100 688) self.zonemgr = normalize_zonemgr(zonemgr)
before, it was 'if not zonemgr:'
So if zonemgr is not None, we ignore it.
Comment 3Alexander Bokovoy
2021-02-16 14:22:00 UTC
This got to RHEL 8.3 via this backport of the commit f52a15b808:
git tag --contains b2c3c040ddb7cf3c509b8221ce25574b8d6774d0
release-4-8-10
release-4-8-7
release-4-8-8
release-4-8-9
I think the fix would be to remove 'not' from the 'if' statement, e.g. 'if zonemgr is None:'...
Comment 15Ganna Kaihorodova
2021-07-29 07:14:11 UTC
Hello!
Bug tested and verified with existing automation for ipa version - ipa-server-4.9.6-3 with Red Hat Enterprise Linux release 8.5
Verification log in attached files
Passed ipatests/test_integration/test_installation.py::TestInstallMasterDNS::()::test_install_master
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 (ipa bug fix and enhancement update), 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-2021:4230
Description of problem: When installing ipa-server with DNS and non-default zone manager contact, e-mail provided in --zonemgr is ignored and default is used. Version-Release number of selected component (if applicable): ipa-server-4.8.7-13 How reproducible: Always Steps to Reproduce: 1. install ipa-server-dns package 2. ipa-server-install --domain $DOMAIN --realm $REALM -a $PASSWD -p $PASSWD -U --setup-dns --auto-forwarders --zonemgr=custom 3. kinit admin 4. ipa dnszone-show $DOMAIN Actual results: Administrator e-mail address: hostmaster.dom-.....com. Expected results: Administrator e-mail address: custom Additional info: From ipa-server-install man page: --zonemgr The e-mail address of the DNS zone manager. Defaults to hostmaster@DOMAIN