No way to cleanly shut down WSGI

Bug #731668 reported by justinsb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
termie

Bug Description

One of my branches that will hopefully merge soon brings up the API as an in-process WSGI app for testing purposes. However, I can't figure out how to shut it down cleanly (other than by exiting the process). If we could shut it down, we could control its lifetime properly in tests. Right now, we have to cache the WSGI app across tests, which is naughty.

Here's the affected code:
https://code.launchpad.net/~justin-fathomdb/nova/justinsb-openstack-api-volumes/+merge/50868

Related branches

Revision history for this message
Thierry Carrez (ttx) wrote :

Keeping this incomplete until the branch lands, doesn't affect nova (yet)

Changed in nova:
status: New → Incomplete
Changed in nova:
status: Incomplete → In Progress
importance: Undecided → Medium
assignee: nobody → termie (termie)
Thierry Carrez (ttx)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → 2011.2
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.