mod_wsgi requires WSGIApplicationGroup %{GLOBAL} or it will hang

Bug #1708655 reported by Radomir Dopieralski
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Critical
Radomir Dopieralski
OpenStack-Ansible
Fix Released
Undecided
Adrien Cunin
kolla-ansible
Fix Released
Undecided
zhongshengping
puppet-horizon
Fix Released
Undecided
zhongshengping

Bug Description

It seems that the recent versions of python-gobject-base used by python-keyring library, which is in turn used by python-keystoneclient, use the simplified GIL state API as described in http://modwsgi.readthedocs.io/en/develop/user-guides/application-issues.html#python-simplified-gil-state-api

Consequently, mod_wsgi hangs trying to import them, unless it has "WSGIApplicationGroup %{GLOBAL}" added to its configuration.

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/490857

Changed in horizon:
assignee: nobody → Radomir Dopieralski (deshipu)
status: New → In Progress
Revision history for this message
Rob Cresswell (robcresswell-deactivatedaccount) wrote :

Marking Critical, as its a reasonably mysterious failure that results in Horizon failing completely under a default config.

Changed in horizon:
milestone: none → pike-rc1
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/490857
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=d9e4b6ae6895301dd03313194aa7601dae98cc5f
Submitter: Jenkins
Branch: master

