← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1793094] [NEW] Router: add port doesn't take IP from allocation pool

 

Public bug reported:

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.3-0ubuntu1~cloud0

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1793094

Title:
  Router: add port doesn't take IP from allocation pool

Status in neutron:
  New

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.3-0ubuntu1~cloud0

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1793094/+subscriptions


Follow ups