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: I0dedcec2a7bb9983e66878e89dc651cb08939f4f
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: I7e39baa2fefdc63d6f300cb037241846e0871eeb
Depends-On: I5e7d3588b7b3b106813d6d37b55aa812273d04d6
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: I1d50ee01ebfdfaeb2ac02bc5b944f5b996cbc2db
The unit tests were broken by a change to openstacklib
Id09c3358c5843510e6a2a8c0e2d4aeb3607e098b which renamed some of the
resources in the openstacklib classes. The problem is that our tests in
this module should not have been testing what occurs within the modules
so this fix updates the tests to only check what we are doing within
this module.
Depends-On: I9d535ab38afea852559df2b3073bd4b74a2a3947
Change-Id: I3a43867c18fec07360333e876312c2d25b868b57
nova-api-wsgi is now available at /usr/bin/nova-api-wsgi in RDO
packaging so let's use it instead of relying on the python script
in /usr/share like before. UCA will be updated later when the script
is available in packaging.
Change-Id: I426bfdb9e6c852eb32d10a12e521bb8b47701c41
- Nova Placement API deployment in WSGI with Apache
by using nova::wsgi::apache_placement.
- Keystones resources support for Nova Placement API
by using nova::keystone::auth_placement.
- Allow to configure [placement] section in nova.conf by using nova::placement.
- nova::wsgi::apache is deprecated in favor of nova::wsgi::apache_api.
Notes:
- This service will be required in the future.
See docs.openstack.org/developer/nova/placement.html
- Disable testing on Ubuntu, the package is broken and not idempotent.
Change-Id: I7f9bc831005029f12d4259b411b58c0319c2a043