-
Notifications
You must be signed in to change notification settings - Fork 260
Closed
Description
Is this an ISSUE or FEATURE REQUEST? (choose one): Issue
Which release version?: 1.0.27
Which component (CNI/IPAM/CNM/CNS): CNI
Which Operating System (Linux/Windows): Windows Server 2019
Which Orchestrator and version (e.g. Kubernetes, Docker): Kubernetes
What happened:
A container in a pod was stopping before the network endpoint was attached by CNI. In this case, a malformed result is passed back to the kubelet, causing this message in the logs.
E1110 14:23:32.842611 4564 cni_windows.go:50] error while adding to cni network: invalid character '{' after top-level value
W1110 14:23:32.842611 4564 docker_sandbox.go:384] failed to read pod IP from plugin/docker: NetworkPlugin cni failed on the status hook for pod "<name removed>": invalid character '{' after top-level value
What you expected to happen:
I would expect a well-formed error to be returned that has a message stating "A virtual machine or container with the specified identifier does not exist". Parsing errors make the kubelet logs difficult to understand and don't help identify the root cause of a failure.
Metadata
Metadata
Assignees
Labels
No labels