#8683 [ipatests] `test_ipa_dns_systemrecords_check` and `test_ipa_healthcheck_no_errors` fail in Azure Pipelines
Closed: fixed 3 years ago by abbra. Opened 3 years ago by slev.

test_ipa_healthcheck_no_errors and test_ipa_dns_systemrecords_check fail with:

    [
      {
        "source": "ipahealthcheck.ipa.idns",
        "check": "IPADNSSystemRecordsCheck",
        "result": "WARNING",
        "uuid": "b979a88a-6373-4990-bc83-ce724e9730b4",
        "when": "20210120055054Z",
        "duration": "0.032740",
        "kw": {
          "msg": "Got {count} ipa-ca AAAA records, expected {expected}",
          "count": 1,
          "expected": 2
        }
      }
    ]

IPA server's AAAA records at embedded DNS mode depend on the result of get_server_ip_address function (ipaserver.install.installutils), which in turn, relies on NSS.

In the case of Azure Pipelines, there are neither IPv6 records in /etc/hosts nor external DNS, which may provide such. This leads to the missing AAAA records for master and missing AAAA records for ipa-ca pointing to master in embedded DNS.

test_ipa_dns_systemrecords_check doesn't expect to be in IPv6 environment.


Metadata Update from @slev:
- Issue assigned to slev

3 years ago

master:

  • 3e33e54 Azure: Populate containers with self-AAAA records
  • 596bb32 ipatests: Handle AAAA records in test_ipa_dns_systemrecords_check
  • 778ef95 rpm-spec: Require crypto-policies-scripts

ipa-4-9:

  • 63b1483 Azure: Populate containers with self-AAAA records
  • 151fa50 ipatests: Handle AAAA records in test_ipa_dns_systemrecords_check
  • 0b11a7c rpm-spec: Require crypto-policies-scripts

Metadata Update from @abbra:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

3 years ago

ipa-4-8:

  • af96a07 Azure: Populate containers with self-AAAA records
  • 11e4e15 ipatests: Handle AAAA records in test_ipa_dns_systemrecords_check
  • e9a5c8a rpm-spec: Require crypto-policies-scripts

Login to comment on this ticket.

Metadata