Bug 2037847

Summary: ipa-healthcheck - backport IPA DNS URI support
Product: Red Hat Enterprise Linux 8 Reporter: Michal Polovka <mpolovka>
Component: ipa-healthcheckAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: low Docs Contact:
Priority: low    
Version: 8.6CC: fcami, msauton, rjeffman, ssidhaye, sumenon, vmishra
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ipa-healthcheck-0.7-11.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2104495 (view as bug list) Environment:
Last Closed: 2022-11-08 09:35:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2104495    

Comment 1 Rob Crittenden 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 2 Rob Crittenden 2022-03-18 22:11:53 UTC
ipa-healthcheck-0.7-11.el8

Comment 10 Michal Polovka 2022-05-04 11:38:38 UTC
Pre-verified using automation in freeipa-healthcheck/tests/test_ipa_dns.py on RHEL8.7 machine with ipa-healthcheck-0.7-12.module+el8.7.0+14711+1e093de3.noarch


# python3 -m pytest  test_ipa_dns.py  -vvv
==================================================================================== test session starts =====================================================================================
platform linux -- Python 3.6.8, pytest-3.4.2, py-1.5.3, pluggy-0.6.0 -- /usr/bin/python3
cachedir: ../.pytest_cache
rootdir: /root/freeipa-healthcheck, inifile:
collected 9 items                                                                                                                                                                            

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

================================================================================== 9 passed in 0.52 seconds ==================================================================================

Threfore marking as pre-verified: tested.

Comment 14 Michal Polovka 2022-05-11 07:57:50 UTC
Verified using automation in test_ipa_dns.py with ipa-healthcheck-0.7-12.module+el8.7.0+14711+1e093de3.noarch


==================================================================================== test session starts =====================================================================================
platform linux -- Python 3.6.8, pytest-3.4.2, py-1.5.3, pluggy-0.6.0 -- /usr/bin/python3
cachedir: ../.pytest_cache
rootdir: /root/freeipa-healthcheck, inifile:
collected 9 items                                                                                                                                                                            

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

================================================================================== 9 passed in 0.66 seconds ==================================================================================

Therefore marking as verified.

Comment 17 Rob Crittenden 2022-06-24 12:22:00 UTC
*** Bug 2100691 has been marked as a duplicate of this bug. ***

Comment 19 errata-xmlrpc 2022-11-08 09:35:45 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/RHBA-2022:7540