kubeedge
kubeedge copied to clipboard
keadm join fail while joining to Ali container service
What happened and what you expected to happen: keadm join failed while joining to Ali container service using external ip 47.94.234.64
the error is
Apr 02 10:45:29 myarch edgecore[2372195]: E0402 10:45:29.149345 2372195 csi_plugin.go:295] Failed to initialize CSINode: error updating CSINode annota
tion: timed out waiting for the condition; caused by: node length from meta db is 0
Apr 02 10:45:29 myarch edgecore[2372195]: E0402 10:45:29.538702 2372195 csi_plugin.go:295] Failed to initialize CSINode: error updating CSINode annota
tion: timed out waiting for the condition; caused by: node length from meta db is 0
Apr 02 10:45:30 myarch edgecore[2372195]: E0402 10:45:30.007415 2372195 csi_plugin.go:295] Failed to initialize CSINode: error updating CSINode annota
tion: timed out waiting for the condition; caused by: node length from meta db is 0
Apr 02 10:45:30 myarch edgecore[2372195]: E0402 10:45:30.969739 2372195 csi_plugin.go:295] Failed to initialize CSINode: error updating CSINode annota
tion: timed out waiting for the condition; caused by: node length from meta db is 0
Apr 02 10:45:33 myarch edgecore[2372195]: I0402 10:45:33.775737 2372195 common.go:97] start connect to mqtt server with client id: hub-client-sub-1712
025928
Apr 02 10:45:33 myarch edgecore[2372195]: I0402 10:45:33.775818 2372195 common.go:99] client hub-client-sub-1712025928 isconnected: false
Apr 02 10:45:33 myarch edgecore[2372195]: E0402 10:45:33.776341 2372195 common.go:101] connect error: Network Error : dial tcp 127.0.0.1:1883: connect
: connection refused
And service is
cloudcore setup
sudo keadm init --kube-config=/home/shemol/.kube/config --set iptablesManager.mode="external" --advertise-address=47.94.234.64 --profile version=v1.16.0 --set cloudCore.modules.dynamicController.enable=true
edgecore setup
sudo keadm join --kubeedge-version=v1.16.0 --cloudcore-ipport="47.94.234.64":10000 --remote-runtime-endpoint=unix:///run/containerd/containerd.sock --cgroupdriver=systemd --token=****
Where did I go wrong. It's heart broken that not as much progress has been made as when deploying locally. Thank you for the help. How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
- Kubernetes version (use
kubectl version):
Client Version: v1.29.3
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.3-aliyun.1
- KubeEdge version(e.g.
cloudcore --versionandedgecore --version):
You can view the mqtt broker status using the command:
kubectl describe daemonset -n kubeedge edge-eclipse-mosquitto