Add possibility to run manila-api service under web servers that support WSGI applications

Registered by Valeriy Ponomaryov

One of the goals for Pike [1] is to make each API service be able to run under dedicated web servers such as Apache (+mod-wsgi) and Nginx (+uWSGI).

For the moment Manila uses only eventlet-based WSGI application approach for running all its services.

So, following goals defined in "governance" project [2] should be addressed in scope of this blueprint:

1) Provide WSGI application script file(s) (e.g. to be used by web server). There shouldn't be any web server restriction and the application could be deploying to any web server that support WSGI applications.

2) Switch devstack jobs to deploy control-plane API services in WSGI with Apache. Usage of Apache is already the default in Devstack, let's keep using it for consistency unless there is some efforts to support another web server but this is not the case at this time.

[1] https://governance.openstack.org/tc/goals/pike/deploy-api-in-wsgi.html#control-plane-api-endpoints-deployment-via-wsgi
[2] https://governance.openstack.org/tc/goals/pike/deploy-api-in-wsgi.html#completion-criteria

Blueprint information

Status:
Complete
Approver:
Ben Swartzlander
Priority:
Medium
Drafter:
Valeriy Ponomaryov
Direction:
Needs approval
Assignee:
Valeriy Ponomaryov
Definition:
Pending Approval
Series goal:
Accepted for pike
Implementation:
Implemented
Milestone target:
None
Started by
Valeriy Ponomaryov
Completed by
Valeriy Ponomaryov

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/wsgi-web-servers-support,n,z

Addressed by: https://review.openstack.org/448190
    Add possibility to run 'manila-api' with wsgi web servers

Addressed by: https://review.openstack.org/630776
    Add uWSGI configuration samples

Addressed by: https://review.openstack.org/631338
    Deploy manila with uwsgi on devstack

Gerrit topic: https://review.openstack.org/#q,topic:630776,n,z

Addressed by: https://review.openstack.org/635502
    Extend remove_version_from_href support

Addressed by: https://review.openstack.org/642612
    [DNM] Debug job failure w/ tls-proxy/uwsgi changes

Addressed by: https://review.openstack.org/642822
    Extend remove_version_from_href support

Addressed by: https://review.openstack.org/643764
    Extend remove_version_from_href support

Gerrit topic: https://review.opendev.org/#/q/topic:630776

Addressed by: https://review.opendev.org/630776
    Add uWSGI configuration samples

Gerrit topic: https://review.opendev.org/#/q/topic:apache-docs

Addressed by: https://review.opendev.org/522429
    Add mod_wsgi configuration samples

Gerrit topic: https://review.opendev.org/#/q/topic:bug/1682694

Addressed by: https://review.opendev.org/746569
    Add uWSGI configuration samples

Addressed by: https://review.opendev.org/746570
    Add uWSGI configuration samples

Addressed by: https://review.opendev.org/746571
    Add uWSGI configuration samples

Addressed by: https://review.opendev.org/746831
    Add mod_wsgi configuration samples

Addressed by: https://review.opendev.org/747330
    Add mod_wsgi configuration samples

Addressed by: https://review.opendev.org/747452
    Add mod_wsgi configuration samples

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.