[l3][port_forwarding] a port can have port_forwarding and then bind floating IP again

Bug #1799138 reported by LIU Yulong
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
LIU Yulong

Bug Description

ENV: devstack master

step to reproduce:
1. create one distributed router, and connected it to private subnet, and set public gateway.
2. create VM to the private subnet
3. create floating IP A with port forwarding to the VM port
4. binding floating IP B to VM port

Then floating IP A with port forwarding will not work. This should be restricted by neutron.
Something really similar to bug:
https://bugs.launchpad.net/neutron/+bug/1799137

LIU Yulong (dragon889)
summary: - [l3][port_forwarding] a port can have port_forwarding and then binding
+ [l3][port_forwarding] a port can have port_forwarding and then bind
floating IP again
Changed in neutron:
importance: Undecided → Medium
LIU Yulong (dragon889)
description: updated
LIU Yulong (dragon889)
Changed in neutron:
assignee: nobody → LIU Yulong (dragon889)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/614727

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit 433228dd78098ca84a13c75b9dc5ce40f43c7f9d
Author: LIU Yulong <email address hidden>
Date: Mon Oct 8 14:52:16 2018 +0800

    Prevent bind fip to port has port forwarding

    If one port has port forwarding and the port is under
    a dvr router, then binding floating IP to this port
    will not be allowed.

    Change-Id: Ia014e18264b43cf751a5bc0e82bc55d106582620
    Closes-Bug: #1799138

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 14.0.0.0b2

This issue was fixed in the openstack/neutron 14.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/651758

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/rocky)

Reviewed: https://review.openstack.org/651758
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=087e8f6beec45f8a2ee739a41f362b6618d148fb
Submitter: Zuul
Branch: stable/rocky

commit 087e8f6beec45f8a2ee739a41f362b6618d148fb
Author: LIU Yulong <email address hidden>
Date: Mon Oct 8 14:52:16 2018 +0800

    Prevent bind fip to port has port forwarding

    If one port has port forwarding and the port is under
    a dvr router, then binding floating IP to this port
    will not be allowed.

    Change-Id: Ia014e18264b43cf751a5bc0e82bc55d106582620
    Closes-Bug: #1799138
    (cherry picked from commit 433228dd78098ca84a13c75b9dc5ce40f43c7f9d)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 13.0.4

This issue was fixed in the openstack/neutron 13.0.4 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.