glance should fail more gracefully on requests for images that have been removed from the fs
Bug #781410 reported by
Chris Behrens
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Justin Shepherd |
Bug Description
If for whatever reason an image file is removed from the filesystem and the entry for it still exists in the database, glance should fail more gracefully. Right now, if you try to do a HEAD request for the image, you get a valid response. That's fine. But then when you do a 'GET /image/<id>', glance just closes the socket connection. Seems like a 404 or something should be returned, instead.
I'm guessing this bug might affect where permissions on the image file have changed such that glance can't open it.. as well. But I've not attempted to test that case.
Changed in glance: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in glance: | |
milestone: | none → diablo-4 |
assignee: | nobody → Justin Shepherd (jshepher) |
status: | Confirmed → In Progress |
Changed in glance: | |
status: | In Progress → Fix Committed |
Changed in glance: | |
milestone: | diablo-4 → 2011.3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.