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 2009114 - IDM Web UI creates invalid PTR records
Summary: IDM Web UI creates invalid PTR records
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ipa
Version: 8.6
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: 8.6
Assignee: Petr Vobornik
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-30 01:25 UTC by Sunny Wu
Modified: 2024-12-20 21:15 UTC (History)
9 users (show)

Fixed In Version: ipa-4.9.8-2.module+el8.6.0+13621+937b8cd9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-10 14:08:46 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Pagure freeipa issue 9036 0 None None None 2021-11-15 10:58:22 UTC
Red Hat Issue Tracker FREEIPA-6986 0 None None None 2021-09-30 01:29:36 UTC
Red Hat Issue Tracker RHELPLAN-98535 0 None None None 2021-09-30 01:29:40 UTC
Red Hat Product Errata RHEA-2022:1884 0 None None None 2022-05-10 14:09:04 UTC

Comment 5 Florence Blanc-Renaud 2021-09-30 07:41:19 UTC
The provided attachment displays the output of ipa dns* command, not the ldapsearch specifically asked for.

ipa dns* commands normalize the output and it's possible that the LDAP entry is missing the trailing dot but the ipa dnszone-show command displays the zone name with the trailing dot. That's why the output of ldapsearch is interesting in order to understand why the PTR record is built without the trailing dot.

Comment 10 Petr Vobornik 2021-10-04 21:08:57 UTC
I have a patch: https://github.com/pvoborni/freeipa/commits/ptr-from-host-master , can create pull request when this is ticket is cloned upstream.

Comment 15 Florence Blanc-Renaud 2021-12-09 13:39:30 UTC
The upstream fix also includes a test: ipatests/test_webui/test_dns.py::test_dns::test_ptr_from_host_creation

Comment 18 Michal Polovka 2022-01-14 13:09:57 UTC
Pre-verified using automation located at ipatests/test_webui/test_dns.py::test_dns::test_ptr_from_host_creation using RHEL8.6 with latest test compose containing ipa-server-dns-4.9.8-2.module+el8.6.0+13621+937b8cd9.noarch

============================= test session starts ==============================
platform linux -- Python 3.6.8, pytest-3.10.1, py-1.11.0, pluggy-1.0.0 -- /usr/libexec/platform-python
cachedir: /home/cloud-user/.pytest_cache
metadata: {'Python': '3.6.8', 'Platform': 'Linux-4.18.0-358.el8.x86_64-x86_64-with-redhat-8.6-Ootpa', 'Packages': {'pytest': '3.10.1', 'py': '1.11.0', 'pluggy': '1.0.0'}, 'Plugins': {'metadata': '1.11.0', 'html': '1.22.1', 'multihost': '3.0', 'sourceorder': '0.5'}}
rootdir: /usr/lib/python3.6/site-packages/ipatests, inifile:
plugins: metadata-1.11.0, html-1.22.1, multihost-3.0, sourceorder-0.5
collecting ... collected 5 items

test_webui/test_dns.py::test_dns::test_zone_record_crud PASSED           [ 20%]
test_webui/test_dns.py::test_dns::test_forward_zone PASSED               [ 40%]
test_webui/test_dns.py::test_dns::test_last_entry_deletion PASSED        [ 60%]
test_webui/test_dns.py::test_dns::test_config_crud PASSED                [ 80%]
test_webui/test_dns.py::test_dns::test_ptr_from_host_creation PASSED     [100%]


Tests passed, therefore marking as pre-verified - tested.

Comment 22 Michal Polovka 2022-01-17 10:14:52 UTC
Verified using RHEL8.6 machine with ipa-server-4.9.8-2.module+el8.6.0+13621+937b8cd9.x86_64.


============================= test session starts ==============================
platform linux -- Python 3.6.8, pytest-3.10.1, py-1.11.0, pluggy-1.0.0 -- /usr/libexec/platform-python
cachedir: /home/cloud-user/.pytest_cache
metadata: {'Python': '3.6.8', 'Platform': 'Linux-4.18.0-359.el8.x86_64-x86_64-with-redhat-8.6-Ootpa', 'Packages': {'pytest': '3.10.1', 'py': '1.11.0', 'pluggy': '1.0.0'}, 'Plugins': {'metadata': '1.11.0', 'html': '1.22.1', 'multihost': '3.0', 'sourceorder': '0.5'}}
rootdir: /usr/lib/python3.6/site-packages/ipatests, inifile:
plugins: metadata-1.11.0, html-1.22.1, multihost-3.0, sourceorder-0.5
collecting ... collected 5 items

test_webui/test_dns.py::test_dns::test_zone_record_crud PASSED           [ 20%]
test_webui/test_dns.py::test_dns::test_forward_zone PASSED               [ 40%]
test_webui/test_dns.py::test_dns::test_last_entry_deletion PASSED        [ 60%]
test_webui/test_dns.py::test_dns::test_config_crud PASSED                [ 80%]
test_webui/test_dns.py::test_dns::test_ptr_from_host_creation PASSED     [100%]

---------------- generated xml file: /home/cloud-user/junit.xml ----------------
==================== 5 passed, 0 warnings in 239.46 seconds ====================


Therefore marking as verified. Automation exists.

Comment 26 errata-xmlrpc 2022-05-10 14:08:46 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 (idm:client and idm:DL1 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/RHEA-2022:1884

Comment 27 Red Hat Bugzilla 2023-09-15 01:36:19 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days


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