Merge "Fixes gnocchi-api script name for Ubuntu/Debian"

This commit is contained in:
Zuul 2020-02-26 21:09:50 +00:00 committed by Gerrit Code Review
commit 0182ea0b7e
2 changed files with 5 additions and 4 deletions

View File

@ -28,11 +28,7 @@ LogLevel info
WSGIApplicationGroup %{GLOBAL} WSGIApplicationGroup %{GLOBAL}
WSGIDaemonProcess gnocchi group=gnocchi processes={{ openstack_service_workers }} threads=1 user=gnocchi python-path={{ python_path }} WSGIDaemonProcess gnocchi group=gnocchi processes={{ openstack_service_workers }} threads=1 user=gnocchi python-path={{ python_path }}
WSGIProcessGroup gnocchi WSGIProcessGroup gnocchi
{% if gnocchi_install_type == 'binary' and kolla_base_distro in ['debian', 'ubuntu'] %}
WSGIScriptAlias / "{{ wsgi_path }}/python3-gnocchi-api"
{% else %}
WSGIScriptAlias / "{{ wsgi_path }}/gnocchi-api" WSGIScriptAlias / "{{ wsgi_path }}/gnocchi-api"
{% endif %}
<Directory "{{ wsgi_path }}"> <Directory "{{ wsgi_path }}">
Require all granted Require all granted

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes gnocchi-api script name for Ubuntu/Debian binary deployments.
`LP#1861688 <https://bugs.launchpad.net/kolla-ansible/+bug/1861688>`__