diff --git a/ansible/roles/aodh/templates/wsgi-aodh.conf.j2 b/ansible/roles/aodh/templates/wsgi-aodh.conf.j2 index 476359514227df80f860faf4e6f730e5f8647a2c..055d903befd7073eacb2d4572a4b2a990583c4db 100644 --- a/ansible/roles/aodh/templates/wsgi-aodh.conf.j2 +++ b/ansible/roles/aodh/templates/wsgi-aodh.conf.j2 @@ -27,7 +27,7 @@ TraceEnable off WSGIApplicationGroup %{GLOBAL} WSGIDaemonProcess aodh group=aodh processes={{ openstack_service_workers }} threads=1 user=aodh python-path={{ python_path }} WSGIProcessGroup aodh -{% if kolla_install_type == 'binary' and kolla_base_distro == 'ubuntu' %} +{% if aodh_install_type == 'binary' and kolla_base_distro == 'ubuntu' %} WSGIScriptAlias / "{{ binary_path }}/python3-aodh-api" {% else %} WSGIScriptAlias / "{{ binary_path }}/aodh-api" diff --git a/ansible/roles/gnocchi/templates/wsgi-gnocchi.conf.j2 b/ansible/roles/gnocchi/templates/wsgi-gnocchi.conf.j2 index 8cadbe6c25ee7e1c273cd87f66720d003d2664e9..e65b4f1191822a83eb8518cf704f4cacb6aabca9 100644 --- a/ansible/roles/gnocchi/templates/wsgi-gnocchi.conf.j2 +++ b/ansible/roles/gnocchi/templates/wsgi-gnocchi.conf.j2 @@ -18,7 +18,7 @@ TraceEnable off WSGIApplicationGroup %{GLOBAL} WSGIDaemonProcess gnocchi group=gnocchi processes={{ openstack_service_workers }} threads=1 user=gnocchi python-path={{ python_path }} WSGIProcessGroup gnocchi -{% if kolla_install_type == 'binary' and kolla_base_distro == 'ubuntu' %} +{% if gnocchi_install_type == 'binary' and kolla_base_distro == 'ubuntu' %} WSGIScriptAlias / "{{ wsgi_path }}/python3-gnocchi-api" {% else %} WSGIScriptAlias / "{{ wsgi_path }}/gnocchi-api" diff --git a/ansible/roles/keystone/templates/wsgi-keystone.conf.j2 b/ansible/roles/keystone/templates/wsgi-keystone.conf.j2 index 29a2c22fb56056c2e08b4591e12f5c4a14bcc1ab..9f30c58ec4d4c63d92c08a9d9132e41d67e2ede5 100644 --- a/ansible/roles/keystone/templates/wsgi-keystone.conf.j2 +++ b/ansible/roles/keystone/templates/wsgi-keystone.conf.j2 @@ -24,7 +24,7 @@ TraceEnable off <VirtualHost *:{{ keystone_public_listen_port }}> WSGIDaemonProcess keystone-public processes={{ openstack_service_workers }} threads=1 user=keystone group=keystone display-name=%{GROUP} python-path={{ python_path }} WSGIProcessGroup keystone-public -{% if kolla_install_type == 'binary' and kolla_base_distro == 'ubuntu' %} +{% if keystone_install_type == 'binary' and kolla_base_distro == 'ubuntu' %} WSGIScriptAlias / {{ binary_path }}/python3-keystone-wsgi-public {% else %} WSGIScriptAlias / {{ binary_path }}/keystone-wsgi-public @@ -42,7 +42,7 @@ TraceEnable off <VirtualHost *:{{ keystone_admin_listen_port }}> WSGIDaemonProcess keystone-admin processes={{ openstack_service_workers }} threads=1 user=keystone group=keystone display-name=%{GROUP} python-path={{ python_path }} WSGIProcessGroup keystone-admin -{% if kolla_install_type == 'binary' and kolla_base_distro == 'ubuntu' %} +{% if keystone_install_type == 'binary' and kolla_base_distro == 'ubuntu' %} WSGIScriptAlias / {{ binary_path }}/python3-keystone-wsgi-admin {% else %} WSGIScriptAlias / {{ binary_path }}/keystone-wsgi-admin