From 27da6da1c972ebf3ec1fe8e8acb81d9e776eac89 Mon Sep 17 00:00:00 2001 From: Dincer Celik Date: Tue, 4 Feb 2020 09:01:51 +0300 Subject: [PATCH] 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 --- ansible/roles/gnocchi/templates/wsgi-gnocchi.conf.j2 | 4 ---- .../notes/fixes-gnocchi-script-name-e4715e3b9fc5b021.yaml | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 releasenotes/notes/fixes-gnocchi-script-name-e4715e3b9fc5b021.yaml diff --git a/ansible/roles/gnocchi/templates/wsgi-gnocchi.conf.j2 b/ansible/roles/gnocchi/templates/wsgi-gnocchi.conf.j2 index b545bf6bca..2044aa49a3 100644 --- a/ansible/roles/gnocchi/templates/wsgi-gnocchi.conf.j2 +++ b/ansible/roles/gnocchi/templates/wsgi-gnocchi.conf.j2 @@ -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 %} Require all granted diff --git a/releasenotes/notes/fixes-gnocchi-script-name-e4715e3b9fc5b021.yaml b/releasenotes/notes/fixes-gnocchi-script-name-e4715e3b9fc5b021.yaml new file mode 100644 index 0000000000..41a46fc4b1 --- /dev/null +++ b/releasenotes/notes/fixes-gnocchi-script-name-e4715e3b9fc5b021.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fixes gnocchi-api script name for Ubuntu/Debian binary deployments. + `LP#1861688 `__