containers / fuse-overlayfs

FUSE implementation for overlayfs
GNU General Public License v2.0
522 stars 84 forks source link

failed to convert whiteout file \"usr/local/.wh..wh..opq\" #423

Closed syswu closed 3 months ago

syswu commented 3 months ago

my config is.

[plugins."io.containerd.snapshotter.v1.overlayfs"]
    [plugins."io.containerd.snapshotter.v1.overlayfs".options]
      mount_program = "/usr/bin/fuse-overlayfs"

it works well if we pull busybox, but encounters a error

[root@localhost installer]# ctr -n k8s.io image pull registry.cn-hangzhou.aliyuncs.com/google_containers/kube-apiserver:v1.28.2
registry.cn-hangzhou.aliyuncs.com/google_containers/kube-apiserver:v1.28.2:       resolved       |++++++++++++++++++++++++++++++++++++++| 
index-sha256:6f3bb53840b8f48485635574360b170605174c177295bec6c8312eb3f5703d70:    exists         |++++++++++++++++++++++++++++++++++++++| 
manifest-sha256:07ec0f29e172784b9fda870d63430a84befade590a2220c1fcce52f17cd24631: done           |++++++++++++++++++++++++++++++++++++++| 
layer-sha256:6021ef4e32c708f4759a7292b12fa3bb2999cedadbfad2e5c75ed0e08f471f9a:    done           |++++++++++++++++++++++++++++++++++++++| 
config-sha256:cdcab12b2dd16cce4efc5dd43c082469364f19ad978e922d110b74a42eff7cce:   done           |++++++++++++++++++++++++++++++++++++++| 
layer-sha256:a7ca0d9ba68fdce7e15bc0952d3e898e970548ca24d57698725836c039086639:    done           |++++++++++++++++++++++++++++++++++++++| 
layer-sha256:fe5ca62666f04366c8e7f605aa82997d71320183e99962fa76b3209fdfbb8b58:    done           |++++++++++++++++++++++++++++++++++++++| 
layer-sha256:b02a7525f878e61fc1ef8a7405a2cc17f866e8de222c1c98fd6681aff6e509db:    done           |++++++++++++++++++++++++++++++++++++++| 
layer-sha256:fcb6f6d2c9986d9cd6a2ea3cc2936e5fc613e09f1af9042329011e43057f3265:    done           |++++++++++++++++++++++++++++++++++++++| 
layer-sha256:e8c73c638ae9ec5ad70c49df7e484040d889cca6b4a9af056579c3d058ea93f0:    done           |++++++++++++++++++++++++++++++++++++++| 
layer-sha256:1e3d9b7d145208fa8fa3ee1c9612d0adaac7255f1bbc9ddea7e461e0b317805c:    done           |++++++++++++++++++++++++++++++++++++++| 
layer-sha256:4aa0ea1413d37a58615488592a0b827ea4b2e48fa5a77cf707d0e35f025e613f:    done           |++++++++++++++++++++++++++++++++++++++| 
layer-sha256:7c881f9ab25e0d86562a123b5fb56aebf8aa0ddd7d48ef602faf8d1e7cf43d8c:    done           |++++++++++++++++++++++++++++++++++++++| 
layer-sha256:5627a970d25e752d971a501ec7e35d0d6fdcd4a3ce9e958715a686853024794a:    done           |++++++++++++++++++++++++++++++++++++++| 
layer-sha256:167eb620404e3cd4eb37ba31bd857ed55c9b97659216b2975740781c9d7857d4:    done           |++++++++++++++++++++++++++++++++++++++| 
elapsed: 0.6 s                                                                    total:   0.0 B (0.0 B/s)                                         
unpacking linux/amd64 sha256:6f3bb53840b8f48485635574360b170605174c177295bec6c8312eb3f5703d70...
INFO[0000] apply failure, attempting cleanup             error="failed to extract layer sha256:c5af401a13b1f23851d676e4b5963e50ced4d4aef3206a65029edf1422ab99d5: failed to convert whiteout file \"usr/local/.wh..wh..opq\": operation not supported: unknown" key="extract-338954154-4gKS sha256:da8775c1bdb7d31774459ada7442642c8438d945dbbb4f3863491f6de88b221b"

could you help me?

giuseppe commented 3 months ago

the error seems to come from containerd https://github.com/containerd/containerd/blob/main/pkg/archive/tar.go#L284