Bug 1479056 - Horizon won't load with OSP11 - Script timed out before returning headers: django.wsgi
Horizon won't load with OSP11 - Script timed out before returning headers: dj...
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon (Show other bugs)
8.0 (Liberty)
x86_64 Linux
medium Severity medium
: zstream
: 8.0 (Liberty)
Assigned To: Radomir Dopieralski
Ido Ovadia
: Triaged, ZStream
Depends On: 1478042 1479051 1479055 1496173
Blocks: 1485889 1485890 1485894 1478870 1479057 1479058 1479732 1481774
  Show dependency treegraph
Reported: 2017-08-07 16:48 EDT by Radomir Dopieralski
Modified: 2017-10-02 10:49 EDT (History)
15 users (show)

See Also:
Fixed In Version: python-django-horizon-8.0.1-16.el7ost
Doc Type: Bug Fix
Doc Text:
Cause: Some binary python modules used by Horizon are compiled with a flag that makes them use the simplified GIL state API. Consequence: Since mod_wsgi uses sub-interpreters, and the simplified GIL state API is not re-entrant, this results in the mod_wsgi locking up and hanging, making the dashboard unavailable. Fix: Added "WSGIApplicationGroup %{GLOBAL}" to mod_wsgi configuration, which forces it to always use the main interpreter instead of sub-interpreters. Result: With that option, mod_wsgi will work correctly no matter what options were used to compile the binary python modules. The slight performance penalty is not noticeable.
Story Points: ---
Clone Of: 1479055
: 1479057 (view as bug list)
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1573488 None None None 2017-08-07 16:48 EDT
Launchpad 1708655 None None None 2017-08-07 16:48 EDT
OpenStack gerrit 473367 None None None 2017-08-07 16:48 EDT

  None (edit)
Comment 1 Radomir Dopieralski 2017-09-22 19:19:16 EDT
Installed OSP8 with openstack-puppet-modules-7.1.5-7.el7ost from brew. Verified that it works and that the /etc/httpd/conf.d/15-horizon_vhost.conf file contains the line WSGIApplicationGroup %{GLOBAL}.

Note You need to log in before you can comment on or make changes to this bug.