Given the patchset sent by David seems to have been entirely contained within what is now glance-store, I've moved this over and we can determine if it still needs to be addressed there.
** Project changed: glance => glance-store ** Changed in: glance-store Importance: Medium => Undecided -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1264029 Title: Glance API layer doesn't catch some store exceptions leading to 500 errors Status in OpenStack Glance backend store-drivers library (glance_store): New Bug description: The Glance API layer currently doesn't catch some exceptions raised by the underlying store layer, resulting in a "500 Internal Server Error". For e.g. when using the HTTP store, if the remote HTTP server is down, then an "image-download" operation will fail and the HTTP store will raise a BadStoreUri exception but the exception is not caught all the way to the top and results in the 500 error. Again, if the remote server is up but the specified image file is not found then the remote HTTP server will return a 404 error but the HTTP store converts all 4XX errors to a BadStoreUri exception (HTTP store bug?) which again is not caught. I think a) underlying stores should return appropriate error codes/exceptions so that the higher layers can take meaningful action or produce meaningful error messages and b) the API layer should catch all exceptions raised by the lower layers so that the user never gets to see a 500 error. To manage notifications about this bug go to: https://bugs.launchpad.net/glance-store/+bug/1264029/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

