← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1697410] [NEW] Add router interface checking for duplicated subnets should ingore external network

 

Public bug reported:

When adding router interface by subnet, it will check the router
attached port, this will cause add router interface failed in some
situation.

=======================Steps to reproduce=======================
$ neutron net-create test
$ neutron subnet-create test 192.168.138.0/24 --name test-subnet
$ neutron router-create test-router

# In this step, ext-net has cidr 192.168.128.0/20
$ neutron router-gateway-set test-router ext-net

$ neutron router-interface-add test-router test-subnet
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Bad router request: Cidr 192.168.138.0/24 of subnet 72a72809-371b-47e1-a70f-15fb9a342760 overlaps with cidr 192.168.128.0/20 of subnet ec039c18-2eba-47c6-b219-fdc76a0caf66.
Neutron server returns request_ids: ['req-8b9b3d8f-44c9-437c-9b2b-98d1761d4b1c']

** Affects: neutron
     Importance: Undecided
     Assignee: Dongcan Ye (hellochosen)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Dongcan Ye (hellochosen)

** Summary changed:

- Add router interface for duplicated subnets should not check external network
+ Add router interface checking for duplicated subnets should ingore external network

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

Title:
  Add router interface checking for duplicated subnets should ingore
  external network

Status in neutron:
  New

Bug description:
  When adding router interface by subnet, it will check the router
  attached port, this will cause add router interface failed in some
  situation.

  =======================Steps to reproduce=======================
  $ neutron net-create test
  $ neutron subnet-create test 192.168.138.0/24 --name test-subnet
  $ neutron router-create test-router

  # In this step, ext-net has cidr 192.168.128.0/20
  $ neutron router-gateway-set test-router ext-net

  $ neutron router-interface-add test-router test-subnet
  neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
  Bad router request: Cidr 192.168.138.0/24 of subnet 72a72809-371b-47e1-a70f-15fb9a342760 overlaps with cidr 192.168.128.0/20 of subnet ec039c18-2eba-47c6-b219-fdc76a0caf66.
  Neutron server returns request_ids: ['req-8b9b3d8f-44c9-437c-9b2b-98d1761d4b1c']

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


Follow ups