3 Commits

Author SHA1 Message Date
Vasyl Saienko
61b81d0c73 Add uWSGI support
This patch implements uWSGI support for ironic API service.
ironic/api/app.wsgi is deprecated in favor of pbr generated
ironic-api-wsgi

Co-Authored-By: anascko <ovoshchana@mirantis.com>

Change-Id: Ieb68c1042e31b77f9a549fd90afe31a65008deca
Closes-Bug: #1719260
Closes-Bug: #1668966
2017-12-28 18:08:49 +02:00
Yuriy Zveryanskyy
d5b15199ce Add display-name option to example apache2 configuration
Without this option impossible to find ironic API wsgi process in
system process list, it displayed as 'apache2'. With this option
'(wsgi:ironic)' process displayed.

Change-Id: If391d898b063f02a44050e2c95ee40d9a07b6b05
2015-04-01 17:01:38 +03:00
Devananda van der Veen
1da73ef2ba Add samples to serve API through Apache mod_wsgi
The default API service (ironic.cmd.api) uses the wsgiref library.

Some deployers may want to serve the API through apache/httpd instead.

This patch adds application hooks to use with mod_wsgi, and a sample
apache2 config file to demonstrate its use with debian-based distros.

Change-Id: I44cd8e0941c350a6e5c16cf2d068c3e8d684ab47
Related-bug: #1279206
2014-02-11 22:52:39 -08:00