There is a lot of cases that API with an invalid parameter returns 500.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Gary Kotton | ||
Folsom |
Fix Released
|
High
|
Gary Kotton | ||
quantum (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
400 is expected.
This is a list that I found 500 is returned.
(Of course this may not be a complete list.)
(Of course I don't expect they are fixed individually. Some enhances need for
validation codes.)
[invalid parameter]
o subnet create
- "ip_version": "abc" (string is specified)
- host_routes duplicate
"host_routes": [
{
{
o port create
- fixed_ips duplicate
"fixed_ips": [
{
{
]
- invalid ip_address
"ip_address": "310.100.1.2"
o port update
- fixed_ips duplicate
"fixed_ips": [
]
- invalid ip_address
"ip_address": "310.100.1.2"
[parameter missing]
o network update
- "network"
o subnet create
- "start" in the "allocation_pools"
- "end" in tne "allocation_pools"
- "destination" in the "host_routes"
- "nexthop" in the "host_routes"
o subnet update
- "subnet"
- "destination"
- "nexthop"
o port update
- "port"
[null specified]
o network create
- "admin_state_up": null
- "shared": null
o bulk network create
- "networks": null
o network update
- "admin_state_up": null
- "shared": null
o subnet create
- "ip_version": null
- "dns_nameservers": null
- "enable_dhcp": null
- "allocation_pools": null
- "host_routes": null
- "destination": null
o bulk subnet create
- "subnets": null
o subnet update
- "dns_nameservers": null
- "enable_dhcp": null
- "host_routes": null
- "destination": null
o port create
- "admin_state_up": null
- "fixed_ips": null
- "ip_address": null
- "device_id": null
- "device_owner": null
o bulk port create
- "ports": null
o port update
- "admin_state_up": null
- "fixed_ips": null
- "ip_address": null
Related branches
- Openstack Ubuntu Testers: Pending requested
-
Diff: 79 lines (+68/-0)1 file modifieddebian/changelog (+68/-0)
Changed in quantum: | |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | removed: folsom-backport-potential |
Changed in quantum: | |
status: | Fix Committed → Fix Released |
Changed in quantum (Ubuntu): | |
status: | New → Fix Released |
Changed in quantum (Ubuntu Quantal): | |
status: | New → Confirmed |
tags: | removed: in-stable-folsom |
Changed in quantum: | |
milestone: | grizzly-1 → 2013.1 |
great, thanks for auditing the API for handling of bad inputs... this work is long overdue.