Switch from wsgi script to wsgi module
Change-Id: I75bdecd4a2452b56b19561432e0b77791f111c95
This commit is contained in:
@@ -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
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user