← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1843870] Re: ovsdb monitor ignores modified ports

 

Reviewed:  https://review.opendev.org/681984
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=451c21571f40ca83eb3189e5c924b03c0561f853
Submitter: Zuul
Branch:    master

commit 451c21571f40ca83eb3189e5c924b03c0561f853
Author: Lucian Petrut <lpetrut@xxxxxxxxxxxxxxxxxxxxxx>
Date:   Thu Sep 12 17:34:04 2019 +0300

    ovsdb monitor: handle modified ports
    
    This patch ensures that the ovsdb monitor propagates the events
    received for modified ports.
    
    We'll use a new list for the modified ports, which the neutron ovs
    agent can handle.
    
    In particular, this will cover the situation in which the ofport
    changes. When using recent OVS Windows versions, VM ofports change
    to -1 (invalid) when the VMs are shut down, receiving a valid
    ofport when the VMs are powered back on (different than the initial
    one). With this patch applied, "modify" events will be propagated
    to the ovs agent, which will then update the OpenFlow rules.
    The old rules are cleaned up by "update_stale_ofport_rules"
    once the invalid ofport is detected.
    
    Closes-Bug: #1843870
    Co-authored-by: Alin Serdean <aserdean@xxxxxxxxxxxxxxxxxxxxxx>
    
    Change-Id: I0c3a570cbb3fbb03b4224744b32e034e9e255f8e


** 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/1843870

Title:
  ovsdb monitor ignores modified ports

Status in neutron:
  Fix Released

Bug description:
  The ovsdb monitor used by Neutron ignores modified ports. For this
  reason, some port changes will not be handled.

  One particular case comes from ofport changes. On Windows, depending
  on the OVS version, the ofport can change after VM reboots. The
  neutron ovs agent will have to update the flows in this situation,
  which it does, but only when "minimize_polling" is disabled.

  The neutron ovsdb monitor should propagate the events received for
  modified ports. Those can either be part of the "added" device list or
  have a separate one for modified ports.

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


References