Skip to content

unexpected commit digest while pulling images

Note: with !645 (merged) we temporarily disabled the dependency proxy!

I had this error (unexpected commit digest) several times now in different locations. Last time just now in !645 (merged) where 2 subsequent pipelines failed due to this:

Failed to pull image "docker.io/bitnami/metallb-speaker:0.11.0-debian-10-r27": rpc error: code = FailedPrecondition desc = failed to pull and unpack image "docker.io/bitnami/metallb-speaker:0.11.0-debian-10-r27": failed commit on ref "manifest-sha256:a7b0ee47ad569e15dd258385446b7d8443736f67a5d707b3a8934257b9e1ba7c": unexpected commit digest sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855, expected sha256:a7b0ee47ad569e15dd258385446b7d8443736f67a5d707b3a8934257b9e1ba7c: failed precondition

The weird thing is:

  • I can do a docker pull bitnami/metallb-speaker:0.11.0-debian-10-r27 just fine
  • A manual crictl pull bitnami/metallb-speaker:0.11.0-debian-10-r27 fails (as well as prefixed with docker.io/:
root@renovate-metallb-2-x:~# crictl pull bitnami/metallb-speaker:0.11.0-debian-10-r27
FATA[2021-11-29T11:41:44.106457766Z] pulling image: rpc error: code = FailedPrecondition desc = failed to pull and unpack image "docker.io/bitnami/metallb-speaker:0.11.0-debian-10-r27": failed commit on ref "manifest-sha256:a7b0ee47ad569e15dd258385446b7d8443736f67a5d707b3a8934257b9e1ba7c": unexpected commit digest sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855, expected sha256:a7b0ee47ad569e15dd258385446b7d8443736f67a5d707b3a8934257b9e1ba7c: failed precondition 

root@renovate-metallb-2-x:~# crictl pull docker.io/bitnami/metallb-speaker:0.11.0-debian-10-r27
FATA[2021-11-29T11:41:55.938654154Z] pulling image: rpc error: code = FailedPrecondition desc = failed to pull and unpack image "docker.io/bitnami/metallb-speaker:0.11.0-debian-10-r27": failed commit on ref "manifest-sha256:a7b0ee47ad569e15dd258385446b7d8443736f67a5d707b3a8934257b9e1ba7c": unexpected commit digest sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855, expected sha256:a7b0ee47ad569e15dd258385446b7d8443736f67a5d707b3a8934257b9e1ba7c: failed precondition 
Edited by Maarten de Waard
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information