Router: add port doesn't take IP from allocation pool
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Triaged
|
Undecided
|
Brian Haley |
Bug Description
I have:
- external network with /24 subnet with .1 as a gateway
- allocation pool in this subnet (from .100 to .200)
I, as a user:
- create router without binding to external network
- add port from external subnet
I got an addr .1 (my gateway) on my new port.
More:
When I create a new router and new port in the other project, without cleaning up, neutron also gives me .1, but now it fails with error:
`Error: Failed to add interface: IP address x.x.x.1 already allocated in subnet....`
When I create a router with binding to external network, I got IP from allocation pool (as expected).
Looks like there is an error in some checks when adding a new port.
env :
Ubuntu Xenial
OS Queens
neutron: 2:12.0.
tags: | added: l3-ipam-dhcp |
I've been trying to reproduce this with queens using the Horizon dashboard, but I haven't been able to. The Horizon dashboard doesn't seem to allow association of the unbound port to the router for the step of "add port from external subnet".
Is it possible for you to provide additional details.
For example:
- The detailed steps to repo. If using the CLI please include those commands.
- Any relevant log snippets.
Thanks