Comment 8 for bug 1550499

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

Reviewed: https://review.opencontrail.org/18733
Committed: http://github.org/Juniper/contrail-controller/commit/04faf02882dbe03ceaab50983cdbc5b77cde9f27
Submitter: Zuul
Branch: R3.0

commit 04faf02882dbe03ceaab50983cdbc5b77cde9f27
Author: Prabhjot Singh Sethi <email address hidden>
Date: Thu Mar 24 11:15:42 2016 +0530

Fix ToR-Agent crash for VxLan Acquire failure

Issue:
------
if VxLan Acquire for a renewed logical switch entry fails
while trying to delete and release previously allocated
VxLan ID it fails on checking for entry being active,
since this check is happening inline in Add/Change
processing where state of the entry was not yet updated
and results in assertion

Fix:
----
pass a vraiable indicating Add/Change in process to skipp
assertion check, which will otherwise will cause false
failure.

Closes-Bug: 1550499
Change-Id: Ief50ca8283c03507b81702218babd16dc8b9c4d6
(cherry picked from commit 894005d5523cc57ef69e8586bc96316757bb6c21)