Glance Add Image API returns 400 response for disk full scenario
Bug #919255 reported by
Unmesh Gurjar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Medium
|
Eoghan Glynn |
Bug Description
The Glance Add image API returns a BadRequest(400) response when the image storage media is full. The API should return an Internal Server Error(500) response instead.
Changed in glance: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: filesystem |
Changed in glance: | |
milestone: | none → essex-4 |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | essex-4 → 2012.1 |
To post a comment you must log in.
Not sure I agree with the argument for a 500 Internal Server Error. I think that a 413 Request Entity Too Large would be more appropriate.
My rationale is that if you try to upload a 200G image to a server with 100G free space, and a 500 is returned, the user may get the impression the server is completely dead, which it is not...