Glance Add Image API returns 400 response if storage is inaccessible
Bug #919257 reported by
Unmesh Gurjar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Medium
|
Eoghan Glynn |
Bug Description
Glance Add Image API returns 400 response if storage is inaccessible or insufficient permissions in accessing the image store. The API should return an Internal Server Error(500) response instead.
Changed in glance: | |
assignee: | nobody → Eoghan Glynn (eglynn) |
Changed in glance: | |
status: | Triaged → In Progress |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | essex-4 → 2012.1 |
To post a comment you must log in.
I tend to think that 500 Internal Server Error should be returned only when a server is entirely broken. I'm thinking that 503 Service Unavailable may be a better code to return...