Switch from wsgi script to wsgi module

Change-Id: I78fb8575f522e8f1b09dd61002df4688a7fafedc
This commit is contained in:
Jonathan Rosser
2025-05-21 10:54:14 +01:00
parent e47cbb7dfa
commit ca074bf6b2
2 changed files with 2 additions and 3 deletions

View File

@@ -266,7 +266,7 @@ heat_services:
init_config_overrides: "{{ heat_api_init_overrides }}"
start_order: 2
wsgi_app: true
wsgi_name: heat-wsgi-api
wsgi: "heat.wsgi.api:application"
uwsgi_overrides: "{{ heat_api_uwsgi_ini_overrides }}"
uwsgi_port: "{{ heat_service_port }}"
uwsgi_bind_address: "{{ heat_api_uwsgi_bind_address }}"
@@ -277,7 +277,7 @@ heat_services:
init_config_overrides: "{{ heat_api_cfn_init_overrides }}"
start_order: 3
wsgi_app: true
wsgi_name: heat-wsgi-api-cfn
wsgi: "heat.wsgi.cfn:application"
uwsgi_overrides: "{{ heat_api_cfn_uwsgi_ini_overrides }}"
uwsgi_port: "{{ heat_cfn_service_port }}"
uwsgi_bind_address: "{{ heat_api_cfn_uwsgi_bind_address }}"

View File

@@ -66,7 +66,6 @@ heat_uwsgi_services: |-
and ('wsgi_app' in value and value['wsgi_app']) %}
{% set _ = value.update(
{
'wsgi_path': heat_bin ~ '/' ~ value.wsgi_name,
'wsgi_venv': ((heat_install_method == 'source') | ternary(heat_bin | dirname, None)),
'uwsgi_uid': heat_system_user_name,
'uwsgi_guid': heat_system_group_name,