Support control-plane API services deployed via WSGI

Registered by Dongcan Ye

Support API services deployed via WSGI, this is community Pike release goal: https://governance.openstack.org/tc/goals/pike/deploy-api-in-wsgi.html

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Dongcan Ye
Direction:
Needs approval
Assignee:
Dongcan Ye
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

https://github.com/openstack/governance/blob/master/goals/pike/deploy-api-in-wsgi.rst
There is a pike community goal, that asks each projects that deploys and API to allow deploying it in wsgi mode. kuryr-libnetwork deploys a flask application, that can be used in wsgi mode already. however for the goal to be completed:

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.

So we probably need to add a .wsgi file for convenience of mod_wsgi users and switch devstack to deploy everything under Apache

Gerrit topic: https://review.openstack.org/#q,topic:bp/deploy-kuryr-libnetwork-api-in-wsgi,n,z

Addressed by: https://review.openstack.org/374315
    Allow running kuryr-libnetwork with uwsgi

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.