← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1529198] [NEW] Glance raise 500 when upload image data

 

Public bug reported:

Now, when the storage back-end  doesn't has enough space fro image
store, the back-end(Such as Swift)  will sometimes raise a
BackendException error and Glance will not catch it.

Reproduce:
1.suppose use Swift back-end, and there is 1G could be use.
2.create an image with 2G.
3.Glance will return 500 error.


So IMO, Glance should catch BackendException error to show the error message to users.

** Affects: glance
     Importance: Undecided
     Assignee: wangxiyuan (wangxiyuan)
         Status: New

** Changed in: glance
     Assignee: (unassigned) => wangxiyuan (wangxiyuan)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1529198

Title:
  Glance raise 500 when upload image data

Status in Glance:
  New

Bug description:
  Now, when the storage back-end  doesn't has enough space fro image
  store, the back-end(Such as Swift)  will sometimes raise a
  BackendException error and Glance will not catch it.

  Reproduce:
  1.suppose use Swift back-end, and there is 1G could be use.
  2.create an image with 2G.
  3.Glance will return 500 error.

  
  So IMO, Glance should catch BackendException error to show the error message to users.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1529198/+subscriptions