#8887 Nightly failure in testing_master_testing: freeipa-healthcheck reports CRITICAL
Closed: fixed by frenaud. Opened by fcami.

link

logs

Extract:

DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:557   {
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:557     "source": "ipahealthcheck.ipa.files",
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:557     "check": "IPAFileCheck",
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:557     "result": "CRITICAL",
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:557     "uuid": "e090d436-7bcb-4865-87b3-daeac39cbf31",
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:557     "when": "20210613080658Z",
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:557     "duration": "0.048507",
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:557     "kw": {
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:557       "exception": "[Errno 2] No such file or directory: '/var/log/pki/pki-tomcat/kra/selftests.log'"
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:557     }
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd110:transport.py:557   },

Short extract:

 "[Errno 2] No such file or directory: '/var/log/pki/pki-tomcat/kra/selftests.log'"

freeipa-healthcheck issue:
https://github.com/freeipa/freeipa-healthcheck/issues/213
PR:
https://github.com/freeipa/freeipa-healthcheck/pull/214

New freeipa-healthcheck builds:
https://bodhi.fedoraproject.org/updates/FEDORA-2021-10cdb6bc7c
https://bodhi.fedoraproject.org/updates/FEDORA-2021-e11f6115c7


Linked with Dogtag's PKI issue DB: https://github.com/dogtagpki/pki/issues/3578

Fixed in freeipa-healthcheck-0.9-2 currently in updates-testing for F33/34.

Metadata Update from @fcami:
- Issue tagged with: tracker

Added the tracker label only to track analysis on PKI side.

The test doesn't install the KRA, meaning that it's expected that the file /var/log/pki/pki-tomcat/kra/selftests.log doesn't exist.
ipa-healthcheck doesn't raise CRITICAL any more for missing files, this issue can be closed.

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

Metadata