Switch from wsgi script to wsgi module

Change-Id: I94ab5411e62872a1d94dea4117f29d8a655a1e5d
This commit is contained in:
Jonathan Rosser
2025-05-21 11:07:46 +01:00
parent bca6b6b650
commit 0f4638e223
2 changed files with 1 additions and 2 deletions

View File

@@ -301,7 +301,7 @@ manila_services:
init_config_overrides: "{{ manila_api_init_overrides }}"
start_order: 4
wsgi_app: true
wsgi_name: manila-wsgi
wsgi: "manila.wsgi.api:application"
uwsgi_overrides: "{{ manila_api_uwsgi_ini_overrides }}"
uwsgi_port: "{{ manila_service_port }}"
uwsgi_bind_address: "{{ manila_uwsgi_bind_address }}"

View File

@@ -70,7 +70,6 @@ uwsgi_manila_services: |-
and ('wsgi_app' in value and value['wsgi_app']) %}
{% set _ = value.update(
{
'wsgi_path': manila_bin ~ '/' ~ value.wsgi_name,
'wsgi_venv': ((manila_install_method == 'source') | ternary(manila_bin | dirname, None)),
'uwsgi_uid': manila_system_user_name,
'uwsgi_guid': manila_system_group_name,