Fix aodh wsgi config file in Debuntu binary

This patch is fixing file path for WSGIScriptAlias
as debian/ubuntu binary packages installs /usr/bin/aodh-api
as it is in source images also. For details please check
LP bug report.

Closes-Bug: #1953059
Change-Id: I9efe73193bf828b084c2844be73c9813a969c9c7
This commit is contained in:
Michal Arbet 2021-12-02 18:28:08 +01:00 committed by Mark Goddard
parent f35e44aaf7
commit 82f248bcc3
2 changed files with 6 additions and 4 deletions

View File

@ -34,9 +34,5 @@ LogLevel info
WSGIApplicationGroup %{GLOBAL}
WSGIDaemonProcess aodh group=aodh processes={{ openstack_service_workers }} threads=1 user=aodh
WSGIProcessGroup aodh
{% if aodh_install_type == 'binary' and kolla_base_distro in ['debian', 'ubuntu'] %}
WSGIScriptAlias / "{{ binary_path }}/python3-aodh-api"
{% else %}
WSGIScriptAlias / "{{ binary_path }}/aodh-api"
{% endif %}
</VirtualHost>

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fix the apache's wsgi configuration for the aodh service
in Debuntu binary flavours.
`LP#1953059 <https://launchpad.net/bugs/1953059>`__