5 Commits

Author SHA1 Message Date
ZhongShengping
8befe4fb09 Add customization for wsgi process display name
Change-Id: I952b51508d5ec6ad6d0aab7e19df14f4dcd96ba3
Closes-Bug: #1626550
2017-11-01 15:54:54 +08:00
Juan Antonio Osorio Robles
7a137e2355 apache wsgi: Exchange defaults for workers and threads
Due to Python's GIL [1], we can't use multiple threads for running
OpenStack services without a performance penalty, since the execution
ends up serialized, which defeats the purpose.

Instead, we should use several processes, since this approach doesn't
have this limitation.

[1] https://wiki.python.org/moin/GlobalInterpreterLock

Change-Id: I116df85f259528d547a958850b9c3793d01e2a45
2017-10-13 08:49:12 +03:00
Juan Antonio Osorio Robles
781c75cebc Allow setting log files for apache vhost
This allows the setting of the error and access file logs, as well as
the access log format. This was done in a similar fashion as one can
configure these ones in the keystone wsgi manifest.

Change-Id: Ic2ffef73f6a12d6225f87d285003c3deb7541126
2017-10-06 14:23:53 +03:00
Benedikt Trefzer
10a7db8463 add parameter to overwrite/add wsgi process options
Add parameter to apache_wsgi to allow overwrite and/or
add additional wsgi process options.

This possibility was added to openstacklib
with Change-Id: I41914ce3361988d5db1695f09d21209772fdf548

Change-Id: I3df74ddc4a258083ccfe4e47180f022742655ba6
2017-09-04 18:38:40 +02:00
Juan Antonio Osorio Robles
fe394add6f Add manifests to deploy APIs over httpd
This includes a resource that will generically create the vhost for
the specified API.

Co-Authored-By: Thomas Herve <therve@redhat.com>
Depends-On: I9a9246522810de546a7c460ab1133d6bf9081a15
Change-Id: I253f46f5ad943971dd9ea6995591c72a36953bdb
2017-03-02 14:15:18 +02:00