Can't pull container images from undercloud because of digest mismatch

Solution Verified - Updated -

Issue

  • Deployment of overcloud/undercloud fails because of Digest did not match error during pulling a container image

    "fatal: [controller-0]: FAILED! => {\"attempts\": 3, \"changed\": false, \"cmd\": [\"timeout\", \"--foreground\", \"-s\", \"KILL\", \"300s\", \"podman\", \"pull\", \"undercloud.localdomain8787/rhceph/rhceph-4-rhel8:latest\"], ... \"stderr_lines\": [... , \"Error: error pulling image \\\"undercloud.localdomain:8787/rhceph/rhceph-4-rhel8:latest\\\": unable to pull undercloud.localdomain:8787/rhceph/rhceph-4-rhel8:latest: unable to pull image: Error reading blob sha256:84bd29cfbec9e1df61b4a68d83f8e2a63d236d226fba09c8db201a6e72c668ad: Digest did not match, expected sha256:84bd29cfbec9e1df61b4a68d83f8e2a63d236d226fba09c8db201a6e72c668ad, got sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\"]
    
  • Manually pulling the container image also fails with the same error

    [stack@undercloud-0 ~]$ sudo podman pull undercloud.localdomain8787/rhceph/rhceph-4-rhel8:latest
    ...
    Digest did not match, expected sha256:84bd29cfbec9e1df61b4a68d83f8e2a63d236d226fba09c8db201a6e72c668ad, got sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
    ...
    

Environment

  • Red Hat OpenStack Platform 16.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In