Skip to content
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

Network policy fails when completed pods and running pods have the same IP #6507

Closed
jsalatiel opened this issue Jul 5, 2024 · 0 comments · Fixed by #6508
Closed

Network policy fails when completed pods and running pods have the same IP #6507

jsalatiel opened this issue Jul 5, 2024 · 0 comments · Fixed by #6508
Assignees
Labels
area/network-policy Issues or PRs related to network policies. kind/bug Categorizes issue or PR as related to a bug. reported-by/end-user Issues reported by end users.

Comments

@jsalatiel
Copy link

Describe the bug

When I have a running pod recycling an IP from a previous completed POD, several times the network policy matches the completed pod , but not the running pod. That leads to communication failure.

To Reproduce
When a cronjob pod completed and another pod created later recycles the IP

Expected
Network policy should work just fine.

Actual behavior
Inconsistent behaviour

Versions:

  • Antrea version (Docker image tag): antrea-ubuntu:v1.7.0

slack thread

@jsalatiel jsalatiel added the kind/bug Categorizes issue or PR as related to a bug. label Jul 5, 2024
@tnqn tnqn added this to the Antrea v2.1 release milestone Jul 5, 2024
@tnqn tnqn added the area/network-policy Issues or PRs related to network policies. label Jul 5, 2024
@tnqn tnqn self-assigned this Jul 5, 2024
@tnqn tnqn added the reported-by/end-user Issues reported by end users. label Jul 5, 2024
@tnqn tnqn closed this as completed in #6508 Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/network-policy Issues or PRs related to network policies. kind/bug Categorizes issue or PR as related to a bug. reported-by/end-user Issues reported by end users.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants