Mirantis / virtlet

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

sed: couldn't edit /etc/systemd/system/dockershim.service.d/kubelet.service.d: not a regular file #903

Closed GOVYANSONG closed 5 years ago

GOVYANSONG commented 5 years ago

dpkg -i criproxy_0.14.0_amd64.deb

Received following error:

Selecting previously unselected package criproxy. (Reading database ... 105018 files and directories currently installed.) Preparing to unpack criproxy_0.14.0_amd64.deb ... Unpacking criproxy (0.14.0) ... Setting up criproxy (0.14.0) ... sed: couldn't edit /etc/systemd/system/dockershim.service.d/kubelet.service.d: not a regular file dpkg: error processing package criproxy (--install): installed criproxy package post-installation script subprocess returned error exit status 4 Errors were encountered while processing: criproxy

/etc/systemd/system/dockershim.service.d/kubelet.service.d is a folder not file.

Host: Ubuntu 18.04 K8S: 1.16.0 CNI: flannel DNS: CoreDNS

Docker: v19.03.2 Virtlet: vLatest or 1.5.1

GOVYANSONG commented 5 years ago

UPDATE:

run: systemctl status dockershim

failed to read pod IP from plugin/docker: Couldn't find network status for kube-system/coredns-5644d7b6d9

run: systemctl status criproxy

"/run/virtlet.sock" is not here yet: stat /run/virtlet.sock: no such file or directory