Are any of you aware of any way to get these health checks working on a RHEL 7 system?
https://github.com/freeipa/freeipa-healthcheck
IIRC, these checks weren't really introduced until a newer version of FreeIPA, so they
are only included on RHEL 8 and above, but I'm wondering if there's a way to get
these installed manually.
Is this possible on RHEL 7?
I tried doing the following a lab environment:
- Downloaded the code and extracted it
- pip3 install pytest-runner
- python3 setup.py install
Now, I do have an executable at /usr/local/bin/ipa-healthcheck
However, when I go to run that, I'm getting the following error:
[root@cha-cop-lab-mgt-ath-001 freeipa-healthcheck-master]# /usr/local/bin/ipa-healthcheck
Traceback (most recent call last):
File "/usr/local/bin/ipa-healthcheck", line 11, in <module>
load_entry_point('ipahealthcheck==0.6', 'console_scripts',
'ipa-healthcheck')()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 476,
in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2700,
in load_entry_point
return ep.load()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2318,
in load
return self.resolve()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2324,
in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
ModuleNotFoundError: No module named 'ipahealthcheck'