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

Update Flannel manifests, install script and version (0.12) + fix tests scripts #5937

Merged
merged 2 commits into from
Apr 15, 2020

Conversation

floryut
Copy link
Member

@floryut floryut commented Apr 10, 2020

What type of PR is this?
/kind failing-test

What this PR does / why we need it:

Which issue(s) this PR fixes:
None

Special notes for your reviewer:
None

Does this PR introduce a user-facing change?:

NONE

@k8s-ci-robot k8s-ci-robot added the kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. label Apr 10, 2020
@k8s-ci-robot
Copy link
Contributor

Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA.

It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please sign in with your organization's credentials at https://identity.linuxfoundation.org/projects/cncf to be authorized.
  • If you have done the above and are still having issues with the CLA being reported as unsigned, please log a ticket with the Linux Foundation Helpdesk: https://support.linuxfoundation.org/
  • Should you encounter any issues with the Linux Foundation Helpdesk, send a message to the backup e-mail support address at: [email protected]

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. I understand the commands that are listed here.

@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 10, 2020
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Apr 10, 2020
@floryut floryut changed the title Test flannel 1.17 [WIP] Test flannel 1.17 Apr 10, 2020
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 10, 2020
@LuckySB
Copy link
Contributor

LuckySB commented Apr 10, 2020

@floryut we need rewrite code of install flannel
#5598 (comment)

flannel now not sold with flannel-cni container, so cni plugins binary should copy as in cillium tasks

@floryut
Copy link
Member Author

floryut commented Apr 11, 2020

@floryut we need rewrite code of install flannel
#5598 (comment)

flannel now not sold with flannel-cni container, so cni plugins binary should copy as in cillium tasks

Oh crap, thanks man, will take a look anyhow it's a big wip pr, will try some things with this test

@Miouge1
Copy link
Contributor

Miouge1 commented Apr 11, 2020

Found the following GitHub issues about Flannel on k8s v1.17 with DNS problems:
flannel-io/flannel#1243 and kubernetes/kubernetes#87852

@Miouge1
Copy link
Contributor

Miouge1 commented Apr 11, 2020

If there is a known problem with Flannel on v1.17, then we could make a note of it in Kubespray v2.13 release note and backport any fix that comes upstream?

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 11, 2020
@floryut floryut force-pushed the flannel_1.17 branch 6 times, most recently from 20c5a11 to 754a55e Compare April 11, 2020 20:54
@LuckySB
Copy link
Contributor

LuckySB commented Apr 11, 2020

kubernetes/kubernetes#90084

I tried different versions of flannel
and I think that the problem is in the kube-proxy and it has been around for a very long time

@floryut
Copy link
Member Author

floryut commented Apr 12, 2020

Here what I've done so far

  • Update flannel version to 0.12.0
  • Update manifests from their repo (lots of changes)
  • Added cni binaries to ansible role (you were right at least loopback was missing)
  • Put a hack to add the route in the networking test

With that the flannel test works (test green), where do you want to go from there @Miouge1 @LuckySB ?

@floryut floryut force-pushed the flannel_1.17 branch 3 times, most recently from ba0b71f to 26bc7e6 Compare April 12, 2020 11:34
@floryut floryut changed the title [WIP] Update Flannel manifests, install script and version (0.12) + fix tests scripts Update Flannel manifests, install script and version (0.12) + fix tests scripts Apr 14, 2020
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 14, 2020
@floryut floryut requested a review from Miouge1 April 14, 2020 13:27
Copy link
Contributor

@Miouge1 Miouge1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's go ahead with this

Great work @floryut !

/lgtm
/approve

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: floryut, Miouge1

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 14, 2020
@Miouge1
Copy link
Contributor

Miouge1 commented Apr 14, 2020

/ok-to-test

@k8s-ci-robot k8s-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Apr 14, 2020
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 14, 2020
@LuckySB
Copy link
Contributor

LuckySB commented Apr 14, 2020

/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 14, 2020
@floryut
Copy link
Member Author

floryut commented Apr 14, 2020

/lgtm

Thanks, forgot the {% if apparmor_enabled %} check so had to repush

@LuckySB
Copy link
Contributor

LuckySB commented Apr 14, 2020

/lgtm cancel

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

LuckySB commented Apr 14, 2020

/lgtm

Thanks, forgot the {% if apparmor_enabled %} check so had to repush

wait to repush

@Miouge1
Copy link
Contributor

Miouge1 commented Apr 15, 2020

The apparmor condition has been added so let's roll

/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 15, 2020
@k8s-ci-robot k8s-ci-robot merged commit 58f4850 into kubernetes-sigs:master Apr 15, 2020
spec:
priorityClassName: system-node-critical
serviceAccountName: flannel
nodeSelector:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realize I'm late to the party (this was already merged), but the nodeselector is needed for those who might be running windows nodes in their clusters.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hum wasn't sure that latest k8s version and flannel weren't compatible with windows.
But if you're sure let's add it back then :)

LuckySB pushed a commit to southbridgeio/kubespray that referenced this pull request Apr 18, 2020
…ts scripts (kubernetes-sigs#5937)

* Add CI_TEST_VARS to tests

* Update flannel to 0.12.0 (with new manifests) and disable tx/rx
offloading in networking test
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. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. 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/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants