Skip to content

Cannot pull the image: */snapshots/112/fs: no such file or directory #3369

@sofat1989

Description

@sofat1989
-bash-4.2# crictl pull *nn7-tensorflow1.13.1
FATA[0000] pulling image failed: rpc error: code = Unknown desc = failed to pull and unpack image "*": failed to unpack image on snapshotter overlayfs: failed to prepare extraction snapshot "extract-814557379-Dsfj sha256:c6d5b1be87babc93b410ae6b3277222290ca1269dad532524f8d66e6ad6eba87": failed to stat parent: stat /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/112/fs: no such file or directory

containerd: v1.2.4
kubelet: 1.12.3

The layer sha256:c6d5b1be87babc93b410ae6b3277222290ca1269dad532524f8d66e6ad6eba87's parent k8s.io/187/sha256:96042a7d8e056654a235735dc50e575ccd3af77b519e5992b4a229925e504808 still in the metadata.db

{Committed k8s.io/187/sha256:96042a7d8e056654a235735dc50e575ccd3af77b519e5992b4a229925e504808 k8s.io/185/sha256:610189825ab5bd5e45236f2d0926d86f6d82e593b21976e7019ca36742b6d121 map[] 2019-04-12 09:38:17.014874561 +0000 UTC 2019-04-12 09:38:17.014874561 +0000 UTC}

But the contents of this layer /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/112 is deleted.

-bash-4.2# ls /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/112
ls: cannot access /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/112: No such file or directory

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions