-
Notifications
You must be signed in to change notification settings - Fork 543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix key generation in removeDecapTunnel #2322
Fix key generation in removeDecapTunnel #2322
Conversation
Signed-off-by: Myron Sosyak <myronx.sosyak@intel.com>
@bingwang-ms Please review |
Please raise a PR for 202012. |
@prsunny For 202012 the issue was fixed in cherry-pick of original PR which caused this issue. Please look at https://github.com/Azure/sonic-swss/pull/2246/files#diff-2fefef221204491c672d7703f585e9c31751ec198a4c278cb601287936235788R780-R789 |
So if it was a cherry-pick, then how did it got missed in master? @bingwang-ms |
*After the latest changes in this PR #2190 an issue was introduced. When the tunnel was deleted the TunnelTermEntries were deleted from ASIC but not from the OA cache. Due to that then the same tunnel is created the TunnelTermEntries are not created as OA has it in local cache. Signed-off-by: Myron Sosyak <myronx.sosyak@intel.com>
I found the issue when doing the cherry-pick of PR #2190 to |
*After the latest changes in this PR sonic-net#2190 an issue was introduced. When the tunnel was deleted the TunnelTermEntries were deleted from ASIC but not from the OA cache. Due to that then the same tunnel is created the TunnelTermEntries are not created as OA has it in local cache. Signed-off-by: Myron Sosyak <myronx.sosyak@intel.com>
Signed-off-by: Myron Sosyak myronx.sosyak@intel.com
After the latest changes in this PR #2190 an issue was introduced. When the tunnel was deleted the TunnelTermEntries were deleted from ASIC but not from the OA cache. Due to that then the same tunnel is created the TunnelTermEntries are not created as OA has it in local cache.
What I did
Fix key generation in removeDecapTunnel
Why I did it
To fix the issue described above.
How I verified it
On SONiC testbed after deployment of t1/t0 topology
Check in logs that entries were removed and then created.
Details if related