missing dependency to pigz
 Warning Failed 99s kubelet, mynode Error: failed to create containerd container: error unpacking image: failed to extract layer sha256:mysha: mount callback failed on /var/lib/containerd/tmpmounts/containerd-mount213433710: fork/exec /usr/bin/unpigz: no such file or directory: unknown
Steps to reproduce the issue:
Output of containerd --version:
containerd containerd.io 1.2.10 b34a5c8af56e510852c35414db4c1f4fa6172339
Any other relevant information:
apt-get instal pigz
fixed the issue.
I'm wondering why this dependency is missing? Is it mandatory? If it is then I think it is missing from the ubuntu package. I'm also wondering as some other pods were fine.
The issue is fixed for me, but just to make sure nobody else encounter this.
It shouldn't be a requirement. This is the ubuntu pkg from ubutnu sources or somewhere else?
Containerd only uses unpigz when it finds it in the path, and this detection only happens once each time containerd runs.
Given your log, it seems that containerd has already found unpigz in /usr/bin/unpigz, and somehow the binary is gone. Did you delete the package after containerd started?
Ah actualité, right after starting it, I ran apt-get remove docker-ce && apt autoremove
So I guess it was installed and removed :)
Happy that I discovered this little optimization I'll keep it now ;)
Thanks for your comments and help!
Just a quick question if you have time, this repo stays with docker or goes with Mirantis?
And you guys, is your new employer mirantis?
Just curious ;)
Just a quick question if you have time, this repo stays with docker or goes with Mirantis?
And you guys, is your new employer mirantis?
@pierreozoux: containerd is a CNCF project, not a Docker project. It was created at Docker and donated to the CNCF in early 2017. Most of the maintainers do not work at Docker; a few of them do, but the project is not funded or directed by Docker in any way so is not impacted in any way by the financing or business decisions of Docker the company.
Docker, just like any other user of a CNCF project, is a consumer of containerd and provides versions of it with their Docker CE project and related products which use Docker's engine. Maybe some of the confusion is that you may be provided containerd, packaged and delivered by Docker, by installing a Docker product.
Most helpful comment
@pierreozoux: containerd is a CNCF project, not a Docker project. It was created at Docker and donated to the CNCF in early 2017. Most of the maintainers do not work at Docker; a few of them do, but the project is not funded or directed by Docker in any way so is not impacted in any way by the financing or business decisions of Docker the company.
Docker, just like any other user of a CNCF project, is a consumer of containerd and provides versions of it with their Docker CE project and related products which use Docker's engine. Maybe some of the confusion is that you may be provided containerd, packaged and delivered by Docker, by installing a Docker product.