The support for the DNS URI RRs has been added in freeipa-healthcheck: https://github.com/freeipa/freeipa-healthcheck/issues/222
freeipa-healthcheck
IPA's tests should be updated to reflect this change, otherwise:
FAILED test_integration/test_ipahealthcheck.py::TestIpaHealthCheck::test_ipa_dns_systemrecords_check: 1 [2021-12-02 13:51:01] for check in data: 1 [2021-12-02 13:51:01] assert check["result"] == "SUCCESS" 1 [2021-12-02 13:51:01] > assert check["kw"]["key"] in SRV_RECORDS 1 [2021-12-02 13:51:01] E AssertionError: assert '_kerberos.ipa.test.:krb5srv:m:udp:master1.ipa.test.' in ['_ldap._tcp.ipa.test.:replica1.ipa.test.', '_ldap._tcp.ipa.test.:master1.ipa.test.', '_kerberos._tcp.ipa.test.:replic....:master1.ipa.test.', '_kerberos._udp.ipa.test.:replica1.ipa.test.', '_kerberos._udp.ipa.test.:master1.ipa.test.', ...] 1 [2021-12-02 13:51:01] 1 [2021-12-02 13:51:01] test_integration/test_ipahealthcheck.py:729: AssertionError
FAILED test_integration/test_ipahealthcheck.py::TestIpaHealthCheckWithoutDNS::test_ipa_dns_systemrecords_check [2021-12-02 13:28:26] for check in data: [2021-12-02 13:28:26] assert check["result"] == "WARNING" [2021-12-02 13:28:26] > assert ( [2021-12-02 13:28:26] check["kw"]["msg"] == msg1 [2021-12-02 13:28:26] or check["kw"]["msg"] == msg2 [2021-12-02 13:28:26] or check["kw"]["msg"] == msg3 [2021-12-02 13:28:26] ) [2021-12-02 13:28:26] E AssertionError: assert ('Expected URI record missing' == 'Expected SRV record missing' [2021-12-02 13:28:26] E - Expected SRV record missing [2021-12-02 13:28:26] E ? ^ ^ [2021-12-02 13:28:26] E + Expected URI record missing [2021-12-02 13:28:26] E ? ^ ^ or 'Expected URI record missing' == 'Got {count} ...ed {expected}' [2021-12-02 13:28:26] E - Got {count} ipa-ca A records, expected {expected} [2021-12-02 13:28:26] E + Expected URI record missing or 'Expected URI record missing' == 'Got {count} ...ed {expected}' [2021-12-02 13:28:26] E - Got {count} ipa-ca AAAA records, expected {expected} [2021-12-02 13:28:26] E + Expected URI record missing) [2021-12-02 13:28:26] [2021-12-02 13:28:26] test_integration/test_ipahealthcheck.py:1518: AssertionError
Metadata Update from @slev: - Issue assigned to slev
master:
ipa-4-9:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)