From f6d591917ba602cf5cbd16f20365fed3b461c36d Mon Sep 17 00:00:00 2001 From: Michal Arbet Date: Thu, 2 Dec 2021 18:28:08 +0100 Subject: [PATCH] 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 --- ansible/roles/aodh/templates/wsgi-aodh.conf.j2 | 4 ---- .../notes/fix-aodh-wsgi-config-7679adda584e33bb.yaml | 6 ++++++ 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 releasenotes/notes/fix-aodh-wsgi-config-7679adda584e33bb.yaml diff --git a/ansible/roles/aodh/templates/wsgi-aodh.conf.j2 b/ansible/roles/aodh/templates/wsgi-aodh.conf.j2 index 86f5d33c21..3099e35106 100644 --- a/ansible/roles/aodh/templates/wsgi-aodh.conf.j2 +++ b/ansible/roles/aodh/templates/wsgi-aodh.conf.j2 @@ -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 %} diff --git a/releasenotes/notes/fix-aodh-wsgi-config-7679adda584e33bb.yaml b/releasenotes/notes/fix-aodh-wsgi-config-7679adda584e33bb.yaml new file mode 100644 index 0000000000..07d0373e79 --- /dev/null +++ b/releasenotes/notes/fix-aodh-wsgi-config-7679adda584e33bb.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fix the apache's wsgi configuration for the aodh service + in Debuntu binary flavours. + `LP#1953059 `__