kubeedge / kubeedge

Kubernetes Native Edge Computing Framework (project under CNCF)
https://kubeedge.io
Apache License 2.0
6.53k stars 1.68k forks source link

kubeedge 1.17.0 edgecore无法启动 #5658

Open ThinkinAll opened 3 weeks ago

ThinkinAll commented 3 weeks ago

What happened and what you expected to happen: Jun 7 18:17:12 edgenode3 edgecore[9549]: I0607 18:17:12.986053 9549 kubelet_node_status.go:68] "Attempting to register node" node="edgenode3" Jun 7 18:17:12 edgenode3 edgecore[9549]: E0607 18:17:12.998259 9549 imitator.go:266] failed to unmarshal message content to unstructured obj: Object 'Kind' is missing in '{"metadata":{"name":"edgenode3","creationTimestamp":null,"labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/os":"linux","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"edgenode3","kubernetes.io/os":"linux","node-role.kubernetes.io/agent":"","node-role.kubernetes.io/edge":""},"annotations":{"volumes.kubernetes.io/controller-managed-attach-detach":"true"}},"spec":{},"status":{"capacity":{"cpu":"2","ephemeral-storage":"19946096Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3963504Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"18382322044","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3861104Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2024-06-07T10:17:12Z","lastTransitionTime":"2024-06-07T10:17:12Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2024-06-07T10:17:12Z","lastTransitionTime":"2024-06-07T10:17:12Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2024-06-07T10:17:12Z","lastTransitionTime":"2024-06-07T10:17:12Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"False","lastHeartbeatTime":"2024-06-07T10:17:12Z","lastTransitionTime":"2024-06-07T10:17:12Z","reason":"KubeletNotReady","message":"CSINode is not yet initialized"}],"addresses":[{"type":"InternalIP","address":"192.168.100.165"},{"type":"Hostname","address":"edgenode3"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10350}},"nodeInfo":{"machineID":"0180f805607b4f1c810c569f6b314512","systemUUID":"cd2a4d56-719d-cec3-f45a-e868c608cdb2","bootID":"5dfb42f2-9860-4515-8fde-9e54a5468f56","kernelVersion":"6.5.0-35-generic","osImage":"Ubuntu 22.04.4 LTS","containerRuntimeVersion":"containerd://1.6.33","kubeletVersion":"v1.28.6-kubeedge-v1.17.0","kubeProxyVersion":"v0.0.0-master+$Format:%H$","operatingSystem":"linux","architecture":"amd64"}}}' Jun 7 18:17:12 edgenode3 edgecore[9549]: W0607 18:17:12.998310 9549 process.go:190] process remote failed, req[msgID[e50252dc-1927-4670-83ab-2cfa1368dcba] resource[default/node/edgenode3]], err: not connected Jun 7 18:17:12 edgenode3 edgecore[9549]: W0607 18:17:12.998328 9549 context_channel.go:164] Get bad anonName: when sendresp message, do nothing Jun 7 18:17:13 edgenode3 edgecore[9549]: E0607 18:17:13.273643 9549 csi_plugin.go:295] Failed to initialize CSINode: error updating CSINode annotation: timed out waiting for the condition; caused by: node length from meta db is 0 Jun 7 18:17:13 edgenode3 edgecore[9549]: E0607 18:17:13.656116 9549 csi_plugin.go:295] Failed to initialize CSINode: error updating CSINode annotation: timed out waiting for the condition; caused by: node length from meta db is 0 Jun 7 18:17:14 edgenode3 edgecore[9549]: E0607 18:17:14.115883 9549 csi_plugin.go:295] Failed to initialize CSINode: error updating CSINode annotation: timed out waiting for the condition; caused by: node length from meta db is 0 Jun 7 18:17:15 edgenode3 edgecore[9549]: E0607 18:17:15.053488 9549 csi_plugin.go:295] Failed to initialize CSINode: error updating CSINode annotation: timed out waiting for the condition; caused by: node length from meta db is 0 Jun 7 18:17:17 edgenode3 edgecore[9549]: I0607 18:17:17.877544 9549 common.go:97] start connect to mqtt server with client id: hub-client-sub-1717755432 Jun 7 18:17:17 edgenode3 edgecore[9549]: I0607 18:17:17.877599 9549 common.go:99] client hub-client-sub-1717755432 isconnected: false Jun 7 18:17:17 edgenode3 edgecore[9549]: E0607 18:17:17.877847 9549 common.go:101] connect error: Network Error : dial tcp 127.0.0.1:1883: connect: connection refused Jun 7 18:17:18 edgenode3 edgecore[9549]: E0607 18:17:18.939788 9549 csi_plugin.go:295] Failed to initialize CSINode: error updating CSINode annotation: timed out waiting for the condition; caused by: node length from meta db is 0

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

Shelley-BaoYue commented 3 weeks ago

You can try to pull the image manually.