Enable murano API to run under WSGI

Registered by Kirill Zaitsev

We should ensure, that murano allows running murano-api as a wsgi application under uwsgi and mod_wsgi.

Currently it seems that https://github.com/openstack/murano/blob/master/murano/cmd/api.py#L61-L68 these extra services would prevent us from running murano-api as a wsgi app under uwsgi.

As a result of this BP we need to have a set of config/wsgi-app files that allow running all the murano-api services behind uwsgi. We should also clearly document all the steps required to setup this kind of deployments

Blueprint information

Status:
Complete
Approver:
Kirill Zaitsev
Priority:
High
Drafter:
Kirill Zaitsev
Direction:
Approved
Assignee:
zhurong
Definition:
New
Series goal:
Accepted for future
Implementation:
Implemented
Milestone target:
None
Started by
zhurong
Completed by
zhurong

Related branches

Sprints

Whiteboard

The community has set a community wide goal in Pike cycle:
"Control Plane API endpoints deployment via WSGI"
https://governance.openstack.org/tc/goals/pike/deploy-api-in-wsgi.html

Completion Criteria
a). 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.

b). Switch devstack jobs to deploy control-plane API services in
WSGI with Apache.

also see https://blueprints.launchpad.net/murano/+spec/run-murano-api-under-apache2

Gerrit topic: https://review.openstack.org/#q,topic:bp/murano-api-wsgi,n,z

Addressed by: https://review.openstack.org/442327
    Add WSGI support script for murano API

Addressed by: https://review.openstack.org/442936
    Deploy murano-api via uwsgi

Addressed by: https://review.openstack.org/494048
    Deploy murano-api via uwsgi

Addressed by: https://review.openstack.org/586527
    [docs]Deploy murano api under WSGI server

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.