I cannot run ipa command from the FreeIPA 4.4.4 directly, although it works from other Fedora 25 systems:
$ ipa ipa: ERROR: ValueError: No JSON object could be decoded Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/ipalib/cli.py", line 1348, in run api.finalize() File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 707, in finalize self.__do_if_not_done('load_plugins') File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 422, in __do_if_not_done getattr(self, name)() File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 585, in load_plugins for package in self.packages: File "/usr/lib/python2.7/site-packages/ipalib/__init__.py", line 919, in packages ipaclient.remote_plugins.get_package(self), File "/usr/lib/python2.7/site-packages/ipaclient/remote_plugins/__init__.py", line 112, in get_package server_info = ServerInfo(api) File "/usr/lib/python2.7/site-packages/ipaclient/remote_plugins/__init__.py", line 39, in __init__ self._read() File "/usr/lib/python2.7/site-packages/ipaclient/remote_plugins/__init__.py", line 44, in _read self._dict = json.load(sc) File "/usr/lib64/python2.7/json/__init__.py", line 291, in load **kw) File "/usr/lib64/python2.7/json/__init__.py", line 339, in loads return _default_decoder.decode(s) File "/usr/lib64/python2.7/json/decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib64/python2.7/json/decoder.py", line 382, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded ipa: ERROR: an internal error has occurred $ rpm -qa | grep ipa | sort -u freeipa-client-4.4.4-1.fc25.x86_64 freeipa-client-common-4.4.4-1.fc25.noarch freeipa-common-4.4.4-1.fc25.noarch freeipa-server-4.4.4-1.fc25.x86_64 freeipa-server-common-4.4.4-1.fc25.noarch freeipa-server-dns-4.4.4-1.fc25.noarch freeipa-server-trust-ad-4.4.4-1.fc25.x86_64 libipa_hbac-1.15.2-2.fc25.x86_64 python2-iniparse-0.4-20.fc25.noarch python2-ipaclient-4.4.4-1.fc25.noarch python2-ipalib-4.4.4-1.fc25.noarch python2-ipaserver-4.4.4-1.fc25.noarch python2-libipa_hbac-1.15.2-2.fc25.x86_64 python3-iniparse-0.4-20.fc25.noarch python-ipaddr-2.1.10-5.fc25.noarch python-ipaddress-1.0.16-3.fc25.noarch sssd-ipa-1.15.2-2.fc25.x86_64
It works for me.
But I see that It fails on loading of cached API data. Could you try looking at content/permissions of $XDG_CACHE_HOME/ipa or ~/.cache/ipa
Specifically ~/.cache/ipa/servers/$SERVER_HOSTANME
Cleaning the top dir (~/.cache/ipa) will probably help you.
~/.cache/ipa
@dkupka , do we have the exception handled in 4.5?
Confirmed, that solves the issue. My bad. :(
@pvoborni Yes all access/reading errors are handled (cache is ignored and schema downloaded from server) in 4.5 and master.
Metadata Update from @pvoborni: - Issue close_status updated to: worksforme - Issue status updated to: Closed (was: Open)