You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 20, 2024. It is now read-only.
@@ -370,6 +371,49 @@ UDP connection from 10.32.0.7:56648 to 10.32.0.11:80 blocked by Weave NPC.
370
371
- Weave Net can be run on minikube v0.28 or later with the default CNI config shipped with minikube
371
372
being disabled. See [#3124](https://github.com/weaveworks/weave/issues/3124#issuecomment-397820940)
372
373
for more details.
374
+
- Weave Net has a problem with containerd versions 1.6.0 through 1.6.4. See [Troubleshooting FailedCreatePodSandBox errors](#failedcreatepodsandbox) below.
If your Kubernetes cluster uses the `containerd` runtime (versions 1.6.0 through 1.6.4), Weave Net will not be able to allocate IP addresses to pods. Your pods, except the ones that use HostNetworking, will be stuck at `ContainerCreating` status.
379
+
380
+
You can examine any pod so affected by running `kubectl describe`, for example:
381
+
382
+
```
383
+
$ kubectl describe pod -n kube-system coredns-78fcd69978-dbxs9
384
+
```
385
+
386
+
The events section will show repeated errors like the following:
387
+
388
+
```
389
+
Warning FailedCreatePodSandBox 3m6s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "09a23f79c96333b9f54e12df54e817837c8021cbaa32bdfeefbe2a1fb215d9ef": plugin type="weave-net" name="weave" failed (add): unable to allocate IP address: Post "http://127.0.0.1:6784/ip/09a23f79c96333b9f54e12df54e817837c8021cbaa32bdfeefbe2a1fb215d9ef": dial tcp 127.0.0.1:6784: connect: connection refused
390
+
```
391
+
392
+
You can verify that you are running an affected version of containerd by using the following:
393
+
394
+
```
395
+
$ kubectl get nodes -o wide
396
+
397
+
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
The problem can be solved by upgrading containerd to v1.6.5 or above. For example, on Debian Linux, using the docker official repositories, you can use:
411
+
412
+
```
413
+
sudo apt install containerd.io=1.6.6-1
414
+
```
415
+
416
+
The problem occurs because of a behaviour change in cni v1.1.0, which caused a regression issue in Weave. It was corrected in cni v1.1.1. Containerd 1.6.5 onwards uses cni 1.1.1 and above.
0 commit comments