-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 net.bridge setting for Flannel on CentOS 7 #8381
Conversation
Hi @bittopaz. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
I guess this is still relevant, but hope there is someone else could help to verify this change. |
Thanks so much for this @bittopaz . I speculate this is actually related to the problems we're seeing generally with flannel / calico on rhel (see #8614 , flannel-io/flannel#1282 and https://groups.google.com/forum/#!msg/kubernetes-sig-network/JxkTLd4M8WM/EW8O1E0PAgAJ ). I'm trying to get flannel tests going on "every distro" here kubernetes/test-infra#17300 Then I'm hoping that shows that centos 7 is not working, and then we can merge this (and probably also broaden it to rhel7). |
/remove-lifecycle stale |
Got the grid test in (thanks @rifelpet and @hakman for lgtms), but I used an ami id for centos7 where I should have used the name. kubernetes/test-infra#17308 should hopefully get centos7 running the tests (and failing). rhel7 is failing the tests also in a reassuring fashion, so I hope:
🤞 |
The test grid is indeed now showing errors that look to be networking related: https://testgrid.k8s.io/sig-cluster-lifecycle-kops#kops-grid-aws-flannel-centos7 /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bittopaz, justinsb The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Please refer to flannel-io/flannel#902 for details.
TL;DR
Running Flannel with iptables mode on CentOS 7 needs to have
sysctl
setting as below:I have tested this change, and it did solve my problem.