← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1799140] Re: [l3][port_forwarding] subnet can not remove from router if have port_forwarding

 

Reviewed:  https://review.openstack.org/613554
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=f5d3a4159bcd526384ab2063ad9082f1a0d291b1
Submitter: Zuul
Branch:    master

commit f5d3a4159bcd526384ab2063ad9082f1a0d291b1
Author: lizheng <lizheng_1@xxxxxxxxxxxxxxx>
Date:   Tue Oct 2 14:10:52 2018 +0800

    Verify port_forwarding subnet and IP address both
    
    Free subnet can not remove from router if other router's
    subnets have port_forwarding. This patch fixed it by
    checking the router interface subnet and IP address.
    
    Co-Authored-By: LIU Yulong <i@xxxxxxxxxxxx>
    Closes-Bug: #1799140
    Change-Id: Idace35126bb00139fa1f9f48be3aa3aab265b9d8


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  [l3][port_forwarding] subnet can not remove from router if have
  port_forwarding

Status in neutron:
  Fix Released

Bug description:
  ENV: devstack master

  step to reproduce:
  1. create router
  2. add router public gateway
  3. add router interface to subnet1, subnet2, subnet3
  4. create a vm to subnet1
  5. create floating IP with port forwarding to the vm port from subnet1

  Then, you will not be able to remove router interface from subnet2 and subnet3.
  Neutron server will raise some netaddr related error.

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


References