No way to cleanly shut down WSGI
Bug #731668 reported by
justinsb
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:/
Related branches
lp://staging/~termie/nova/eventlet_objectstore
- Jay Pipes (community): Approve
- justinsb (community): Approve
- Vish Ishaya (community): Approve
- Soren Hansen: Pending requested
-
Diff: 1998 lines (+426/-1332)11 files modifiedbin/nova-objectstore (+9/-6)
nova/objectstore/bucket.py (+0/-181)
nova/objectstore/handler.py (+0/-478)
nova/objectstore/image.py (+0/-296)
nova/objectstore/s3server.py (+335/-0)
nova/objectstore/stored.py (+0/-63)
nova/test.py (+31/-5)
nova/tests/integrated/integrated_helpers.py (+0/-42)
nova/tests/integrated/test_login.py (+3/-3)
nova/tests/test_cloud.py (+4/-47)
nova/tests/test_objectstore.py (+44/-211)
Changed in nova: | |
status: | Incomplete → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → termie (termie) |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.2 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Keeping this incomplete until the branch lands, doesn't affect nova (yet)