kubeedge: imitator.go:222] failed to unmarshal message content to unstructured obj: Object 'Kind' is missing in '{"metadata":{...
What happened: i got this error in edgecore.service imitator.go:222] failed to unmarshal message content to unstructured obj: Object ‘Kind’ is missing in '{“metadata”:{… and i cannot get edge node from k8s master Environment:
- Kubernetes version (use
kubectl version
): 1.19.12 - KubeEdge version: 1.7.1
-
Cloud nodes Environment:
Ali Cloud
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 1
- Comments: 16 (4 by maintainers)
Same Problem in v1.12.2
May 30 12:10:52 edge.kubeedge edgecore[8418]: E0530 12:10:52.621760 8418 imitator.go:235] failed to unmarshal message content to unstructured obj: Object ‘Kind’ is missing in '{“metadata”:
edgecore journal: Feb 13 13:41:44 node3 edgecore[696]: E0213 13:41:44.889527 696 imitator.go:235] failed to unmarshal message content to unstructured obj: Object ‘Kind’ is missing in ‘{“metadata”:{“name”:“node3”,“creationTimestamp”:null,“labels”:{“beta.kubernetes.io/arch”:“amd64”,“beta.kubernetes.io/os”:“linux”,“kubernetes.io/arch”:“amd64”,“kubernetes.io/hostname”:“node3”,“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”:“29751268Ki”,“hugepages-2Mi”:“0”,“memory”:“2030768Ki”,“pods”:“110”},“allocatable”:{“cpu”:“2”,“ephemeral-storage”:“27418768544”,“hugepages-2Mi”:“0”,“memory”:“1928368Ki”,“pods”:“110”},“conditions”:[{“type”:“MemoryPressure”,“status”:“False”,“lastHeartbeatTime”:“2023-02-13T13:41:44Z”,“lastTransitionTime”:“2023-02-13T13:41:44Z”,“reason”:“KubeletHasSufficientMemory”,“message”:“kubelet has sufficient memory available”},{“type”:“DiskPressure”,“status”:“False”,“lastHeartbeatTime”:“2023-02-13T13:41:44Z”,“lastTransitionTime”:“2023-02-13T13:41:44Z”,“reason”:“KubeletHasNoDiskPressure”,“message”:“kubelet has no disk pressure”},{“type”:“PIDPressure”,“status”:“False”,“lastHeartbeatTime”:“2023-02-13T13:41:44Z”,“lastTransitionTime”:“2023-02-13T13:41:44Z”,“reason”:“KubeletHasSufficientPID”,“message”:“kubelet has sufficient PID available”},{“type”:“Ready”,“status”:“False”,“lastHeartbeatTime”:“2023-02-13T13:41:44Z”,“lastTransitionTime”:“2023-02-13T13:41:44Z”,“reason”:“KubeletNotReady”,“message”:“PLEG is not healthy: pleg has yet to be successful”}],“addresses”:[{“type”:“InternalIP”,“address”:“192.168.0.203”},{“type”:“Hostname”,“address”:“node3”}],“daemonEndpoints”:{“kubeletEndpoint”:{“Port”:10350}},“nodeInfo”:{“machineID”:“f0b0fc81fa174d229e625821ee9c3192”,“systemUUID”:“09a8a270-d4ed-ce4a-878d-0bf50257e16d”,“bootID”:“ca817b86-d22a-4a6d-bcd0-78b1fb67862a”,“kernelVersion”:“5.4.0-139-generic”,“osImage”:“Ubuntu 20.04.5 LTS”,“containerRuntimeVersion”:“docker://20.10.12”,“kubeletVersion”:“v1.23.15-kubeedge-v1.13.0”,“kubeProxyVersion”:“v0.0.0-master+$Format:%H$”,“operatingSystem”:“linux”,“architecture”:“amd64”},“images”:[{“names”:[“kubeedge/installation-package@sha256:780cbe1d64aad905b75cf877c5023868c8eef36c5936b5bec3bdeaef2ecb897f”,“kubeedge/installation-package:v1.13.0”],“sizeBytes”:208755554},{“names”:[“registry.aliyuncs.com/google_containers/kube-proxy@sha256:239f53a4e58bdf281a1ea120fb93161daee2d0e9da7ad03a2ddcb28a83f7325a”,“registry.aliyuncs.com/google_containers/kube-proxy:v1.23.16”],“sizeBytes”:110832791},{“names”:[“nginx@sha256:e8ab8d42e0c34c104ac60b43ba60b19af08e19a0e6d50396bdfd4cef0347ba83”,“nginx:1.15.4”],“sizeBytes”:109083698},{“names”:[“kubeedge/edgemesh-agent@sha256:3a7fee53b98f1be02a15da03e4fda263608d05dbdfdfd0f1bff89d11892db83d”,“kubeedge/edgemesh-agent:v1.13.0”],“sizeBytes”:73737840},{“names”:[“flannel/flannel@sha256:08e150f603cc4759a48e986fc26c0f531af1395d1bd48981226f86f45521b01c”,“flannel/flannel:v0.20.2”],“sizeBytes”:59604122},{“names”:[“eclipse-mosquitto@sha256:fe2ab4877478b3d848819ec6a54ee54bc1e6a6ece1812b90528fa043737c85ea”,“eclipse-mosquitto:1.6.15”],“sizeBytes”:11564549},{“names”:[“flannel/flannel-cni-plugin@sha256:bf4b62b131666d040f35a327d906ee5a3418280b68a88d9b9c7e828057210443”,“flannel/flannel-cni-plugin:v1.1.2”],“sizeBytes”:7966554},{“names”:[“kubeedge/pause@sha256:3d380ca8864549e74af4b29c10f9cb0956236dfb01c40ca076fb6c37253234db”,“kubeedge/pause:3.6”],“sizeBytes”:682696}]}}’
I have a similar issue with version 1.12.0
The node is registered but never becomes ready
On the edge side I am seeing:
On cloudcore I am seeing: