[NEUTRON-9] Neutron: Fix subnet allocation_pools Created: 30/Sep/14  Updated: 19/Oct/17  Resolved: 20/Feb/15

Status: Resolved
Project: neutron
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Cédric Ollivier Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 2120

 Description   

Asking for the last address of the pool can raise HTTPError 500 Server Error (Internal Server Error).

To reproduce it:

  • create a network
  • create a subnet
  • create a port with fixed_ips = the second to last address of the pool
  • create a port with fixed_ips = the last address of the pool

Here are the subnets before the last command:
{
"subnets" : [ {
"id" : "84cc68d5-f91f-40bb-9766-eca1b5f28bad",
"network_id" : "15ae6e88-d9bc-45aa-82d9-aa1ef7cdbdef",
"name" : "",
"ip_version" : 4,
"cidr" : "10.0.0.0/24",
"dns_nameservers" : [ ],
"allocation_pools" : [

{ "start" : "10.0.0.1", "end" : "10.0.0.8" }

,

{ "end" : "10.0.0.10" }

],
"host_routes" : [ ],
"enable_dhcp" : false,
"tenant_id" : "2cd9944ab92a4840a59407a8db7f3934",
"ipv6_address_mode" : null,
"ipv6_ra_mode" : null
} ]
}



 Comments   
Comment by Flavio Fernandes [ 03/Nov/14 ]

[11:31:17] <flaviof> regXboi: ping
[11:31:40] <regXboi> flaviof: pong
[11:31:47] <flaviof> regXboi: hello. I'm looking at NEUTRON-9
[11:32:08] regXboi reads
[11:32:09] <flaviof> regXboi: is seems to me it should belong to the controller project. Agree?
[11:32:42] <regXboi> yes - controller/other
[11:32:53] <flaviof> regXboi: ok. I will re-assign it.
[11:32:59] <flaviof> regXboi: thanks!
[11:33:03] <regXboi> welcome

Comment by Cédric Ollivier [ 07/Jan/15 ]

Confirmed after testing a working controller (+ovsdb modules) distribution as proposed by the OVSDB project (commit 61fb503206ba29f436ca457bc3bb62efac2c7f7c) .

Comment by Ryan Moats [ 17/Feb/15 ]

Moving from current project to neutron

Comment by Ryan Moats [ 20/Feb/15 ]

Submitted patch https://git.opendaylight.org/gerrit/#/c/15561/

Generated at Wed Feb 07 20:25:18 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.