From e81872d94820739398703ddf37bbe537a42a8efd Mon Sep 17 00:00:00 2001 From: Vladimir Kozhukalov Date: Mon, 13 May 2024 15:58:05 +0800 Subject: [PATCH] Use global wsgi subinterpreter for horizon mod_wsgi Some cryptography is implemented in Rust and used via PyO3 which does not support multiple subinterpreters. See https://github.com/PyO3/pyo3/issues/576 Change-Id: Iff43e99134f41b65b220765a161fdd1b94495272 --- horizon/Chart.yaml | 2 +- horizon/values.yaml | 3 ++- releasenotes/notes/horizon.yaml | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/horizon/Chart.yaml b/horizon/Chart.yaml index 0c16bf55ee..03eab719c8 100644 --- a/horizon/Chart.yaml +++ b/horizon/Chart.yaml @@ -14,7 +14,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Horizon name: horizon -version: 0.3.22 +version: 0.3.23 home: https://docs.openstack.org/horizon/latest/ icon: https://www.openstack.org/themes/openstack/images/project-mascots/Horizon/OpenStack_Project_Horizon_vertical.png sources: diff --git a/horizon/values.yaml b/horizon/values.yaml index 024e57cee4..7de3307946 100644 --- a/horizon/values.yaml +++ b/horizon/values.yaml @@ -93,8 +93,9 @@ conf: CustomLog /dev/stdout proxy env=forwarded + WSGIApplicationGroup %{GLOBAL} WSGIScriptReloading On - WSGIDaemonProcess horizon-http processes=5 threads=1 user=horizon group=horizon display-name=%{GROUP} python-path=/var/lib/kolla/venv/lib/python2.7/site-packages + WSGIDaemonProcess horizon-http processes=5 threads=1 user=horizon group=horizon display-name=%{GROUP} WSGIProcessGroup horizon-http WSGIScriptAlias / /var/www/cgi-bin/horizon/django.wsgi WSGIPassAuthorization On diff --git a/releasenotes/notes/horizon.yaml b/releasenotes/notes/horizon.yaml index c757d9b04d..ff24c51277 100644 --- a/releasenotes/notes/horizon.yaml +++ b/releasenotes/notes/horizon.yaml @@ -59,4 +59,5 @@ horizon: - 0.3.20 Enable custom annotations for Openstack secrets - 0.3.21 Update images used by default - 0.3.22 Align with 2024.1 requirements + - 0.3.23 Use global wsgi subinterpreter ...