← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1954771] Re: [OVN]MAC of lrp has not been updated in MAC_Binding when it re-associated

 

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

commit f2e8a619c5ce7a4b4713f40c6da68da1a3e4410c
Author: hailun.huang <ts_1749@xxxxxxx>
Date:   Mon Dec 20 17:47:26 2021 +0800

    Delete MAC binding for LRP when the port is deleted
    
    If router_A connect subnet by ip <x.x.x.x> and
    there are packets through it when always_learn_from_arp_request
    is set to False(patch[1]), the mac_binding table of ovn south
    db will learn mac address of <x.x.x.x>.
    If disconnect the subnet, the mac of <x.x.x.x> still
    exits in mac_binding table. When reconnecting subnet by
    the same ip as <x.x.x.x>, the mac_binding can not
    update the mac of <x.x.x.x> to the latest mac address.
    This will cause packets that need pass <x.x.x.x>
    can not normal arrival destination address.
    Fix it by clearing mac address of the <x.x.x.x> in
    mac_binding tables when disconnects the subnet.
    
    [1]https://review.opendev.org/c/openstack/neutron/+/814421
    
    Closes-Bug: #1954771
    Change-Id: I57d531eafb08dbebee7f1c4c98ba98ce7e4c4b4a


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

Title:
  [OVN]MAC of lrp has not been updated in MAC_Binding when it re-
  associated

Status in neutron:
  Fix Released

Bug description:
  With this patch[1], we avoid pre-populating flows for router to router
  communication.

  If we re-associated router interface with router, its mac has been
  changed in neutron db and fixed_ip not, but we found that mac of lrp
  has not been updated in MAC_Binding, vm also could not visit public
  network.

  [1]https://review.opendev.org/c/openstack/neutron/+/814421

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



References