You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following error is observed for some of the images.
podman pull registry.cp4d-414-dc0.192.168.0.23.nip.io:5000/cp/cpd/environments-ui@sha256:77b1791b9b52f3ec4504b93aa410593c9ce522d1140bcb3a57aa02f63f274dcf
Trying to pull registry.cp4d-414-dc0.192.168.0.23.nip.io:5000/cp/cpd/environments-ui@sha256:77b1791b9b52f3ec4504b93aa410593c9ce522d1140bcb3a57aa02f63f274dcf...Error: determining manifest MIME type for docker://registry.cp4d-414-dc0.192.168.0.23.nip.io:5000/cp/cpd/environments-ui@sha256:77b1791b9b52f3ec4504b93aa410593c9ce522d1140bcb3a57aa02f63f274dcf: Manifest does not match provided manifest digest sha256:77b1791b9b52f3ec4504b93aa410593c9ce522d1140bcb3a57aa02f63f274dcf
Had a look the manifest using the skopeo inspect command for the original and mirrored image and observed that the mirrored image has a different SHA value.
Pulling the image using the different SHA of the mirrored image gives the following error.
[root@sitagi-414-dc0-bastion-0 repositories]# podman pull registry.sitagi-414-dc0.192.168.0.64.nip.io:5000/cp/cpd/environments-api@sha256:3aceab15422b076ecb00b12e5a193524788346cfb2f3da808e87e6a7ede48397
Trying to pull registry.sitagi-414-dc0.192.168.0.64.nip.io:5000/cp/cpd/environments-api@sha256:3aceab15422b076ecb00b12e5a193524788346cfb2f3da808e87e6a7ede48397...
Error: initializing source docker://registry.sitagi-414-dc0.192.168.0.64.nip.io:5000/cp/cpd/environments-api@sha256:3aceab15422b076ecb00b12e5a193524788346cfb2f3da808e87e6a7ede48397: reading manifest sha256:3aceab15422b076ecb00b12e5a193524788346cfb2f3da808e87e6a7ede48397 in registry.sitagi-414-dc0.192.168.0.64.nip.io:5000/cp/cpd/environments-api: manifest unknown
Issue Resolution
We replaced the local registry image from docker.io/ibmcom/registry-ppc64le:2.6.2.5 image with the official multi-arch image docker.io/library/registry:2 and this resolved the issue.
The image mirrored has the correct SHA value and image pull is working as expected.
Have raised a PR to replace the older image with the newer one. #518
The text was updated successfully, but these errors were encountered:
Facing an issue with pulling mirrored images from the local registry using the SHA value.
The images were mirrored using the following command
skopeo copy --all --dest-tls-verify=false --dest-username=${PRIVATE_REGISTRY_PUSH_USER} --dest-password=${PRIVATE_REGISTRY_PUSH_PASSWORD} --preserve-digests docker://${SRC_REPO}/${SRC_IMG}@${SRC_DIGEST} docker://${PRIVATE_REGISTRY_LOCATION}/${SRC_IMG}:${SRC_TAG}
The following error is observed for some of the images.
Had a look the manifest using the
skopeo inspect
command for the original and mirrored image and observed that the mirrored image has a different SHA value.Pulling the image using the different SHA of the mirrored image gives the following error.
Issue Resolution
We replaced the local registry image from
docker.io/ibmcom/registry-ppc64le:2.6.2.5
image with the official multi-arch imagedocker.io/library/registry:2
and this resolved the issue.The image mirrored has the correct SHA value and image pull is working as expected.
Have raised a PR to replace the older image with the newer one. #518
The text was updated successfully, but these errors were encountered: