-
Bug
-
Resolution: Done-Errata
-
Major
-
rhel-9.4
-
ipa-healthcheck-0.16-2.el9
-
None
-
None
-
1
-
rhel-sst-idm-ipa
-
ssg_idm
-
13
-
14
-
1
-
False
-
-
No
-
2023-Q4-Alpha-S5
-
Pass
-
Automated
-
-
x86_64
-
None
What were you trying to do that didn't work?
ipa-healthcheck displays CRITICAL error
Please provide the package NVR for which bug is seen:
ipa-healthcheck-0.12-4.el9.noarch
ipa-server-4.11.0-1.el9.x86_64
idm-pki-ca-11.4.2-1.el9.noarch
How reproducible: Always
Steps to reproduce
- [root@server ~]# ipa-healthcheck
- [
- {
- "source": "ipahealthcheck.ipa.certs","check": "IPACertfileExpirationCheck",
- "result": "CRITICAL",
- "uuid": "bc813bc6-e9f4-4543-a770-8aba9b8c0bd2",
- "when": "20231120104620Z",
- "duration": "0.009114",
- "kw": {
- "exception": "can't compare offset-naive and offset-aware datetimes",
- "traceback": "Traceback (most recent call last):\n File \"/usr/lib/python3.9/site-packages/ipahealthcheck/core/core.py\", line 56, in run_plugin\n for result in plugin.check():\n File \"/usr/lib/python3.9/site-packages/ipahealthcheck/core/plugin.py\", line 18, in wrapper\n for result in f(*args, **kwds):\n File \"/usr/lib/python3.9/site-packages/ipahealthcheck/ipa/certs.py\", line 385, in check\n if now > notafter:\nTypeError: can't compare offset-naive and offset-aware datetimes\n"
Expected results
The error in the above check should be fixed.
Actual results
TypeError: can't compare offset-naive and offset-aware datetimes
- is blocked by
-
RHEL-12494 Rebase ipa-healthcheck to latest version for RHEL 9.4
-
- Closed
-
- links to
-
RHBA-2023:124690 ipa-healthcheck bug fix and enhancement update