Deprecate using informula wsgi config.
All openstack services uses 99% persent same wsgi apache config.
This patch adds functionality to configure cinder-wsgi.conf from
apache pillar. To do this on cluster level the following file
should be included:
- system.apache.server.site.cinder
The intree wsgi template will be removed when we switch all model
and cookiecutter to use apache template.
Change-Id: I6a3058d0fda074d2ddce9ea20d33a93cd3e18de7
diff --git a/tests/pillar/vsp_single.sls b/tests/pillar/vsp_single.sls
index 0eb85de..8e5ab5c 100644
--- a/tests/pillar/vsp_single.sls
+++ b/tests/pillar/vsp_single.sls
@@ -99,3 +99,45 @@
name: cinder
user: cinder
password: pwd
+apache:
+ server:
+ enabled: true
+ default_mpm: event
+ mpm:
+ prefork:
+ enabled: true
+ servers:
+ start: 5
+ spare:
+ min: 2
+ max: 10
+ max_requests: 0
+ max_clients: 20
+ limit: 20
+ site:
+ cinder:
+ enabled: false
+ available: true
+ type: wsgi
+ name: cinder
+ wsgi:
+ daemon_process: cinder-wsgi
+ processes: 5
+ threads: 1
+ user: cinder
+ group: cinder
+ display_name: '%{GROUP}'
+ script_alias: '/ /usr/bin/cinder-wsgi'
+ application_group: '%{GLOBAL}'
+ authorization: 'On'
+ host:
+ address: 127.0.0.1
+ name: 127.0.0.1
+ port: 8776
+ log:
+ custom:
+ format: >-
+ %v:%p %{X-Forwarded-For}i %h %l %u %t \"%r\" %>s %D %O \"%{Referer}i\" \"%{User-Agent}i\"
+ error:
+ enabled: true
+ format: '%M'