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

Fix net.bridge setting for Flannel on CentOS 7 #8381

Merged
merged 1 commit into from
Apr 22, 2020
Merged

Fix net.bridge setting for Flannel on CentOS 7 #8381

merged 1 commit into from
Apr 22, 2020

Conversation

bittopaz
Copy link
Contributor

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:

net.bridge.bridge-nf-call-ip6tables=1
net.bridge.bridge-nf-call-iptables=1

I have tested this change, and it did solve my problem.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jan 20, 2020
@k8s-ci-robot
Copy link
Contributor

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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

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.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jan 20, 2020
@joshbranham
Copy link
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jan 20, 2020
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 19, 2020
@bittopaz
Copy link
Contributor Author

I guess this is still relevant, but hope there is someone else could help to verify this change.

@justinsb
Copy link
Member

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).

@justinsb justinsb self-assigned this Apr 20, 2020
@justinsb justinsb requested review from justinsb and removed request for robinpercy and joshbranham April 20, 2020 17:08
@justinsb
Copy link
Member

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 20, 2020
@justinsb
Copy link
Member

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:

🤞

@justinsb
Copy link
Member

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
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 22, 2020
@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 22, 2020
@k8s-ci-robot k8s-ci-robot merged commit 9621254 into kubernetes:master Apr 22, 2020
@k8s-ci-robot k8s-ci-robot added this to the v1.18 milestone Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants