From add8e9a1e81e12e51fc20ac7c68272a5dcf67add Mon Sep 17 00:00:00 2001 From: Zhipeng Liu Date: Fri, 10 Jul 2020 18:44:09 +0800 Subject: [PATCH] Fix gnocchi-api could not start up issue After using python3 to build image, need to change related wsgi profile like we did for other openstack service. Test pass for openstack apply with 4 additonal services enabled Closes-Bug: 1886819 Depends-on: https://review.opendev.org/#/c/741826 Change-Id: Ic7345760a0a387c87f79b78e7949df920da83044 Signed-off-by: Zhipeng Liu (cherry picked from commit a8e6da1fe04c66a65b52a9a97366c2f8e5e1cc78) --- stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml b/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml index a7dbda89..28a6b4c0 100644 --- a/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml +++ b/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml @@ -1900,9 +1900,10 @@ data: SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded CustomLog /dev/stdout combined env=!forwarded CustomLog /dev/stdout proxy env=forwarded + WSGISocketPrefix /var/run/httpd/wsgi - WSGIDaemonProcess gnocchi processes=1 threads=2 user=gnocchi group=gnocchi display-name=%{GROUP} + WSGIDaemonProcess gnocchi processes=1 threads=2 user=gnocchi group=gnocchi display-name=%{GROUP} python-home=/var/lib/openstack socket-user=apache WSGIProcessGroup gnocchi WSGIScriptAlias / "/var/lib/openstack/bin/gnocchi-api" WSGIApplicationGroup %{GLOBAL}