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 Linux slave interface detection #17189
Fix Linux slave interface detection #17189
Conversation
1c21415
to
fc7c39d
Compare
Using method Slave() exposed by the netlink package doesn't always work. In particular, it doesn't work on AKS, maybe because there's no master bond interface in that case. We should instead rely on the flags passed by Linux's netlink API. Fixes: 3e24551 ("routing: Fix incorrect interface selection for pod routes") Signed-off-by: Paul Chaignon <paul@cilium.io>
fc7c39d
to
07a443e
Compare
test-me-please Job 'Cilium-PR-K8s-GKE' failed and has not been observed before, so may be related to your PR: Click to show.Test Name
Failure Output
If it is a flake, comment Job 'Cilium-PR-K8s-1.16-net-next' hit: #17060 (85.54% similarity) Job 'Cilium-PR-K8s-GKE' failed and has not been observed before, so may be related to your PR: Click to show.Test Name
Failure Output
If it is a flake, comment Job 'Cilium-PR-K8s-GKE' failed and has not been observed before, so may be related to your PR: Click to show.Test Name
Failure Output
If it is a flake, comment |
Restarting to be sure: |
The same sort of issue happened two other times on GKE with different tests (cf. #17204 (comment)). On the timespan since I triggered the test the first time here, the GKE test suite was executed once on master. So it's possible the flake is in master but just didn't happen yet. We had a second look with Joe and can't see how this ENI/Azure PR could cause that flake on GKE. |
Using method
netlink.Slave()
doesn't always work. In particular, it doesn't work on AKS, maybe because there's no masterbond interface in that case. We should instead rely on the flags passed by Linux's netlink API.
Tested with a small reproduction commit on top of this pull request:
Fixes: #17169.