Resource cache should be delete after port remove from br-int

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

Bug Description

Ports are removed from the br-int, but the ovs-agent resource_cache still have them. If during this removal period, the port attributes changed/updated. Even worse if the update event is not received by the agent, as well as the port plug to the br-int again. The ovs-agent will use the obsolete resource informaction of the port. Something may not be processed well then.

Tags: ovs
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/936235

Changed in neutron:
status: New → In Progress
LIU Yulong (dragon889)
Changed in neutron:
importance: Undecided → Medium
assignee: nobody → LIU Yulong (dragon889)
tags: added: ovs
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/936235
Committed: https://opendev.org/openstack/neutron/commit/6f06d8fa6684b6cbd41502163acaffc17f98cc8c
Submitter: "Zuul (22348)"
Branch: master

commit 6f06d8fa6684b6cbd41502163acaffc17f98cc8c
Author: LIU Yulong <email address hidden>
Date: Tue Nov 26 17:37:56 2024 +0800

    Remove port resource change after unplug

    Ports are removed (unplug) from the br-int, but
    the ovs-agent resource_cache still have them.
    If during this removal period, the port attributes
    changed/updated. Even worse if the update events
    were not received by the agent, as well as the
    port plug to the br-int again. The ovs-agent will
    use the obsolete resource informaction of the port.
    Something may not be processed well then.

    So, resource cache should be delete after port removed
    from br-int. This patch addresses this issue.

    Closes-Bug: #2089661

    Change-Id: Ia628ee196382b0672ce3424d7cb86f29a15a6d4d

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

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/941616

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.