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
This commit is contained in:
Vladimir Kozhukalov 2024-05-13 15:58:05 +08:00
parent 30c22e2286
commit e81872d948
3 changed files with 4 additions and 2 deletions

View File

@ -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:

View File

@ -93,8 +93,9 @@ conf:
CustomLog /dev/stdout proxy env=forwarded
<VirtualHost *:{{ tuple "dashboard" "internal" "web" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}>
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

View File

@ -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
...