Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure Horizon mod_wsgi uses global WSGI subinterpreter
Cryptography changes implemented in Rust are using PyO3, which does not support multiple subinterpreters. To address this, the Apache configuration for Horizon has been updated to ensure that the WSGI server uses the global Python interpreter. This change ensures compatibility with the new Rust-based cryptography implementation and prevents potential issues with request handling. Changes: - Updated the Horizon Helm override configuration in conf.horizon.apache inside the VirtualHost directive. Test Plan: - PASS: Confirm that no errors related to subinterpreters appear in Horizon logs. - PASS: Ensure that Horizon responds with HTTP status code 200 upon accessing the main page. Reference: - PyO3's lack of support for subinterpreters: PyO3/pyo3#3451 - Related OpenStack-Helm commit: https://opendev.org/openstack/openstack-helm/commit/e81872d94820739398703ddf37bbe537a42a8efd Story: 2011303 Task: 51502 Change-Id: I2d7b00719f0be17fae389c6a7326518f77be0404 Signed-off-by: Mateus Nascimento <[email protected]>
- Loading branch information