← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1532695] Re: Created subnets on ONE network that duplicated CIDR in case of neutron server active-active

 

** This bug is no longer a duplicate of bug 1271171
   Neutron allows overlapping IPs in the same tenant

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

Title:
  Created subnets on ONE network that duplicated CIDR  in case of
  neutron server active-active

Status in neutron:
  New

Bug description:
  I had three controllers.  I found a bug. I can create subnets on one
  network that duplicated CIDR range AT SAME TIMING

  How to reproduce:

  Topology : http://codepad.org/ff0debPB

  Step 1: Create a network
  $ neutron net-create test-net

  Step 2: Create multiple subnets that duplicated CIDR scope
  Please running commands AT SAME TIMMING
   - On controller1:
  $ neutron subnet-create --name test-subnet1 test-net 192.168.100.0/24
   - On controller2:
  $ neutron subnet-create --name test-subnet2 test-net 192.168.100.0/24

  After check subnet-list:

  Running command: $ neutron subnet-list
  This is the result: http://codepad.org/3hyHy8Lk

  After check database:
  This is the result: http://codepad.org/WJVJYLDn

  I think. In originally, one command on controller will be fail and we
  catch a message as following: "Invalid input for operation: Requested
  subnet with cidr: 192.168.0.0/16 for network: 39cc0850-1eeb-4c85-bcdc-
  338a3f1461aa overlaps with another subnet.". But currently, two
  commands are success

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


References