Commit Graph

4 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 51c0311478 Start using uWSGI role
Move service to use uWSGI role instead of iternal task for uwsgi
deployment. This aims to ease the maintenance of uWSGI and speedup
metal deployments as the same uwsgi environment will be used
across all services.

Change-Id: I8492d52d8155e1bd75f99deb4fd19d445a831816
2019-09-04 16:39:05 +03:00
Jimmy McCrory 2c85a1f624 Fix distro installs on Ubuntu
Beginning in the Stein release, Ubuntu distro packages are now using
Python3. This requires additionally installing and using the uwsgi
python3 plugin.

Install the 'python3-barbican' package instead of 'barbican-api'.
barbican-api installs apache which conflicts with the OSA provided
service config.

The 'barbican-keystone-listener' and 'barbican-worker' packages have
been removed. They provide service configs for each of those services,
but neither are implemented in the role yet and, if they are at some
point, service configs would be provided by the role.

Change-Id: I96cce9426946c3c888bb46900906317e134dd23d
2019-06-06 08:43:51 -07:00
Mohammed Naser 4b0da513d0 Allow ability to configure number of processes and threads
Users can configure the number of worker threads however when it's
not specified the calculated number of workers can get too large on
hosts with a large number of CPUs.

This also adds the setting of threads and processes to the UWSGI
configuration.

Change-Id: I003ab426488966cce46bd6fd297c79ada13c9668
Closes-Bug: #1745631
2018-01-28 17:44:43 +00:00
Ian Cordasco 7107ff7878 Add forgotten templates 2016-03-02 11:28:02 -06:00