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.
Reviewed: https:/ /review. opencontrail. org/8578 github. org/Juniper/ contrail- controller/ commit/ 1b45ceb29352fdc cb459c6ea712020 7709d3726f
Committed: http://
Submitter: Zuul
Branch: master
commit 1b45ceb29352fdc cb459c6ea712020 7709d3726f
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 4558334a24495b1 f23ab9c3961
Closes-Bug: 1433477
Change-Id: I236d0615bb4b14