Comment 5 for bug 1062046

Revision history for this message
Gary Kotton (garyk) wrote : Re: [Bug 1062046] Re: There is a lot of cases that API with an invalid parameter returns 500.

On 10/16/2012 03:34 AM, Itsuro Oda wrote:
> I checked https://review.openstack.org/14219 patch set 2.
> The follwings is the result.
>
> [invalid parameter]
> o subnet create
> - "ip_version": "abc" (string is specified) [Fixed]
> - host_routes duplicate  [NotFixed]

In the patch set this was treated but it was decided that this is not a bug.
> o port create
> - fixed_ips duplicate [NotFixed]
> "fixed_ips": [
> {"ip_address": "10.100.1.4", "subnet_id":<same-subnet-id>},
> {"ip_address": "10.100.1.4", "subnet_id":<same-subnet-id>},

I also do not think that this is a problem.
> ]
> - invalid ip_address [Fixed]
> "ip_address": "310.100.1.2"
> o port update
> - fixed_ips duplicate [NotFixed]
> "fixed_ips": [
> {"ip_address": "10.100.1.4", "subnet_id":<same-subnet-id>},
> {"ip_address": "10.100.1.4", "subnet_id":<same-subnet-id>},
> ]
> - invalid ip_address [Fixed]
> "ip_address": "310.100.1.2"
>
> [parameter missing]
> o network update
> - "network"  [NotFixed]

can you please elaborate on how you you reproduce this. Is this done via
the client?
> o subnet create
> - "start" in the "allocation_pools" [Fixed]
> - "end" in tne "allocation_pools" [Fixed]
> - "destination" in the "host_routes" [NotFixed]

can you please elaborate a bit more what the problem is here?
> - "nexthop" in the "host_routes" [Fixed]
> o subnet update
> - "subnet" [NotFixed]

not sure i understand. can you please show me how you reproduce this and
i'll investigate
> - "destination" [Fixed]
> - "nexthop" [Fixed]
> o port update
> - "port" [NotFixed]
>
> [null specified]

please show me how you reproduce these.
> o network create
> - "admin_state_up": null [Fixed]
> - "shared": null [Fixed]
> o bulk network create
> - "networks": null [NotFixed]
> o network update
> - "admin_state_up": null [Fixed]
> - "shared": null  [Fixed]
> o subnet create
> - "ip_version": null [NotFixed]
> - "dns_nameservers": null [NotFixed]
> - "enable_dhcp": null [Fixed]
> - "allocation_pools": null [NotFixed]
> - "host_routes": null [NotFixed]
> - "destination": null [Fixed]
> o bulk subnet create
> - "subnets": null [NotFixed]
> o subnet update
> - "dns_nameservers": null [NotFixed]
> - "enable_dhcp": null [Fixed]
> - "host_routes": null [NotFixed]
> - "destination": null [Fixed]
> o port create
> - "admin_state_up": null [Fixed]
> - "fixed_ips": null [NotFixed]
> - "ip_address": null [Fixed]
> - "device_id": null [NotFixed]
> - "device_owner": null [NotFixed]
> o bulk port create
> - "ports": null  [NotFixed]
> o port update
> - "admin_state_up": null [Fixed]
> - "fixed_ips": null  [NotFixed]
> - "ip_address": null [Fixed]
>