Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VMI was not removed and it held on VRF.
Problem: Sequence of events goes like this: - Delete is issued on VMI. This reset configurer in VMI and mark it for deletion. However because of some reference entry is still present. - Add is issued. As entry is present in DB this will convert to change operation. On seeing a change delete flag is cleared but VMI does not get its configurer back. Agent just resyncs the entry. - Delete is issued again. Since configurer was not set resync for entry is not called to flush off VMI parameters, hence VRF reference is held. Results in Vrf Delete timeout. Solution: Resync will always be done for non deleted entry. In above case on add, delete flags has been reset and entry is no more in deleted state. So whenever resync is done, set the configurer. Also OnDelete calls resync to flush VMI parameters. Reset of configurer should be done after resync call is done in OnDelete. Change-Id: I431cc3dcf264a23a0e2e1491c23ee2f8a257aba4 Closes-bug: #1550459
- Loading branch information
1 parent
3410fd9
commit 5781392
Showing
2 changed files
with
62 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters