Logs k8s_weave_weave-net-2s5xp_kube-system_716bab36-d565-47fc-b130-18a14c63eb7a_3
DEBU: 2020/12/04 13:49:31.914678 [kube-peers] Checking peer "XX:XX:XX:XX:XX:XX" against list &{[]}
Peer not in list; removing persisted data
INFO: 2020/12/04 13:49:32.028499 Command line options: map[conn-limit:200 datapath:datapath db-prefix:/weavedb/weave-net docker-api: expect-npc:true host-root:/host http-addr:127.0.0.1:6784 ipalloc-init:consensus=0 ipalloc-range:10.XXX.0.0/16 metrics-addr:0.0.0.0:6782 name:XX:XX:XX:XX:XX:XX nickname:XXX no-dns:true port:6783]
INFO: 2020/12/04 13:49:32.028582 weave 2.6.4
FATA: 2020/12/04 13:49:32.225441 creating bridged fastdp veth pair: setting accept_ra to 0: open /proc/sys/net/ipv6/conf/vethwe-bridge/ accept_ra: no such file or directory
How to reproduce it?
Disable IPv6 on Ubuntu 18.04:
sudo sed -i -e 's/GRUB_CMDLINE_LINUX_DEFAULT="maybe-ubiquity"/GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 maybe-ubiquity"/' /etc/default/grub
sudo sed -i -e 's/GRUB_CMDLINE_LINUX=""/GRUB_CMDLINE_LINUX="ipv6.disable=1"/' /etc/default/grub
sudo update-grub
Start build a custom cluster with Rancher.
Anything else we need to know?
Rancher - Kubernetes - weave
v2.4.11 - v1.18.12-rancher1-1 - weave 2.6.4 - same problem (tested)
v2.4.10 - v1.18.12-rancher1-1 - weave 2.6.4 - same problem
v2.4.9 - v1.18.12-rancher1-1 - weave 2.6.4 - same problem
v2.4.8 - v1.17.14-rancher1-1 - weave 2.6.4 - same problem
v2.4.7 - v1.17.14-rancher1-1 - weave 2.6.4 - same problem
v2.4.6 - v1.17.14-rancher1-1 - weave 2.6.4 - same problem
v2.4.5 - v1.17.14-rancher1-1 - weave 2.6.4 - same problem
v2.4.4 - v1.17.14-rancher1-1 - weave 2.6.4 - same problem (tested)
v2.4.3 - v1.17.5-rancher1-1 - weave 2.5.2 - works (using it for now)
v2.4.2 - v1.17.5-rancher1-1 - weave 2.5.2 - works (tested)
Versions:
$ weave version
# see above
$ docker version
Client: Docker Engine - Community
Version: 19.03.14
API version: 1.40
Go version: go1.13.15
Git commit: 5eb3275d40
Built: Tue Dec 1 19:20:26 2020
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.14
API version: 1.40 (minimum version 1.12)
Go version: go1.13.15
Git commit: 5eb3275d40
Built: Tue Dec 1 19:18:53 2020
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.3.9
GitCommit: ea765aba0d05254012b0b9e595e995c09186427f
runc:
Version: 1.0.0-rc10
GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version: 0.18.0
GitCommit: fec3683
$ uname -a
Linux XXX 5.4.0-56-generic #62-Ubuntu SMP Mon Nov 23 19:20:19 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.4", GitCommit:"d360454c9bcd1634cf4cc52d1867af5491dc9c5f", GitTreeState:"clean", BuildDate:"2020-11-16T17:18:52Z", GoVersion:"go1.15.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.5", GitCommit:"e0fccafd69541e3750d460ba0f9743b90336f24f", GitTreeState:"clean", BuildDate:"2020-04-16T11:35:47Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
What you expected to happen?
Weave shoud start.
What happened?
It crashes with (see last line):
How to reproduce it?
Disable IPv6 on Ubuntu 18.04:
Start build a custom cluster with Rancher.
Anything else we need to know?
Rancher - Kubernetes - weave v2.4.11 - v1.18.12-rancher1-1 - weave 2.6.4 - same problem (tested) v2.4.10 - v1.18.12-rancher1-1 - weave 2.6.4 - same problem v2.4.9 - v1.18.12-rancher1-1 - weave 2.6.4 - same problem v2.4.8 - v1.17.14-rancher1-1 - weave 2.6.4 - same problem v2.4.7 - v1.17.14-rancher1-1 - weave 2.6.4 - same problem v2.4.6 - v1.17.14-rancher1-1 - weave 2.6.4 - same problem v2.4.5 - v1.17.14-rancher1-1 - weave 2.6.4 - same problem v2.4.4 - v1.17.14-rancher1-1 - weave 2.6.4 - same problem (tested) v2.4.3 - v1.17.5-rancher1-1 - weave 2.5.2 - works (using it for now) v2.4.2 - v1.17.5-rancher1-1 - weave 2.5.2 - works (tested)
Versions: