6 Commits

Author SHA1 Message Date
Takashi Kajinami
f88fa279bb Prepare to update default of <service>::wsgi::apache::ssl
Currently the <service>::wsgi::apache::ssl parameters have inconsistent
default values. Some parameters default to true while the other default
to false.

Based on the following points, false is considered to be the more
reasonable default.
 - Usage of SSL is optional and is not always required
 - There are other methods(like load-balancer) to implement SSL
   termination
 - Enabling SSL doesn't work with the default values currently
   defined, and requires additional parameters like ssl_cert.
 - false is the default value defined in the base implementation in
   puppet-openstacklib.

This change is the preparation to change the default value, and
introduces a warning message to make users aware of the future change.

Change-Id: I96bae290b599f65b3b03fc5efb8bce3c0459f13a
2021-11-03 21:06:26 +09:00
Tobias Urdin
ce76a91f62 Convert all class usage to relative names
Change-Id: Ieb9a1d2c1dcef360ca7a323fe4f6cdbb61feecfe
2019-12-08 23:26:05 +01:00
ZhongShengping
a3a99c2b9c 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
lease enter the commit message for your changes. Lines starting

Change-Id: Ibb04420a730bb0fdccc30fe6e81d4b0f5fc6ebc2
2017-10-23 14:16:14 +08:00
Juan Antonio Osorio Robles
7da4e498d4 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: I18c1e796e43a168042900b8202ad3ce8488d3908
2017-10-13 09:59:22 +03:00
Juan Antonio Osorio Robles
37f5779e1c 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: I4d82b2d15ae597b8cd2018b6d5c58e9959971daf
2017-10-09 15:54:34 +00:00
Thomas Herve
4a5a1fd46d Allow deployment of Zaqar WSGI with Apache
Change-Id: If91894176abdfae2820c2e13723c87f5ef8fb153
2017-02-22 13:13:12 -05:00