Bug 1479732
| Summary: | Horizon won't load with OSP11 - Script timed out before returning headers: django.wsgi | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Radomir Dopieralski <rdopiera> | |
| Component: | puppet-horizon | Assignee: | Radomir Dopieralski <rdopiera> | |
| Status: | CLOSED ERRATA | QA Contact: | Ido Ovadia <iovadia> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 10.0 (Newton) | CC: | aortega, asimonel, athomas, beth.white, cchen, gcharot, iovadia, jjoyce, jschluet, mburns, mrunge, nlevinki, rdopiera, rhos-maint, roxenham, samccann, sclewis, slinaber, smykhail, srevivo, tvignaud | |
| Target Milestone: | z4 | Keywords: | Triaged, ZStream | |
| Target Release: | 10.0 (Newton) | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | puppet-horizon-9.5.0-2.el7ost | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: Some binary python modules used by Horizon were 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 works correctly no matter what options were used to compile the binary python modules. The slight performance penalty is not noticeable.
|
Story Points: | --- | |
| Clone Of: | 1478870 | |||
| : | 1481774 (view as bug list) | Environment: | ||
| Last Closed: | 2017-09-06 17:11:37 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 1478042, 1478870, 1479051, 1479055, 1479056, 1479057, 1479058, 1496173 | |||
| Bug Blocks: | 1481774, 1485889, 1485890, 1485894 | |||
|
Comment 5
Ido Ovadia
2017-09-05 13:39:55 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2654 |