-
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
Copy "portmap" to /opt/cni/bin for Weave #9286
Conversation
Hm. I thought the daemonset deployed this. Thanks for fixing. /lgtm |
Thanks @olemarkus. I checked the weave code and it's not the case. |
/assign @mikesplain |
e2e test failure is related to kubernetes/test-infra#17864 |
return nil | ||
} | ||
|
||
b.AddCNIBinAssets(c, []string{"portmap"}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It may be that you have to add "loopback" too. This one isn't used by the CNI, but used by kubernetes internally.
If that is the case you should see something like
Warning FailedCreatePodSandBox 7m24s (x4 over 7m27s) kubelet, ip-10-140-60-250.eu-central-1.compute.internal (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "8e7c8b6aaf6ac0c5a84b8326a724f69b6f21e9d1c5b055e42081b88d70816dd7" network for pod "kube-dns-autoscaler-7647db5967-lwdjw": networkPlugin cni failed to set up pod "kube-dns-autoscaler-7647db5967-lwdjw_kube-system" network: failed to find plugin "loopback" in path [/opt/cni/bin/]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't notice this while testing, so let's see how tests go in TestGrid.
Thanks guys :) |
/retest |
/retest |
3 similar comments
/retest |
/retest |
/retest |
@mikesplain I think somehow the bot did not see the approval. |
Ahh yeah, it removed it since the branch was pushed again. /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hakman, mikesplain 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 |
Weave requires
portmap
that seems to be missing at the moment:https://www.weave.works/docs/net/latest/kubernetes/kube-addon/#-installation
e2e tests are failing because of the missing portmap plugin:
https://testgrid.k8s.io/kops-network-plugins#kops-aws-cni-weave