← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1553968] Re: update subnet gateway cause wrong DHCP pool calculation

 

This works as intended. If you want to change the pool and clash with
the gateway IP, you must update the gateway IP first.

** Changed in: neutron
       Status: In Progress => Won't Fix

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

Title:
   update subnet gateway cause wrong DHCP pool calculation

Status in neutron:
  Won't Fix

Bug description:
  Description of problem:
  Later updated subnet gateway leads to IP address conflict with DHCP pool range.

  How reproducible:
  100%

  Steps to Reproduce:
  Log in as demo user.
  1. Project - Network - Networks - Create Network
  2. network "test_net", subnet "test_subnet", network address 10.0.0.0/24, IPv4, tick Disable Gateway, Create
  3. click to test_net row, click to Edit Subnet for test_subnet row
  4. untick Disable Gateway, gateway IP 10.0.0.1, Next, leave Allocation Pools unchanged, Save

  Actual results:
  Computed Allocation pools is "10.0.0.1,10.0.0.254", click to Save cause red alert:
  Error: Failed to update subnet "10.0.0.0/24": Gateway ip 10.0.0.1 conflicts with allocation pool 10.0.0.1-10.0.0.254

  Expected results:
  it should exclude the IP of gateway from the DHCP pool, so:
  10.0.0.2,10.0.0.254

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


References