Switch from wsgi script to wsgi module

Change-Id: I75bdecd4a2452b56b19561432e0b77791f111c95
This commit is contained in:
Jonathan Rosser
2025-05-21 10:06:55 +01:00
parent 17497426f4
commit a9818d26c3
2 changed files with 2 additions and 3 deletions

View File

@@ -478,7 +478,7 @@ nova_services:
uwsgi_bind_address: "{{ nova_metadata_bind_address }}"
uwsgi_port: "{{ nova_metadata_port }}"
uwsgi_tls: "{{ nova_backend_ssl | ternary(nova_uwsgi_tls, {}) }}"
wsgi_name: nova-metadata-wsgi
wsgi: "nova.wsgi.metadata:application"
nova-api-os-compute:
group: nova_api_os_compute
service_name: nova-api-os-compute
@@ -489,7 +489,7 @@ nova_services:
uwsgi_bind_address: "{{ nova_service_bind_address }}"
uwsgi_port: "{{ nova_service_port }}"
uwsgi_tls: "{{ nova_backend_ssl | ternary(nova_uwsgi_tls, {}) }}"
wsgi_name: nova-api-wsgi
wsgi: "nova.wsgi.osapi_compute:application"
nova-compute:
group: nova_compute
service_name: nova-compute

View File

@@ -94,7 +94,6 @@ uwsgi_nova_services: |-
and ('wsgi_app' in value and value['wsgi_app']) %}
{% set _ = value.update(
{
'wsgi_path': nova_bin ~ '/' ~ value.wsgi_name,
'wsgi_venv': ((nova_install_method == 'source') | ternary(nova_bin | dirname, None)),
'uwsgi_uid': nova_system_user_name,
'uwsgi_guid': nova_system_group_name,