Add user group parameter to apache wsgi conf
Add user group parameter that fix `No section: 'formatters'` error
when logging enable.
Change-Id: I5169d3bfe3a0c4ed6a648b467b2fa917e321bc6c
Related-Prod: PROD-22733 (PROD:22733)
diff --git a/aodh/files/newton/apache-aodh.apache2.conf.Debian b/aodh/files/newton/apache-aodh.apache2.conf.Debian
index 3a32f6d..90f9ef2 100644
--- a/aodh/files/newton/apache-aodh.apache2.conf.Debian
+++ b/aodh/files/newton/apache-aodh.apache2.conf.Debian
@@ -2,7 +2,7 @@
Listen {{ server.bind.host }}:{{ server.bind.port }}
<VirtualHost *:{{ server.bind.port }}>
- WSGIDaemonProcess aodh-api processes=2 threads=10 user=aodh display-name=%{GROUP}
+ WSGIDaemonProcess aodh-api processes=2 threads=10 user=aodh group=aodh display-name=%{GROUP}
WSGIProcessGroup aodh-api
WSGIScriptAlias / /usr/share/aodh-common/app.wsgi
WSGIApplicationGroup %{GLOBAL}
@@ -21,4 +21,4 @@
</IfVersion>
</Directory>
-</VirtualHost>
+</VirtualHost>
\ No newline at end of file
diff --git a/aodh/files/ocata/apache-aodh.apache2.conf.Debian b/aodh/files/ocata/apache-aodh.apache2.conf.Debian
index 381468d..2bc4ee1 100644
--- a/aodh/files/ocata/apache-aodh.apache2.conf.Debian
+++ b/aodh/files/ocata/apache-aodh.apache2.conf.Debian
@@ -2,7 +2,7 @@
Listen {{ server.bind.host }}:{{ server.bind.port }}
<VirtualHost *:{{ server.bind.port }}>
- WSGIDaemonProcess aodh-api processes=2 threads=10 user=aodh display-name=%{GROUP}
+ WSGIDaemonProcess aodh-api processes=2 threads=10 user=aodh group=aodh display-name=%{GROUP}
WSGIProcessGroup aodh-api
WSGIScriptAlias / /usr/share/aodh/app.wsgi
WSGIApplicationGroup %{GLOBAL}
diff --git a/aodh/files/pike/apache-aodh.apache2.conf.Debian b/aodh/files/pike/apache-aodh.apache2.conf.Debian
index 381468d..2bc4ee1 100644
--- a/aodh/files/pike/apache-aodh.apache2.conf.Debian
+++ b/aodh/files/pike/apache-aodh.apache2.conf.Debian
@@ -2,7 +2,7 @@
Listen {{ server.bind.host }}:{{ server.bind.port }}
<VirtualHost *:{{ server.bind.port }}>
- WSGIDaemonProcess aodh-api processes=2 threads=10 user=aodh display-name=%{GROUP}
+ WSGIDaemonProcess aodh-api processes=2 threads=10 user=aodh group=aodh display-name=%{GROUP}
WSGIProcessGroup aodh-api
WSGIScriptAlias / /usr/share/aodh/app.wsgi
WSGIApplicationGroup %{GLOBAL}
diff --git a/aodh/files/queens/apache-aodh.apache2.conf.Debian b/aodh/files/queens/apache-aodh.apache2.conf.Debian
index 381468d..2bc4ee1 100644
--- a/aodh/files/queens/apache-aodh.apache2.conf.Debian
+++ b/aodh/files/queens/apache-aodh.apache2.conf.Debian
@@ -2,7 +2,7 @@
Listen {{ server.bind.host }}:{{ server.bind.port }}
<VirtualHost *:{{ server.bind.port }}>
- WSGIDaemonProcess aodh-api processes=2 threads=10 user=aodh display-name=%{GROUP}
+ WSGIDaemonProcess aodh-api processes=2 threads=10 user=aodh group=aodh display-name=%{GROUP}
WSGIProcessGroup aodh-api
WSGIScriptAlias / /usr/share/aodh/app.wsgi
WSGIApplicationGroup %{GLOBAL}