Bug 1479051

Summary: Horizon won't load with OSP10 - Script timed out before returning headers: django.wsgi
Product: Red Hat OpenStack Reporter: Radomir Dopieralski <rdopiera>
Component: python-django-horizonAssignee: Radomir Dopieralski <rdopiera>
Status: CLOSED ERRATA QA Contact: Ido Ovadia <iovadia>
Severity: medium Docs Contact:
Priority: medium    
Version: 10.0 (Newton)CC: aortega, apannu, arkady_kanevsky, asimonel, athomas, beth.white, cchen, cmedeiro, ealcaniz, gcharot, iovadia, jraju, ksavich, lbezdick, mburns, mrunge, rdopiera, roxenham, samccann, srevivo
Target Milestone: z4Keywords: Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: python-django-horizon-10.0.5-3.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: 1478042
: 1479055 (view as bug list) Environment:
Last Closed: 2017-09-06 17:14:56 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, 1496173    
Bug Blocks: 1478870, 1479055, 1479056, 1479057, 1479058, 1479732, 1481774, 1485889, 1485890, 1485894    

Comment 3 arkady kanevsky 2017-08-28 19:55:07 UTC
Is this landing in Aug 30th z-stream?
Is there an analog of this for OSP9 with the same fix? Update of OSP9 to latest RHEL-7.4 based break it.
When is this going to be release?

Comment 4 Radomir Dopieralski 2017-08-28 20:04:44 UTC
The bugs for OSP9 are: https://bugzilla.redhat.com/show_bug.cgi?id=1481774 and https://bugzilla.redhat.com/show_bug.cgi?id=1481774

Comment 5 Radomir Dopieralski 2017-08-28 20:07:00 UTC
Sorry, I meant 1481774 and https://bugzilla.redhat.com/show_bug.cgi?id=1479055

Comment 6 Ido Ovadia 2017-09-05 13:47:43 UTC
Verified
========
puppet-horizon-9.5.0-2.el7ost.noarch
python-django-horizon-10.0.5-4.el7ost.noarch

Comment 8 errata-xmlrpc 2017-09-06 17:14:56 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:2658

Comment 9 Edu Alcaniz 2017-09-26 15:30:21 UTC
*** Bug 1496178 has been marked as a duplicate of this bug. ***