test freeipa-timed-integration-f26ipa45-advise-domlevel-1 fails on server installation where ipa client gets error 500 from API, http error log shows:
mod_wsgi (pid=22469): Target WSGI script '/usr/share/ipa/wsgi.py' cannot be loaded as Python module. mod_wsgi (pid=22469): Exception occurred processing WSGI script '/usr/share/ipa/wsgi.py'. Traceback (most recent call last): File "/usr/share/ipa/wsgi.py", line 26, in <module> from ipaplatform.paths import paths ModuleNotFoundError: No module named 'ipaplatform' mod_wsgi (pid=22470): Target WSGI script '/usr/share/ipa/wsgi.py' cannot be loaded as Python module. mod_wsgi (pid=22470): Exception occurred processing WSGI script '/usr/share/ipa/wsgi.py'. Traceback (most recent call last): File "/usr/share/ipa/wsgi.py", line 26, in <module> from ipaplatform.paths import paths ModuleNotFoundError: No module named 'ipaplatform' mod_wsgi (pid=22467): Target WSGI script '/usr/lib/python2.7/site-packages/kdcproxy/__init__.py' cannot be loaded as Python module. mod_wsgi (pid=22466): Target WSGI script '/usr/lib/python2.7/site-packages/kdcproxy/__init__.py' cannot be loaded as Python module. mod_wsgi (pid=22466): Exception occurred processing WSGI script '/usr/lib/python2.7/site-packages/kdcproxy/__init__.py'. Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/kdcproxy/__init__.py", line 37, in <module> import kdcproxy.codec as codec ModuleNotFoundError: No module named 'kdcproxy' mod_wsgi (pid=22467): Exception occurred processing WSGI script '/usr/lib/python2.7/site-packages/kdcproxy/__init__.py'. Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/kdcproxy/__init__.py", line 37, in <module> import kdcproxy.codec as codec ModuleNotFoundError: No module named 'kdcproxy' [remote 2620:52:0:224e:21a:4aff:fe23:1314:36310] mod_wsgi (pid=22469): Target WSGI script '/usr/share/ipa/wsgi.py' cannot be loaded as Python module. [remote 2620:52:0:224e:21a:4aff:fe23:1314:36310] mod_wsgi (pid=22469): Exception occurred processing WSGI script '/usr/share/ipa/wsgi.py'. [remote 2620:52:0:224e:21a:4aff:fe23:1314:36310] Traceback (most recent call last): [remote 2620:52:0:224e:21a:4aff:fe23:1314:36310] File "/usr/share/ipa/wsgi.py", line 26, in <module> [remote 2620:52:0:224e:21a:4aff:fe23:1314:36310] from ipaplatform.paths import paths [remote 2620:52:0:224e:21a:4aff:fe23:1314:36310] ModuleNotFoundError: No module named 'ipaplatform'
Metadata Update from @pvoborni: - Issue tagged with: regression
Metadata Update from @cheimes: - Issue assigned to cheimes
FreeIPA is either compatible with Python 2 mod_wsgi or Python 3 mod_wsgi. mod_wsgi can not coexist in the same Apache process as mod_wsgi_python3. When both mod_wsgi and python3-mod_wsgi are installed, the first loaded module wins and the other one is never loaded.
Add conflict on the other module to prevent installation of both modules.
https://github.com/freeipa/freeipa/pull/1306
Metadata Update from @pvoborni: - Issue priority set to: important - Issue set to the milestone: FreeIPA 4.5.5
master:
ipa-4-6:
ipa-4-5:
Metadata Update from @cheimes: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.