[freeipa PR#4895][opened] Simplify and make more reliable the server and client installation checks
by rcritten
URL: https://github.com/freeipa/freeipa/pull/4895
Author: rcritten
Title: #4895: Simplify and make more reliable the server and client installation checks
Action: opened
PR body:
"""
Rather than relying on file existence and whether the installer backed up files actually set a value when the installation is complete for the client and server and use that.
For the server this can be reliable moving forward because we can detect the missing state and fix it on upgrades. On the client we're stuck so use it but leave the old method as a fallback. Also remove the requirement to pass in the filestore to the client check as that makes it more complex as a fact.
Both can be checked fairly easily with:
```
python -c 'from ipaclient.install.client import is_ipa_client_installed; print ("%s" % is_ipa_client_installed())'
python -c 'from ipaserver.install.installutils import is_ipa_configured; print("%s" % is_ipa_configured())'
```
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/4895/head:pr4895
git checkout pr4895
5 months, 1 week
[freeipa PR#4943][opened] Fix for two failing healthcheck tests
by rcritten
URL: https://github.com/freeipa/freeipa/pull/4943
Author: rcritten
Title: #4943: Fix for two failing healthcheck tests
Action: opened
PR body:
"""
The release of freeipa-healthcheck 0.6 fixes a problem and introduces a new one.
It adds namespacing so we can limit the checks and avoid spurious errors from the PKI healthchecks that miscount the number of errors when all services are stopped.
It also pulls in checks provided by lib389. Change the naming of Replication error checking.
NOTE: this will not test green until a new release of healthcheck is made in Fedora to address two other issues introduced with 0.6 that also cause spurious errors when all services are stopped.
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/4943/head:pr4943
git checkout pr4943
5 months, 2 weeks