Mirantis / virtlet

Kubernetes CRI implementation for running VM workloads
Apache License 2.0
739 stars 128 forks source link

missing link #0 in the container network namespace (Virtlet pod restarted?) #899

Closed leyao-daily closed 4 years ago

leyao-daily commented 4 years ago

Create a vm with sriov and pod reported this erros:

Type Reason Age From Message


Normal Scheduled 17m default-scheduler Successfully assigned default/scc to ubuntu Warning FailedCreatePodSandBox 16m (x4 over 17m) kubelet, ubuntu Failed create pod sandbox: rpc error: code = Unknown desc = "/run/virtlet.sock": rpc error: code = 2 desc = Error adding pod scc (ba4a0f92-2d16-4e9a-8a91-ac5ea42d0e43) to CNI network: not connected Warning FailedCreatePodSandBox 2m10s (x120 over 16m) kubelet, ubuntu Failed create pod sandbox: rpc error: code = Unknown desc = "/run/virtlet.sock": rpc error: code = 2 desc = Error adding pod scc (ba4a0f92-2d16-4e9a-8a91-ac5ea42d0e43) to CNI network: server returned error: error getting fd: missing link #0 in the container network namespace (Virtlet pod restarted?)