-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When the neutron router is added and deleted continuously in a loop, the service instance object in Agent is not properly handled. When service instance is delete marked and re-add appears again, DB table invokes OnChange on the DBEntry rather Add. Service instance code is not handling this case and IFMapNode is set in DBEntry only as part of ADD. This is leading to stale IFMapNode entry in DBEntry and leading to crash when IFMap node graph is invoked as part of OnChange. As a fix, even in OnChange, IFMapNode is set in DBEntry. As service_instance is taking a intrusive pointer to IFMapNode, redundatnt node_ member is removed from the object. Also service_instance_test has been moved out of falky test. closes-bug: #1473597 closes-bug: #1474273 partial-bug: #1465413 Conflicts: src/vnsw/agent/oper/service_instance.h Change-Id: I56880a0d2b82f310c351ba292b7a54098b6ea880
- Loading branch information
1 parent
14b1ecc
commit 1ca68b2
Showing
4 changed files
with
372 additions
and
110 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
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
Oops, something went wrong.