commit d9e4b6ae6895301dd03313194aa7601dae98cc5f
Author: Radomir Dopieralski <email address hidden>
Date: Fri Aug 4 14:52:43 2017 +0200

    Use WSGIApplicationGroup %{GLOBAL} in mod_wsgi configuration

    Change-Id: I0633703cef5a225fe8b689017d21aa4f45ecc7cf
    Closes-bug: #1708655

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-horizon (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/491810

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on puppet-horizon (stable/ocata)

Change abandoned by Radomir Dopieralski (<email address hidden>) on branch: stable/ocata
Review: https://review.openstack.org/491459
Reason: Replaced with https://review.openstack.org/#/c/491810/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-horizon (stable/ocata)

Reviewed: https://review.openstack.org/491810
Committed: https://git.openstack.org/cgit/openstack/puppet-horizon/commit/?id=155e416d728031c809ad1892ce07726b571cdb69
Submitter: Jenkins
Branch: stable/ocata

commit 155e416d728031c809ad1892ce07726b571cdb69
Author: Matthew J. Black <email address hidden>
Date: Fri Jun 23 17:14:51 2017 -0400

    Horizon SSL handshake errors with apache

    Added in "WSGIApplicationGroup %{GLOBAL}" to fix an issue
    where horizon will have ssl handshake issues with various
    SSL openstack endpoints.

    Change-Id: Idd10380f1b6e6ef0ee4a4cb84317aa12131b77c4
    Closes-Bug: #1700176
    Closes-Bug: #1708655
    (cherry picked from commit 588b9f83c70d44384d3ac206a28b4ca9c34e93da)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 12.0.0.0rc1

This issue was fixed in the openstack/horizon 12.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-horizon 10.4.0

This issue was fixed in the openstack/puppet-horizon 10.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/526423

Changed in openstack-ansible:
assignee: nobody → Adrien Cunin (adri2000)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_horizon (master)

Reviewed: https://review.openstack.org/526423
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_horizon/commit/?id=dfbc2a56b6fd0cf0a98fe6a2dc046a44c30a05b2
Submitter: Zuul
Branch: master

commit dfbc2a56b6fd0cf0a98fe6a2dc046a44c30a05b2
Author: Adrien Cunin <email address hidden>
Date: Thu Dec 7 15:46:01 2017 +0100

    Set WSGIApplicationGroup %{GLOBAL} as recommended

    mod_wsgi hangs trying to import the recent versions of
    python-gobject-base used by python-keyring library, which is in turn
    used by python-keystoneclient. This does not happen if the
    WSGIApplicationGroup is global.

    Change-Id: I4c7408699fddf327feb1c3b47e8e47cf2dd946f1
    Closes-Bug: #1708655
    Closes-Bug: #1624791
    Related-Bug: #1700176

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_horizon (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/529033

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_horizon (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/529034

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_horizon (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/529035

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_horizon (stable/newton)

Reviewed: https://review.openstack.org/529035
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_horizon/commit/?id=9dda4788e6bc6472cff4bd1068cecb39eeba02a3
Submitter: Zuul
Branch: stable/newton

commit 9dda4788e6bc6472cff4bd1068cecb39eeba02a3
Author: Adrien Cunin <email address hidden>
Date: Thu Dec 7 15:46:01 2017 +0100

    Set WSGIApplicationGroup %{GLOBAL} as recommended

    mod_wsgi hangs trying to import the recent versions of
    python-gobject-base used by python-keyring library, which is in turn
    used by python-keystoneclient. This does not happen if the
    WSGIApplicationGroup is global.

    Change-Id: I4c7408699fddf327feb1c3b47e8e47cf2dd946f1
    Closes-Bug: #1708655
    Closes-Bug: #1624791
    Related-Bug: #1700176
    (cherry picked from commit dfbc2a56b6fd0cf0a98fe6a2dc046a44c30a05b2)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_horizon (stable/pike)

Reviewed: https://review.openstack.org/529033
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_horizon/commit/?id=41d8d7f055c58390586c0fc6991e8ca265299b78
Submitter: Zuul
Branch: stable/pike

commit 41d8d7f055c58390586c0fc6991e8ca265299b78
Author: Adrien Cunin <email address hidden>
Date: Thu Dec 7 15:46:01 2017 +0100

    Set WSGIApplicationGroup %{GLOBAL} as recommended

    mod_wsgi hangs trying to import the recent versions of
    python-gobject-base used by python-keyring library, which is in turn
    used by python-keystoneclient. This does not happen if the
    WSGIApplicationGroup is global.

    Change-Id: I4c7408699fddf327feb1c3b47e8e47cf2dd946f1
    Closes-Bug: #1708655
    Closes-Bug: #1624791
    Related-Bug: #1700176
    (cherry picked from commit dfbc2a56b6fd0cf0a98fe6a2dc046a44c30a05b2)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_horizon (stable/ocata)

Reviewed: https://review.openstack.org/529034
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_horizon/commit/?id=8fe29e992509983b3a672a644b87124666656d2a
Submitter: Zuul
Branch: stable/ocata

commit 8fe29e992509983b3a672a644b87124666656d2a
Author: Adrien Cunin <email address hidden>
Date: Thu Dec 7 15:46:01 2017 +0100

    Set WSGIApplicationGroup %{GLOBAL} as recommended

    mod_wsgi hangs trying to import the recent versions of
    python-gobject-base used by python-keyring library, which is in turn
    used by python-keystoneclient. This does not happen if the
    WSGIApplicationGroup is global.

    Change-Id: I4c7408699fddf327feb1c3b47e8e47cf2dd946f1
    Closes-Bug: #1708655
    Closes-Bug: #1624791
    Related-Bug: #1700176
    (cherry picked from commit dfbc2a56b6fd0cf0a98fe6a2dc046a44c30a05b2)

zhongshengping (chdzsp)
Changed in puppet-horizon:
assignee: nobody → zhongshengping (chdzsp)
zhongshengping (chdzsp)
Changed in puppet-horizon:
status: New → Fix Released
zhongshengping (chdzsp)
Changed in kolla-ansible:
assignee: nobody → zhongshengping (chdzsp)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

Fix proposed to branch: master
Review: https://review.openstack.org/532437

Changed in kolla-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/532437
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=a3f8c987f7f023238bc2968d3ca8360b1c58ce05
Submitter: Zuul
Branch: master

commit a3f8c987f7f023238bc2968d3ca8360b1c58ce05
Author: ZhongShengping <chdzsp@163.com>
Date: Wed Jan 10 15:09:23 2018 +0800

    Use WSGIApplicationGroup %{GLOBAL} in mod_wsgi configuration

    Change-Id: I419cd02aeb899d93bba5f330d7e4535afd8c0ed8
    Closes-bug: #1708655

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 6.0.0.0b3

This issue was fixed in the openstack/kolla-ansible 6.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_horizon 17.0.0.0b3

This issue was fixed in the openstack/openstack-ansible-os_horizon 17.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_horizon 16.0.7

This issue was fixed in the openstack/openstack-ansible-os_horizon 16.0.7 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_horizon 15.1.15

This issue was fixed in the openstack/openstack-ansible-os_horizon 15.1.15 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_horizon 17.0.0.0rc1

This issue was fixed in the openstack/openstack-ansible-os_horizon 17.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_horizon 14.2.15

This issue was fixed in the openstack/openstack-ansible-os_horizon 14.2.15 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.