-
Notifications
You must be signed in to change notification settings - Fork 369
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 IP not released after restarting antrea-agent #828
Conversation
Thanks for your PR. The following commands are available:
These commands can only be run by members of the vmware-tanzu organization. |
/test-all |
There was no sync-up between the IPAM cache of antrea-agent and the IPAM plugin, the IPAM DEL could be skipped incorrectly when deleting a Pod created before antrea-agent was restarted, leading to IP address leak. The handling of multiple CNI DELs is idempotent. There is no need to check in-memory cache before calling IPAM DEL. This patches fixes the issue by removing the cache check and adds a verification in e2e test.
/test-all |
/test-e2e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I think this is already part of #827 ?
wanted to track issues and fixes separately, will rebase #827 on this after merging it. |
There was no sync-up between the IPAM cache of antrea-agent and the IPAM plugin, the IPAM DEL could be skipped incorrectly when deleting a Pod created before antrea-agent was restarted, leading to IP address leak. The handling of multiple CNI DELs is idempotent. There is no need to check in-memory cache before calling IPAM DEL. This patches fixes the issue by removing the cache check and adds a verification in e2e test.
There was no sync-up between the IPAM cache of antrea-agent and the IPAM plugin, the IPAM DEL could be skipped incorrectly when deleting a Pod created before antrea-agent was restarted, leading to IP address leak. The handling of multiple CNI DELs is idempotent. There is no need to check in-memory cache before calling IPAM DEL. This patches fixes the issue by removing the cache check and adds a verification in e2e test.
There was no sync-up between the IPAM cache of antrea-agent and the IPAM plugin, the IPAM DEL could be skipped incorrectly when deleting a Pod created before antrea-agent was restarted, leading to IP address leak. The handling of multiple CNI DELs is idempotent. There is no need to check in-memory cache before calling IPAM DEL. This patches fixes the issue by removing the cache check and adds a verification in e2e test.
There was no sync-up between the IPAM cache of antrea-agent and the IPAM plugin, the IPAM DEL could be skipped incorrectly when deleting a Pod created before antrea-agent was restarted, leading to IP address leak. The handling of multiple CNI DELs is idempotent. There is no need to check in-memory cache before calling IPAM DEL. This patches fixes the issue by removing the cache check and adds a verification in e2e test.
There was no sync-up between the IPAM cache of antrea-agent and the IPAM
plugin, the IPAM DEL could be skipped incorrectly when deleting a Pod
created before antrea-agent was restarted, leading to IP address leak.
The handling of multiple CNI DELs is idempotent. There is no need to
check in-memory cache before calling IPAM DEL.
This patches fixes the issue by removing the cache check and adds a
verification in e2e test.
Fixes #829