Skip to content

Commit

Permalink
Use global wsgi subinterpreter for horizon mod_wsgi
Browse files Browse the repository at this point in the history
Some cryptography is implemented in Rust and used
via PyO3 which does not support multiple subinterpreters.
See PyO3/pyo3#576

Change-Id: Iff43e99134f41b65b220765a161fdd1b94495272
  • Loading branch information
kozhukalov committed Jun 6, 2024
1 parent 30c22e2 commit e81872d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion horizon/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion horizon/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions releasenotes/notes/horizon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
...

0 comments on commit e81872d

Please sign in to comment.