[freeipa PR#1258][opened] Remove ignore_import_errors
by tiran
URL: https://github.com/freeipa/freeipa/pull/1258
Author: tiran
Title: #1258: Remove ignore_import_errors
Action: opened
PR body:
"""
ignore_import_errors was added in 9b534238 to build FreeIPA ACI/API with
some dependencies missing. It turns out that the import hook doesn't
play nice with other meta importers or Cython-generated code like lxml:
```
./makeaci: ipaserver/plugins/dogtag.py:246: ignoring ImportError: No module named lxml.re
Traceback (most recent call last):
File "./makeaci", line 134, in <module>
main(options)
File "./makeaci", line 107, in main
api.finalize()
File "ipalib/plugable.py", line 733, in finalize
self.__do_if_not_done('load_plugins')
File "ipalib/plugable.py", line 425, in __do_if_not_done
getattr(self, name)()
File "ipalib/plugable.py", line 614, in load_plugins
self.add_package(package)
File "ipalib/plugable.py", line 641, in add_package
module = importlib.import_module(name)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "ipaserver/plugins/dogtag.py", line 246, in <module>
from lxml import etree
File "src/lxml/etree.pyx", line 93, in init lxml.etree
File "src/lxml/_elementpath.py", line 58, in init lxml._elementpath
AttributeError: 'FailedImport' object has no attribute 'compile'
```
Signed-off-by: Christian Heimes <cheimes(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1258/head:pr1258
git checkout pr1258
6 years, 5 months
FreeIPA wiki: troubleshooting
by Florence Blanc-Renaud
Hi all,
FreeIPA wiki contains a really long page for Troubleshooting [1], and I
would like to re-organize the content a little bit differently.
My proposal would be to keep this page as the main access point and only
store pointers to other pages, organized by component. We can keep the
existing component structure, ie:
- installation
- directory server
- authentication/kerberos
- AD trusts
- dns
- pki
- administration framework
- web UI
- integration with other software
but I would also add
- certmonger and certificate renewal
- OTP
It would be great if the troubleshooting steps could explicitly define
which version they apply to (for instance the RA certificate has changed
location in 4.5).
I see this as a group effort, meaning that anyone planning to add
information related to troubleshooting could review the section he's
planning to modify and add details (for instance if the existing
information is deprecated, or applies only to a specific version etc...)
I can start by moving the content from [1] to component-specific pages,
for instance http://www.freeipa.org/page/Troubleshooting/Installation if
you agree with the proposal.
So any thoughts/comments on this?
Flo
[1] http://www.freeipa.org/page/Troubleshooting
6 years, 5 months