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 <zhipengs.liu@intel.com>
(cherry picked from commit a8e6da1fe0
)
This commit is contained in:
parent
3b1fe20d58
commit
add8e9a1e8
|
@ -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
|
||||
|
||||
<VirtualHost *:{{ tuple "metric" "internal" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}>
|
||||
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}
|
||||
|
|
Loading…
Reference in New Issue