Fixes gnocchi-api script name for Ubuntu/Debian

The old script name was 'python3-gnocchi-api'. It should be
'gnocchi-api' anymore.

Closes-Bug: #1861688

Change-Id: I78fb248859b43dc1636133dadc036028388ab564
This commit is contained in:
Dincer Celik 2020-02-04 09:01:51 +03:00
parent 7de63ac4ec
commit 27da6da1c9
2 changed files with 5 additions and 4 deletions

View File

@ -28,11 +28,7 @@ LogLevel info
WSGIApplicationGroup %{GLOBAL}
WSGIDaemonProcess gnocchi group=gnocchi processes={{ openstack_service_workers }} threads=1 user=gnocchi python-path={{ python_path }}
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"
{% endif %}
<Directory "{{ wsgi_path }}">
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>`__