← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1933517] Re: [RFE][OVN] Create an intermediate OVS bridge between VM and intergration bridge to improve the live-migration process

 

Reviewed:  https://review.opendev.org/c/openstack/os-vif/+/798055
Committed: https://opendev.org/openstack/os-vif/commit/b837c1a74f37191692a820711e431a75516a4abf
Submitter: "Zuul (22348)"
Branch:    master

commit b837c1a74f37191692a820711e431a75516a4abf
Author: Sean Mooney <work@xxxxxxxxxxxxxxx>
Date:   Fri Jun 25 07:50:26 2021 +0000

    add configurable per port bridges
    
    This patch add a new configuration option to use
    per port bridge when hybrid_plug is false.
    This can be used with OVN to reduce packet loss
    during a live migration.
    
    OVN can only install openflow rules when a port both has
    external_ids set and an ofport-id assigned.
    Since the ofport-id is only assigned when a netdev matching
    the port name exists connected to the dataplane, OVN cannot
    install the flows until libvirt create the tap on the destination
    host during a live migration.
    
    On loaded systems this can result in multiple seconds of packet loss.
    To address this we introduce per port bridges which are connencted
    to the integration brige by a patch port pair. Since the patch port
    will exist on the dataplane during pre live migration OVN can install
    the flows on the integration bridge before we begin the migration reducing
    or avoiding packet loss.
    
    Change-Id: I0d55ccbef5b585330b5512e67e442b80304a2e73
    Depends-On: https://review.opendev.org/c/openstack/nova/+/797428
    Closes-Bug: #1933517


** Changed in: os-vif
       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/1933517

Title:
  [RFE][OVN] Create an intermediate OVS bridge between VM and
  intergration bridge to improve the live-migration process

Status in neutron:
  Triaged
Status in os-vif:
  Fix Released

Bug description:
  When live migrating network sensitive VMs, the communication is
  broken.

  This is similar to [1] but in OVN the vif-plugged events are directly
  controller by the Neutron server, not by the OVS/DHCP agents.

  The problem lies in when the destination chassis creates the needed OF
  rules for the destination VM port. Same as in OVS, the VM port is
  created when the instance is unpaused. At this moment the VM continues
  sending packets through the interface but OVN didn't finish the
  configuration.

  Related BZs:
  - OSP16.1: https://bugzilla.redhat.com/show_bug.cgi?id=1903653
  - OSP16.1: https://bugzilla.redhat.com/show_bug.cgi?id=1872937
  - OSP16.1: https://bugzilla.redhat.com/show_bug.cgi?id=1966512

  [1]https://bugs.launchpad.net/neutron/+bug/1901707

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



References