$ cat /etc/redhat-release Fedora release 24 (Twenty Four) $
$ ipa -version Traceback (most recent call last): File "/usr/local/bin/ipa", line 31, in <module> cli.run(api) File "/usr/lib/python2.7/site-packages/ipalib-4.4.90.201610260501GIT91920e7-py2.7.egg/ipalib/cli.py", line 1358, in run api.log.exception('%s: %s', e.class.name, str(e)) AttributeError: 'API' object has no attribute 'log' $
$ ipa --version <= Correct behavior with --version VERSION: 4.4.90.201610260501GIT91920e7, API_VERSION: 2.216 $
This issue is already reported - https://pagure.io/freeipa/issue/6115
Metadata Update from @stlaz: - Issue close_status updated to: duplicate - Issue status updated to: Closed (was: Open)
Looks Issue is: AttributeError: 'API' object has no attribute 'log' <==== module 'API' defined inside /usr/lib/python2.6/site-packages/ipalib/plugable.py is a class & does not have any function named log.
API has the attribute log but probably API is not fully initialized yet in client side when the error happens, because logging is set in in bootstrap() method.
log
Login to comment on this ticket.