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 2104495 - ipa-healthcheck - backport IPA DNS URI support
Summary: ipa-healthcheck - backport IPA DNS URI support
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: ipa-healthcheck
Version: 9.1
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On: 2037847
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-06 13:02 UTC by Rob Crittenden
Modified: 2022-11-15 11:21 UTC (History)
10 users (show)

Fixed In Version: ipa-healthcheck-0.9-9.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2037847
Environment:
Last Closed: 2022-11-15 10:22:33 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-8460 0 None None None 2022-07-06 13:22:19 UTC
Red Hat Issue Tracker RHELPLAN-127099 0 None None None 2022-07-06 13:22:33 UTC
Red Hat Product Errata RHBA-2022:8113 0 None None None 2022-11-15 10:22:43 UTC

Description Rob Crittenden 2022-07-06 13:02:57 UTC
+++ This bug was initially created as a clone of Bug #2037847 +++

Please backport upstream fixes for IPA DNS handling and CRLManager behaviour on CA-less installation from upstream to downstream package.

--- Additional comment from Rob Crittenden on 2022-01-06 16:54:15 UTC ---

IPA included support for the DNS URI system records for the KDC in 2cf0ad5cfd2d558c844bc9640c121fa35ebb1c30 (4.9.8).

healthcheck should verify these if present. Skip them otherwise for backwards compatibility.

Support was added in freeipa-healthcheck upstream in 43d55b2d0fafafe9e128a832148dbec55f6ad2ac

Comment 4 Florence Blanc-Renaud 2022-07-11 12:46:01 UTC
Support was added in freeipa-healthcheck upstream in 43d55b2:
https://github.com/freeipa/freeipa-healthcheck/commit/43d55b2d0fafafe9e128a832148dbec55f6ad2ac Add support for the DNS URI type

Comment 5 Michal Polovka 2022-07-15 09:36:32 UTC
Pre-verifed using automation from tests/test_ipa_dns.py and the package ipa-healthcheck-0.9-9.el9.noarch


==================================================================================== test session starts =====================================================================================
platform linux -- Python 3.9.13, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /root/freeipa-healthcheck
collected 9 items                                                                                                                                                                            

tests/test_ipa_dns.py::TestDNSSystemRecords::test_dnsrecords_bad_realm PASSED                                                                                                          [ 11%]
tests/test_ipa_dns.py::TestDNSSystemRecords::test_dnsrecords_extra_srv PASSED                                                                                                          [ 22%]
tests/test_ipa_dns.py::TestDNSSystemRecords::test_dnsrecords_missing_ipa_ca PASSED                                                                                                     [ 33%]
tests/test_ipa_dns.py::TestDNSSystemRecords::test_dnsrecords_missing_server PASSED                                                                                                     [ 44%]
tests/test_ipa_dns.py::TestDNSSystemRecords::test_dnsrecords_one_with_ad PASSED                                                                                                        [ 55%]
tests/test_ipa_dns.py::TestDNSSystemRecords::test_dnsrecords_single PASSED                                                                                                             [ 66%]
tests/test_ipa_dns.py::TestDNSSystemRecords::test_dnsrecords_three PASSED                                                                                                              [ 77%]
tests/test_ipa_dns.py::TestDNSSystemRecords::test_dnsrecords_three_mixed PASSED                                                                                                        [ 88%]
tests/test_ipa_dns.py::TestDNSSystemRecords::test_dnsrecords_two PASSED                                                                                                                [100%]

===================================================================================== 9 passed in 0.78s ======================================================================================
Therefore marking as pre-verified: tested.

Comment 10 Michal Polovka 2022-07-18 12:22:07 UTC
Verified using automation from freeipa-healthcheck/tests/test_ipa_dns.py on RHEL9.1 machine with the package ipa-healthcheck-0.9-9.el9.noarch


# python3 -m pytest tests/test_ipa_dns.py  -vvv
==================================================================================== test session starts =====================================================================================
platform linux -- Python 3.9.13, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /root/freeipa-healthcheck
collected 9 items                                                                                                                                                                            

tests/test_ipa_dns.py::TestDNSSystemRecords::test_dnsrecords_bad_realm PASSED                                                                                                          [ 11%]
tests/test_ipa_dns.py::TestDNSSystemRecords::test_dnsrecords_extra_srv PASSED                                                                                                          [ 22%]
tests/test_ipa_dns.py::TestDNSSystemRecords::test_dnsrecords_missing_ipa_ca PASSED                                                                                                     [ 33%]
tests/test_ipa_dns.py::TestDNSSystemRecords::test_dnsrecords_missing_server PASSED                                                                                                     [ 44%]
tests/test_ipa_dns.py::TestDNSSystemRecords::test_dnsrecords_one_with_ad PASSED                                                                                                        [ 55%]
tests/test_ipa_dns.py::TestDNSSystemRecords::test_dnsrecords_single PASSED                                                                                                             [ 66%]
tests/test_ipa_dns.py::TestDNSSystemRecords::test_dnsrecords_three PASSED                                                                                                              [ 77%]
tests/test_ipa_dns.py::TestDNSSystemRecords::test_dnsrecords_three_mixed PASSED                                                                                                        [ 88%]
tests/test_ipa_dns.py::TestDNSSystemRecords::test_dnsrecords_two PASSED                                                                                                                [100%]

===================================================================================== 9 passed in 0.69s ======================================================================================



Full test log is an attachment of this BZ. Marking as verified.

Comment 13 errata-xmlrpc 2022-11-15 10:22:33 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 (ipa-healthcheck 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-2022:8113


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