← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1271171] [NEW] Neutron allows overlapping IPs in the same tenant

 

Public bug reported:

Neutron allows creation of multiple network with the same CIDR in the
same tenant

How to reproduce:
1. create 2 networks in the same tenant
2. for each create a subnet with cidr 10.0.0.0/24

Expected Result:
second subnet should raise an error

Actual Result:
subnet is created with the same cidr

ubuntu@yfried-devstack:~/devstack$ neutron subnet-list -c tenant_id -c cidr -c name --network
+----------------------------------+-------------+----------------+
| tenant_id                        | cidr        | name           |
+----------------------------------+-------------+----------------+
| 66293febf7164c849b694a8d3f14cc1a | 10.0.0.0/24 | private-subnet |
| 66293febf7164c849b694a8d3f14cc1a | 10.0.0.0/24 | subnet1        |
| 66293febf7164c849b694a8d3f14cc1a | 10.0.0.0/24 | subnet2        |
+----------------------------------+-------------+----------------+

** 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/1271171

Title:
  Neutron allows overlapping IPs in the same tenant

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Neutron allows creation of multiple network with the same CIDR in the
  same tenant

  How to reproduce:
  1. create 2 networks in the same tenant
  2. for each create a subnet with cidr 10.0.0.0/24

  Expected Result:
  second subnet should raise an error

  Actual Result:
  subnet is created with the same cidr

  ubuntu@yfried-devstack:~/devstack$ neutron subnet-list -c tenant_id -c cidr -c name --network
  +----------------------------------+-------------+----------------+
  | tenant_id                        | cidr        | name           |
  +----------------------------------+-------------+----------------+
  | 66293febf7164c849b694a8d3f14cc1a | 10.0.0.0/24 | private-subnet |
  | 66293febf7164c849b694a8d3f14cc1a | 10.0.0.0/24 | subnet1        |
  | 66293febf7164c849b694a8d3f14cc1a | 10.0.0.0/24 | subnet2        |
  +----------------------------------+-------------+----------------+

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


Follow ups

References