Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

error during connection attempt: dial tcp :0->172.16.1.11:6783: connect: connection refused #3971

Open
ttsvetanov92 opened this issue Dec 16, 2022 · 0 comments

Comments

@ttsvetanov92
Copy link

ttsvetanov92 commented Dec 16, 2022

Hello! I am trying to implement CNI weave like that:
kubectl apply -f https://github.com/weaveworks/weave/releases/download/v2.8.1/weave-daemonset-k8s.yaml

My cluster:
Linux master 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 GNU/Linux
Operating System: Debian GNU/Linux 11 (bullseye)
Kernel: Linux 5.10.0-19-amd64
Architecture: x86-64

Master: 172.16.1.10
Worker1: 172.16.1.11
Worker2: 172.16.1.12

kubectl kubeadmin - version 1.26
containerd - version 1.6.12
weave version - version 2.8.1

After joining the worker nodes, i have errors in weave and proxy pods:

ttsvetanov@master:~$ kubectl get pods -n kube-system -o wide
NAME                             READY   STATUS             RESTARTS             AGE     IP            NODE      NOMINATED NODE   READINESS GATES
coredns-787d4945fb-qssvg         1/1     Running            1 (<invalid> ago)    3h32m   10.32.0.2     master    <none>           <none>
coredns-787d4945fb-wlqz9         1/1     Running            1 (<invalid> ago)    3h32m   10.32.0.3     master    <none>           <none>
etcd-master                      1/1     Running            38 (<invalid> ago)   3h32m   172.16.1.10   master    <none>           <none>
kube-apiserver-master            1/1     Running            41 (<invalid> ago)   3h32m   172.16.1.10   master    <none>           <none>
kube-controller-manager-master   1/1     Running            1 (<invalid> ago)    3h32m   172.16.1.10   master    <none>           <none>
kube-proxy-cbscd                 1/1     Running            1 (<invalid> ago)    3h32m   172.16.1.10   master    <none>           <none>
kube-proxy-qvlws                 0/1     CrashLoopBackOff   39 (3m2s ago)        3h22m   172.16.1.11   worker1   <none>           <none>
kube-proxy-z6hj2                 0/1     CrashLoopBackOff   39 (3m17s ago)       3h20m   172.16.1.12   worker2   <none>           <none>
kube-scheduler-master            1/1     Running            42 (<invalid> ago)   3h32m   172.16.1.10   master    <none>           <none>
weave-net-8smn6                  0/2     CrashLoopBackOff   82 (2m20s ago)       3h20m   172.16.1.12   worker2   <none>           <none>
weave-net-c4z8f                  0/2     CrashLoopBackOff   82 (64s ago)         3h22m   172.16.1.11   worker1   <none>           <none>
weave-net-tmcq5                  2/2     Running            2 (<invalid> ago)    3h25m   172.16.1.10   master    <none>           <none>
ttsvetanov@master:~$ kubectl logs -n kube-system weave-net-8smn6 weave
INFO: 2022/12/16 13:44:33.027336 ->[172.16.1.11:6783] error during connection attempt: dial tcp :0->172.16.1.11:6783: connect: connection refused
INFO: 2022/12/16 13:44:35.696277 Discovered remote MAC 8a:27:70:6d:9f:ea at 16:f1:0c:6b:36:a3(master)
INFO: 2022/12/16 13:44:37.754186 Discovered remote MAC 32:78:6b:6a:dc:41 at 16:f1:0c:6b:36:a3(master)
INFO: 2022/12/16 13:44:38.663770 ->[172.16.1.11:6783] attempting connection
INFO: 2022/12/16 13:44:38.665189 ->[172.16.1.11:6783] error during connection attempt: dial tcp :0->172.16.1.11:6783: connect: connection refused
ttsvetanov@master:~$ kubectl logs -n kube-system weave-net-tmcq5 weave
INFO: 2022/12/16 13:45:38.629375 ->[172.16.1.11:35005] connection accepted
INFO: 2022/12/16 13:45:38.651787 ->[172.16.1.11:35005|6e:2a:b5:8d:66:7a(worker1)]: connection ready; using protocol version 2
INFO: 2022/12/16 13:45:38.651940 overlay_switch ->[6e:2a:b5:8d:66:7a(worker1)] using fastdp
INFO: 2022/12/16 13:45:38.652258 ->[172.16.1.11:35005|6e:2a:b5:8d:66:7a(worker1)]: connection added (new peer)
INFO: 2022/12/16 13:45:38.753715 ->[172.16.1.11:35005|6e:2a:b5:8d:66:7a(worker1)]: connection fully established
INFO: 2022/12/16 13:45:38.760330 sleeve ->[172.16.1.11:6783|6e:2a:b5:8d:66:7a(worker1)]: Effective MTU verified at 1438
INFO: 2022/12/16 13:45:39.852774 Discovered remote MAC 6e:2a:b5:8d:66:7a at 6e:2a:b5:8d:66:7a(worker1)
INFO: 2022/12/16 13:45:40.081203 Discovered remote MAC 8e:30:11:8e:2b:cc at 6e:2a:b5:8d:66:7a(worker1)
INFO: 2022/12/16 13:45:40.941748 Discovered remote MAC ba:ea:41:2d:75:1c at 6e:2a:b5:8d:66:7a(worker1)
INFO: 2022/12/16 13:46:09.448317 ->[172.16.1.11:35005|6e:2a:b5:8d:66:7a(worker1)]: connection shutting down due to error: read tcp 172.16.1.10:6783->172.16.1.11:35005: read: connection reset by peer
INFO: 2022/12/16 13:46:09.448750 ->[172.16.1.11:35005|6e:2a:b5:8d:66:7a(worker1)]: connection deleted
INFO: 2022/12/16 13:46:09.448861 Removed unreachable peer 6e:2a:b5:8d:66:7a(worker1)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant