-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Flannel CNI fails if ipv6 is disable in kernel #936
Comments
+1 |
how to resolve this problem? |
@Wujiandong @wangyaliyali I put in an issue into CNI ( containernetworking/cni#532 ) This is fixed in master, however we are just waiting for a release. see: |
it is a kernel problem, reference https://bugzilla.redhat.com/show_bug.cgi?id=1445054, and some comment say
|
@qrpike This fix was merged in containernetworking/plugins#62 @KevinTHU That looks like a different bug than the CNI errors shown above |
Flannel does seem to work in the VM because of flannel-io/flannel#936. Interestingly even after sysctl enabling IPv6 it doesn't work.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I disable ipv6 as one of the boot options for the kernel. I have been using flannel for a while now, and it's been working fine. However when I upgrade from 1.8.x to kubernetes 1.9.x it starts failing due to ipv6 sysctl directories not existing.
I'm not sure if this is a flannel or CNI problem, since I'm in the coreos ecosystem I figured I would ask here first.
Expected Behavior
CNI should create the interface in flannel when creating a new pod.
Current Behavior
I have flannel setup with VXLAN with directrouting enabled. When I start the coreos kubelet 1.9.x I get the following:
Possible Solution
Check if the ipv6 directory exists before trying to write to it
Steps to Reproduce (for bugs)
Disable ipv6 as a boot option, try running kubernetes 1.9.x
Context
Your Environment
VXLAN with directrouting=true
3.2.9
1.9.X ( Tried with 1.9.0, 1.9.1, and 1.9.2 coreos images, eg:
v1.9.2_coreos.0
)Container Linux by CoreOS stable (1576.5.0)
The text was updated successfully, but these errors were encountered: