oci-registry icon indicating copy to clipboard operation
oci-registry copied to clipboard

Potentially corrupt blob

Open com6056 opened this issue 8 months ago • 3 comments

Haven't narrowed it down yet, but ran into this pull error which went away when I cleared our the S3 bucket:

  Warning  Failed                  3s                     kubelet                  Failed to pull image "docker.io/foo/bar@sha256:f05918ce7a92b84415e1abaa1c6ba0d7212b05adca41360673873bc85be88b91": rpc error: code = Unknown desc = writing blob: storing blob to file "/var/tmp/storage2866776745/3": happened during read: unexpected EOF

Same deal when trying to pull directly from the node too:

[root@node ~]# crictl pull docker.io/foo/bar@sha256:f05918ce7a92b84415e1abaa1c6ba0d7212b05adca41360673873bc85be88b91
E1216 00:47:48.098893    6802 remote_image.go:171] "PullImage from image service failed" err="rpc error: code = Unknown desc = writing blob: storing blob to file \"/var/tmp/storage4078425335/7\": happened during read: unexpected EOF" image="docker.io/foo/bar@sha256:f05918ce7a92b84415e1abaa1c6ba0d7212b05adca41360673873bc85be88b91"
FATA[0005] pulling image: rpc error: code = Unknown desc = writing blob: storing blob to file "/var/tmp/storage4078425335/7": happened during read: unexpected EOF

I'm guessing the blob being pulled somehow got into a funky state in the bucket since the issue went away after I cleared out the S3 bucket, need to dig in more but wanted to put this into an issue in case anyone knew what might have happened. Thanks!

com6056 avatar Dec 16 '23 00:12 com6056