ay 23 10:44:00 master kubelet[106272]: E0523 10:44:00.146423 106272 pod_workers.go:965] “Error syncing pod, skipping” err=“failed to "CreatePodSandbox" for "kube-apiserver-master_kube-system(b811778ff1b8bdf663d988f3954a612a)" with CreatePodSandboxError: "Failed to create sandbox for pod \"kube-apiserver-master_kube-system(b811778ff1b8bdf663d988f3954a612a)\": rpc error: code = Unknown desc = failed to start sandbox container for pod \"kube-apiserver-master\": Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: invalid slice name: /kubepods.slice/kubepods-burstable.slice/kubepods-burstable-podb811778ff1b8bdf663d988f3954a612a.slice: unknown"” pod=“kube-system/kube-apiserver-master” podUID=b811778ff1b8bdf663d988f3954a612a
May 23 10:44:00 master kubelet[106272]: I0523 10:44:00.169071 106272 pod_container_deletor.go:80] “Container not found in pod’s containers” containerID=“de757d045ce8396151485f06fcd546a05effdeb0b0de02e3521cc47b3062a6f8”
May 23 10:44:00 master kubelet[106272]: E0523 10:44:00.235660 106272 remote_runtime.go:176] “RunPodSandbox from runtime service failed” err=“rpc error: code = Unknown desc = failed to start sandbox container for pod "kube-scheduler-master": Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: invalid slice name: /kubepods.slice/kubepods-burstable.slice/kubepods-burstable-pod43195cb4486390800518511f0ab05660.slice: unknown”
May 23 10:44:00 master kubelet[106272]: E0523 10:44:00.235705 106272 kuberuntime_sandbox.go:72] “Failed to create sandbox for pod” err=“rpc error: code = Unknown desc = failed to start sandbox container for pod "kube-scheduler-master": Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: invalid slice name: /kubepods.slice/kubepods-burstable.slice/kubepods-burstable-pod43195cb4486390800518511f0ab05660.slice: unknown” pod=“kube-system/kube-scheduler-master”
May 23 10:44:00 master kubelet[106272]: E0523 10:44:00.235720 106272 kuberuntime_manager.go:782] “CreatePodSandbox for pod failed” err=“rpc error: code = Unknown desc = failed to start sandbox container for pod "kube-scheduler-master": Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: invalid slice name: /kubepods.slice/kubepods-burstable.slice/kubepods-burstable-pod43195cb4486390800518511f0ab05660.slice: unknown” pod=“kube-system/kube-scheduler-master”
May 23 10:44:00 master kubelet[106272]: E0523 10:44:00.235752 106272 pod_workers.go:965] “Error syncing pod, skipping” err=“failed to "CreatePodSandbox" for "kube-scheduler-master_kube-system(43195cb4486390800518511f0ab05660)" with CreatePodSandboxError: "Failed to create sandbox for pod \"kube-scheduler-master_kube-system(43195cb4486390800518511f0ab05660)\": rpc error: code = Unknown desc = failed to start sandbox container for pod \"kube-scheduler-master\": Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: invalid slice name: /kubepods.slice/kubepods-burstable.slice/kubepods-burstable-pod43195cb4486390800518511f0ab05660.slice: unknown"” pod=“kube-system/kube-scheduler-master” podUID=43195cb4486390800518511f0ab05660
May 23 10:44:00 master kubelet[106272]: E0523 10:44:00.274200 106272 remote_runtime.go:176] “RunPodSandbox from runtime service failed” err=“rpc error: code = Unknown desc = failed to start sandbox container for pod "kube-controller-manager-master": Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: invalid slice name: /kubepods.slice/kubepods-burstable.slice/kubepods-burstable-poda6df7c426c9c70e2ffb74b5345328041.slice: unknown”
May 23 10:44:00 master kubelet[106272]: E0523 10:44:00.274239 106272 kuberuntime_sandbox.go:72] “Failed to create sandbox for pod” err=“rpc error: code = Unknown desc = failed to start sandbox container for pod "kube-controller-manager-master": Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: invalid slice name: /kubepods.slice/kubepods-burstable.slice/kubepods-burstable-poda6df7c426c9c70e2ffb74b5345328041.slice: unknown” pod=“kube-system/kube-controller-manager-master”
May 23 10:44:00 master kubelet[106272]: E0523 10:44:00.274253 106272 kuberuntime_manager.go:782] “CreatePodSandbox for pod failed” err=“rpc error: code = Unknown desc = failed to start sandbox container for pod "kube-controller-manager-master": Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: invalid slice name: /kubepods.slice/kubepods-burstable.slice/kubepods-burstable-poda6df7c426c9c70e2ffb74b5345328041.slice: unknown” pod=“kube-system/kube-controller-manager-master”
May 23 10:44:00 master kubelet[106272]: E0523 10:44:00.274298 106272 pod_workers.go:965] “Error syncing pod, skipping” err=“failed to "CreatePodSandbox" for "kube-controller-manager-master_kube-system(a6df7c426c9c70e2ffb74b5345328041)" with CreatePodSandboxError: "Failed to create sandbox for pod \"kube-controller-manager-master_kube-system(a6df7c426c9c70e2ffb74b5345328041)\": rpc error: code = Unknown desc = failed to start sandbox container for pod \"kube-controller-manager-master\": Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: invalid slice name: /kubepods.slice/kubepods-burstable.slice/kubepods-burstable-poda6df7c426c9c70e2ffb74b5345328041.slice: unknown"” pod=“kube-system/kube-controller-manager-master” podUID=a6df7c426c9c70e2ffb74b5345328041
May 23 10:44:00 master kubelet[106272]: E0523 10:44:00.335163 106272 remote_runtime.go:176] “RunPodSandbox from runtime service failed” err=“rpc error: code = Unknown desc = failed to start sandbox container for pod "etcd-master": Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: invalid slice name: /kubepods.slice/kubepods-burstable.slice/kubepods-burstable-pod784d8b39d9bf4c5266e410df4560ab5e.slice: unknown”
May 23 10:44:00 master kubelet[106272]: E0523 10:44:00.335214 106272 kuberuntime_sandbox.go:72] “Failed to create sandbox for pod” err=“rpc error: code = Unknown desc = failed to start sandbox container for pod "etcd-master": Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: invalid slice name: /kubepods.slice/kubepods-burstable.slice/kubepods-burstable-pod784d8b39d9bf4c5266e410df4560ab5e.slice: unknown” pod=“kube-system/etcd-master”
May 23 10:44:00 master kubelet[106272]: E0523 10:44:00.335227 106272 kuberuntime_manager.go:782] “CreatePodSandbox for pod failed” err=“rpc error: code = Unknown desc = failed to start sandbox container for pod "etcd-master": Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: invalid slice name: /kubepods.slice/kubepods-burstable.slice/kubepods-burstable-pod784d8b39d9bf4c5266e410df4560ab5e.slice: unknown” pod=“kube-system/etcd-master”
May 23 10:44:00 master kubelet[106272]: E0523 10:44:00.335262 106272 pod_workers.go:965] “Error syncing pod, skipping” err=“failed to "CreatePodSandbox" for "etcd-master_kube-system(784d8b39d9bf4c5266e410df4560ab5e)" with CreatePodSandboxError: "Failed to create sandbox for pod \"etcd-master_kube-system(784d8b39d9bf4c5266e410df4560ab5e)\": rpc error: code = Unknown desc = failed to start sandbox container for pod \"etcd-master\": Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: invalid slice name: /kubepods.slice/kubepods-burstable.slice/kubepods-burstable-pod784d8b39d9bf4c5266e410df4560ab5e.slice: unknown"” pod=“kube-system/etcd-master” podUID=784d8b39d9bf4c5266e410df4560ab5e
May 23 10:44:00 master kubelet[106272]: W0523 10:44:00.839938 106272 reflector.go:424] vendor/k8s.io/client-go/informers/factory.go:150: failed to list *v1.Node: Get “
https://192.168.92.120:6443/api/v1/nodes?fieldSelector=metadata.name%3Dmaster&limit=500&resourceVersion=0
”: dial tcp 192.168.92.120:6443: connect: connection refused
May 23 10:44:00 master kubelet[106272]: E0523 10:44:00.839987 106272 reflector.go:140] vendor/k8s.io/client-go/informers/factory.go:150: Failed to watch *v1.Node: failed to list *v1.Node: Get “
https://192.168.92.120:6443/api/v1/nodes?fieldSelector=metadata.name%3Dmaster&limit=500&resourceVersion=0
”: dial tcp 192.168.92.120:6443: connect: connection refused
May 23 10:44:01 master kubelet[106272]: I0523 10:44:01.222752 106272 pod_container_deletor.go:80] “Container not found in pod’s containers” containerID=“bc8eb4cf2b43d10812a039dd8a41d2de569a12c0b4d2c464ac7fc493b2888915”
May 23 10:44:01 master kubelet[106272]: I0523 10:44:01.264367 106272 pod_container_deletor.go:80] “Container not found in pod’s containers” containerID=“604f688eb88d7497968418e876ed76ef0426c67ff55e4cfea26c131b11d66a10”
May 23 10:44:01 master kubelet[106272]: I0523 10:44:01.310949 106272 pod_container_deletor.go:80] “Container not found in pod’s containers” containerID=“17f0a73ac07a5edf59a2e62bbf9a7e631f42439940a8eabab1915589e3d3b23c”
May 23 10:44:01 master kubelet[106272]: I0523 10:44:01.363390 106272 pod_container_deletor.go:80] “Container not found in pod’s containers” containerID=“ae821b7cefba2347805ca5c48c00db746bcb0ebd57306bcdd89631764b84989a”
It might be caused by using incompatible cgroup. In my case. I used docker container, one worker node can not join with the same error above. Existing file daemon.json below
root@worker2:~# cat /etc/docker/daemon.json
"exec-opts": ["native.cgroupdriver=systemd"]
I fix by these commands:
root@worker2:~# mv /etc/docker/daemon.json /etc/docker/daemon.bak
root@worker2:~# systemctl stop docker
Warning: Stopping docker.service, but it can still be activated by:
docker.socket
root@worker2:~# systemctl start docker
root@worker2:~#
root@worker2:~# systemctl restart kubelet
© 2019 The Kubernetes Authors | Documentation Distributed under
CC BY 4.0
ICP license: 京ICP备17074266号-3