Comment 6 for bug 1425458

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/8578
Committed: http://github.org/Juniper/contrail-controller/commit/1b45ceb29352fdccb459c6ea7120207709d3726f
Submitter: Zuul
Branch: master

commit 1b45ceb29352fdccb459c6ea7120207709d3726f
Author: Prabhjot Singh Sethi <email address hidden>
Date: Tue Mar 24 16:11:05 2015 +0530

Fix for VRF delete Timeout crash

Issue:
------
Unicast Mac Local Entry used to refer logical switch to
fetch VRF/VN info for route add to oper, so while Addition
it ended up holding reference to Deleted Logical Switch
waiting for it to be resolved, since Logical Switch goes
to DEL_REF_PENDING, it fails to force clean the dependent
Unicast Mac Local Entries due to cyclic dependency,
resulting in dead lock and eventually VRF delete timeout
crash

Fix:
----
Remove Logical Switch dependency from Unicast Mac Local
Entry, to break cyclic dependency
Changes to peer to take VRF and VxLAN id to ensure
KSYNC maps to correct view of vxlan id and vrf for route
add, so that the corresponding route deletes can be
triggered accordingly.

Closes-Bug: 1425458
Closes-Bug: 1433477
Change-Id: I236d0615bb4b144558334a24495b1f23ab9c3961