Switch from wsgi script to wsgi module
Change-Id: Ieac8f3bbe2ff1a04305a254c295cb414e0e6e55a
This commit is contained in:
@@ -397,7 +397,7 @@ cinder_services:
|
||||
init_config_overrides: "{{ cinder_api_init_overrides }}"
|
||||
start_order: 4
|
||||
wsgi_app: true
|
||||
wsgi_name: cinder-wsgi
|
||||
wsgi: "cinder.wsgi.api:application"
|
||||
uwsgi_overrides: "{{ cinder_api_uwsgi_ini_overrides }}"
|
||||
uwsgi_port: "{{ cinder_service_port }}"
|
||||
uwsgi_tls: "{{ cinder_backend_ssl | ternary(cinder_uwsgi_tls, {}) }}"
|
||||
|
@@ -79,7 +79,6 @@ uwsgi_cinder_services: |-
|
||||
and ('wsgi_app' in value and value['wsgi_app']) %}
|
||||
{% set _ = value.update(
|
||||
{
|
||||
'wsgi_path': cinder_bin ~ '/' ~ value.wsgi_name,
|
||||
'wsgi_venv': ((cinder_install_method == 'source') | ternary(cinder_bin | dirname, None)),
|
||||
'uwsgi_uid': cinder_system_user_name,
|
||||
'uwsgi_guid': cinder_system_group_name,
|
||||
|
Reference in New Issue
Block a user