Hi, Thanks for reporting the issue. We are already aware of it, this is 389ds issue https://github.com/389ds/389-ds-base/issues/6838, also reported against RHEL 9.6 (RHEL-114952 <https://issues.redhat.com/browse/RHEL-114952> ). flo
On Sun, Sep 28, 2025 at 8:20 PM Dungan, Scott A. via FreeIPA-users < [email protected]> wrote: > Hello. > > > > Running IPA server version 4.12.2-14 on RHEL 9.6, we are seeing the > following ‘datetime’ Python error when running ipa-healthcheck. I believe > this should have been patched in 4.12.0, but perhaps it is a different > issue? > > > > ~]# ipa-healthcheck > > [ > > { > > "source": "ipahealthcheck.ds.replication", > > "check": "ReplicationCheck", > > "result": "CRITICAL", > > "uuid": "0922227e-9645-487c-aa0c-f94310868abf", > > "when": "20250928174828Z", > > "duration": "1.373418", > > "kw": { > > "exception": "module 'datetime' has no attribute 'UTC'", > > "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/ds/plugin.py\", line 108, > in check\n results = self.doCheck(self.check_class, self.many)\n File > \"/usr/lib/python3.9/site-packages/ipahealthcheck/ds/plugin.py\", line 97, > in doCheck\n for result in results:\n File > \"/usr/lib/python3.9/site-packages/lib389/_mapped_object_lint.py\", line > 126, in lint\n yield from f()\n File > \"/usr/lib/python3.9/site-packages/lib389/replica.py\", line 1325, in > _lint_no_ruv\n ruv_dict = ruv.format_ruv()\n File > \"/usr/lib/python3.9/site-packages/lib389/replica.py\", line 949, in > format_ruv\n \"csn\": RUV().parse_csn(self._rid_csn.get(rid, > '00000000000000000000')),\n File > \"/usr/lib/python3.9/site-packages/lib389/replica.py\", line 920, in > parse_csn\n time_str = datetime.datetime.fromtimestamp(timestamp, > datetime.UTC).strftime('%Y-%m-%d %H:%M:%S')\nAttributeError: module > 'datetime' has no attribute 'UTC'\n" > > } > > } > > ] > > > > Installed versions: > > > > ~]# rpm -qa | grep healthcheck > > ipa-healthcheck-core-0.16-4.el9.noarch > > ipa-healthcheck-0.16-4.el9.noarch > > > > ~]# rpm -qa | grep ipa-server > > ipa-server-common-4.12.2-14.el9_6.3.noarch > > ipa-server-4.12.2-14.el9_6.3.x86_64 > > > > Any help would be much appreciated. > > > > Scott > > > > > > > -- > _______________________________________________ > FreeIPA-users mailing list -- [email protected] > To unsubscribe send an email to [email protected] > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedorahosted.org/archives/list/[email protected] > Do not reply to spam, report it: > https://pagure.io/fedora-infrastructure/new_issue >
-- _______________________________________________ FreeIPA-users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
