microsoft / hcsshim

Windows - Host Compute Service Shim
MIT License
567 stars 256 forks source link

hcsshim::ProcessBaseLayer \\\\?\\C:\\ProgramData\\containerd\\root\\io.containerd.snapshotter.v1.windows\\snapshots\\25: The system cannot find the path specified.: unknown" #2226

Open 2694484453 opened 1 month ago

2694484453 commented 1 month ago

C:\Users\Administrator\Desktop>nerdctl info Client: Namespace: default Debug Mode: false

Server: Server Version: v1.7.20 Storage Driver: windows Logging Driver: json-file Cgroup Driver: Cgroup Version: Plugins: Log: fluentd journald json-file syslog Storage: windows-lcow windows Security Options: Kernel Version: Operating System: OSType: windows Architecture: CPUs: 0 Total Memory: 0B Name: DESKTOP-GUDIF40 ID: 12b0174c-f5d5-49e3-9cb5-f4061ac77974

C:\Users\Administrator\Desktop>nerdctl pull registry.cn-hangzhou.aliyuncs.com/gpg_dev/aliyundrive-webdav:latest registry.cn-hangzhou.aliyuncs.com/gpg_dev/aliyundrive-webdav:latest: resolved |++++++++++++++++++++++++++++++++++++++| manifest-sha256:f2dec562aeb3059d214ddfa26d0603c7cb2efc75ebde1f76b15b178a0a3ae28a: done |++++++++++++++++++++++++++++++++++++++| config-sha256:f5f3a5675f1e844d2ba7520d66c5ed745457c78a7b6068ced7ea8acc3614cfa4: done |++++++++++++++++++++++++++++++++++++++| layer-sha256:59bf1c3509f33515622619af21ed55bbe26d24913cedbca106468a5fb37a50c3: done |++++++++++++++++++++++++++++++++++++++| layer-sha256:f62494d4c327073125a9983581a61dee8a51bd7dd3e91e1e5a2c2f928984f14e: done |++++++++++++++++++++++++++++++++++++++| layer-sha256:0ab3779976bce7a99cf4eee2ca333db6ff6bda747fdcdd6492f2c3d8b60b5435: waiting |--------------------------------------| layer-sha256:84889b28b99339e3aaa9ceb8f66898a19de20bebe39c422514f891f72733bd69: done |++++++++++++++++++++++++++++++++++++++| layer-sha256:b56bb80d94a061767ccfa81542440a5bad8b7194c68a10a350414031bae87a6a: done |++++++++++++++++++++++++++++++++++++++| elapsed: 8.6 s total: 7.6 Mi (906.8 KiB/s)

time="2024-08-09T11:22:29+08:00" level=fatal msg="failed to extract layer sha256:8d3ac3489996423f53d6087c81180006263b79f206d3fdec9e66f0e27ceb8759: hcsshim::ProcessBaseLayer \\?\C:\ProgramData\containerd\root\io.containerd.snapshotter.v1.windows\snapshots\25: The system cannot find the path specified.: unknown"

2694484453 commented 1 month ago

how can i fix it?

Breee commented 2 weeks ago

i have the same issue when pulling registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.31.0

  Warning  Failed     41s                kubelet            Failed to pull image "registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.31.0": failed to pull and unpack image "registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.31.0": failed to extract layer sha256:5342a2647e8784b3afdeb9b148d5fe1e7e1089ed3650204077765c78b3b0f93c: hcsshim::ProcessBaseLayer \\?\C:\ProgramData\containerd\root\io.containerd.snapshotter.v1.windows\snapshots\78: The system cannot find the path specified.: unknown
  Normal   BackOff    26s (x2 over 55s)  kubelet            Error: ImagePullBackOff
  Normal   Pulling    13s (x3 over 57s)  kubelet            Pulling image "registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.31.0"
  Warning  Failed     13s (x3 over 56s)  kubelet            Error: ErrImagePull
  Warning  Failed     13s                kubelet            Failed to pull image "registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.31.0": failed to pull and unpack image "registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.31.0": failed to extract layer sha256:5342a2647e8784b3afdeb9b148d5fe1e7e1089ed3650204077765c78b3b0f93c: hcsshim::ProcessBaseLayer \\?\C:\ProgramData\containerd\root\io.containerd.snapshotter.v1.windows\snapshots\79: The system cannot find the path specified.: unknown

Crictl yields the same problem:

$ crictl pull registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.31.0
E0828 07:36:16.606551    7116 remote_image.go:167] "PullImage from image service failed" err="rpc error: code = Unknown desc = failed to pull and unpack image \"registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.31.0\": failed to extract layer sha256:5342a2647e8784b3afdeb9b148d5fe1e7e1089ed3650204077765c78b3b0f93c: hcsshim::ProcessBaseLayer \\\\?\\C:\\ProgramData\\containerd\\root\\io.containerd.snapshotter.v1.windows\\snapshots\\84: The system cannot find the path specified.: unknown" image="registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.31.0"
time="2024-08-28T07:36:16+01:00" level=fatal msg="pulling image: rpc error: code = Unknown desc = failed to pull and unpack image \"registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.31.0\": failed to extract layer sha256:5342a2647e8784b3afdeb9b148d5fe1e7e1089ed3650204077765c78b3b0f93c: hcsshim::ProcessBaseLayer \\\\?\\C:\\ProgramData\\containerd\\root\\io.containerd.snapshotter.v1.windows\\snapshots\\84: The system cannot find the path specified.: unknown"
Breee commented 2 weeks ago

as a tip @2694484453 - in my case the image i tried to pull did not exist for platform windows