Bug 1824193

Summary: Add Directory Server Healthchecks from lib389
Product: Red Hat Enterprise Linux 8 Reporter: Rob Crittenden <rcritten>
Component: ipa-healthcheckAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.2CC: fcami, ksiddiqu, ndehadra, pcech, sumenon
Target Milestone: rcKeywords: TestCaseNeeded
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-healthcheck-0.7-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:48:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1825061    

Description Rob Crittenden 2020-04-15 14:06:17 UTC
Description of problem:

The 389-ds lib389 module does a lot of health checks. Those can be leveraged inside of ipa-healthcheck. This work is already merged upstream.

At least the following patches need to be picked:

a1e661f6041ffd378ee002b12e3351ff19cf678d
fa0fb394162dfc7abd48ea226a326a4e1bb2eec5
0431fc970e48dc245f10b248001bd782e9a8d0fd

Comment 10 Sudhir Menon 2020-12-17 10:26:11 UTC
Tested using automation.

[root@server1 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.4 Beta (Ootpa)

ipa-healthcheck-core-0.7-3.module+el8.4.0+9007+5084bdd8.noarch
ipa-selinux-4.9.0-0.5.rc3.module+el8.4.0+9124+ced20601.noarch
ipa-server-4.9.0-0.5.rc3.module+el8.4.0+9124+ced20601.x86_64
389-ds-base-1.4.3.16-4.module+el8.4.0+8992+caadce03.x86_64

test_integration/test_ipahealthcheck.py::TestIpaHealthCheck::test_ipa_healthcheck_install_on_master PASSED [  2%]
test_integration/test_ipahealthcheck.py::TestIpaHealthCheck::test_ipa_healthcheck_install_on_replica PASSED [  5%]
test_integration/test_ipahealthcheck.py::TestIpaHealthCheck::test_run_ipahealthcheck_list_source PASSED [  8%]
.....
test_integration/test_ipahealthcheck.py::TestIpaHealthCheck::test_human_output PASSED [ 11%]
test_integration/test_ipahealthcheck.py::TestIpaHealthCheck::test_dogtag_ca_check_exists PASSED [ 14%]
.....
test_integration/test_ipahealthcheck.py::TestIpaHealthCheck::test_ipahealthcheck_ds_configcheck PASSED [ 80%]
test_integration/test_ipahealthcheck.py::TestIpaHealthCheck::test_source_ipahealthcheck_ds_backends PASSED [ 82%]
test_integration/test_ipahealthcheck.py::TestIpaHealthCheck::test_ipahealthcheck_ds_encryption FAILED [ 85%]
test_integration/test_ipahealthcheck.py::TestIpaHealthCheck::test_ipahealthcheck_ds_riplugincheck PASSED [ 88%]
test_integration/test_ipahealthcheck.py::TestIpaHealthCheck::test_ds_configcheck_passwordstorage PASSED [ 91%]
.....
test_integration/test_ipahealthcheck.py::TestIpaHealthCheck::test_ipa_healthcheck_remove PASSED [100%]

For Failed TC: test_ipahealthcheck_ds_encryption #bz1905390 has been logged.

Comment 12 errata-xmlrpc 2021-05-18 15:48:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: idm:DL1 and idm:client security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:1846