The check in check_client_configuration is no longer compatible with systems that don't have a global FreeIPA installation in /etc/ipa but a local configuration in IPA_CONFDIR env var.
check_client_configuration
/etc/ipa
IPA_CONFDIR
~/.ipa/default.conf
$ IPA_CONFDIR=~/.ipa python3 -m ipaclient
>>> from ipalib import api >>> from ipalib import util >>> import os >>> api.bootstrap(confdir=os.path.expanduser("~/.ipa")) >>> util.check_client_configuration(api.env) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/heimes/redhat/freeipa/ipalib/util.py", line 1160, in check_client_configuration 2) # CLIENT_NOT_CONFIGURED ipapython.admintool.ScriptError: IPA client is not configured on this system >>> os.path.isfile(api.env.conf_default) True
Test fails with IPA client is not configured on this system
IPA client is not configured on this system
check_client_configuration should not fail
FreeIPA 4.8.3
Any additional information, configuration, data or log snippets that is needed for reproduction or investigation of the issue.
Log file locations: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Linux_Domain_Identity_Authentication_and_Policy_Guide/config-files-logs.html Troubleshooting guide: https://www.freeipa.org/page/Troubleshooting
Metadata Update from @cheimes: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/3969
master:
ipa-4-8:
Metadata Update from @cheimes: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)