Comment 12 for bug 1850557

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

Reviewed: https://review.opendev.org/697021
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ef689b284c079fba497723fb779603aa99d8afff
Submitter: Zuul
Branch: stable/queens

commit ef689b284c079fba497723fb779603aa99d8afff
Author: Slawek Kaplonski <email address hidden>
Date: Wed Nov 27 10:44:19 2019 +0100

    [OVS FW] Clean port rules if port not found in ovsdb

    During e.g. migration or shelve of VM it may happend that
    port update event will be send to the ovs agent and in the almost
    the same time, port will be removed from br-int.
    In such case during update_port_filter method openvswitch firewall
    driver will not find port in br-int, and it will do nothing with it.
    That will lead to leftover rules for this port in br-int.

    So this patch adds calling remove_port_filter() method if port was
    not found in br-int. Just to be sure that there is no any leftovers
    from the port in br-int anymore.

    Conflicts:
        neutron/agent/linux/openvswitch_firewall/firewall.py

    Change-Id: I06036ce5fe15d91aa440dc340a70dd27ae078c53
    Closes-Bug: #1850557
    (cherry picked from commit b01e0c2aa98866df9c25e20a66c02fccccdc7885)