diff --git a/defaults/main.yml b/defaults/main.yml index 138d1870..9eabc154 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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 diff --git a/vars/main.yml b/vars/main.yml index e604cca6..eb702382 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -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,