"Create-port" API returns internal server error when allocation_pool's ip address are drained.
Bug #1086226 reported by
Rikimaru Honjo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Gary Kotton |
Bug Description
"Port creation" API returns internal server error when allocation_pool's ip address drained.
I think "500 internal server error" is unsuitable in this case.
I saw following page, but this case is not defined.
http://
I think this case should return "409" or "503".
(But, I cannot decide "409 " or "503".)
Changed in quantum: | |
assignee: | nobody → Gary Kotton (garyk) |
milestone: | none → grizzly-2 |
tags: | added: folsom-backport-potential |
Changed in quantum: | |
status: | Fix Committed → Fix Released |
Changed in quantum: | |
milestone: | grizzly-2 → 2013.1 |
To post a comment you must log in.
yeah, this is a bug. It should be something in the 400s I suspect, as the server is behaving correctly, and it is up to the tenant to remedy the situation.
409 seems like a reasonable solution, though I usually think of it as being used when the tenant is making a request that would put the system in an inconsistent state. Another option would just be to return a generic 400 request.
salvatore (API guru) should probably figure out which is more consistent.