wsgi needs a launcher helper

Bug #1087423 reported by Michael Basnight
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo-incubator
Fix Released
Wishlist
Unassigned
Grizzly
Fix Released
Wishlist
Unassigned

Bug Description

Currently service.py has a def launch() class method that allows for convenient launching of services, and wsgi should have one as well. It would be much easier to launch wsgi apps given a wsgi.launch() method

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo-incubator (master)

Fix proposed to branch: master
Review: https://review.openstack.org/17628

Changed in oslo:
assignee: nobody → Michael Basnight (hubcap)
status: New → In Progress
Mark McLoughlin (markmc)
Changed in oslo:
importance: Undecided → Medium
Mark McLoughlin (markmc)
Changed in oslo:
importance: Medium → Wishlist
status: In Progress → Triaged
assignee: Michael Basnight (hubcap) → nobody
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

There is a run_server in wsgi.py is that enough? If not, please reopen this bug.

def run_server(application, port):
    """Run a WSGI server with the given application."""
    sock = eventlet.listen(('0.0.0.0', port))
    eventlet.wsgi.server(sock, application)

Changed in oslo:
status: Triaged → Fix Committed
Thierry Carrez (ttx)
Changed in oslo:
milestone: none → grizzly-rc1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.