Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-9326

Docker image digests changing for image tags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Optional Optional
    • under-triaging
    • None
    • container-images
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Low

      Bug report

      What behavior do you expect?

      We expect to be able to redeploy the exact same image over several days. We expect the Docker image to have stable version consistency. 

      We're using AWS ECS Fargate to host our Debezium. We've been surprised that our services are having deployment problems. After a few days, the images that it wants to download no longer exist.

      AWS is trying to be very consistent, and only run exactly the same images. The sha256 of the image tags changes often. 

      https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#ContainerDefinition-versionconsistency

      The above versionConsistency flag gives us a way to work around this behaviour. I'm raising it here, since I didn't see existing tickets about this.

       

      What behavior do you see?

       

      ```

      docker pull 'quay.io/debezium/server@sha256:c9f3fbe2838b5b99caf734b868c03b69374bb6b545157f475aa12c96d6bdaf4d'
      quay.io/debezium/server@sha256:c9f3fbe2838b5b99caf734b868c03b69374bb6b545157f475aa12c96d6bdaf4d: Pulling from debezium/server
      Digest: sha256:c9f3fbe2838b5b99caf734b868c03b69374bb6b545157f475aa12c96d6bdaf4d
      Status: Image is up to date for quay.io/debezium/server@sha256:c9f3fbe2838b5b99caf734b868c03b69374bb6b545157f475aa12c96d6bdaf4d
      quay.io/debezium/server@sha256:c9f3fbe2838b5b99caf734b868c03b69374bb6b545157f475aa12c96d6bdaf4d

      ```

      A couple hours later, and we get this:

      ```
      docker pull 'quay.io/debezium/server@sha256:c9f3fbe2838b5b99caf734b868c03b69374bb6b545157f475aa12c96d6bdaf4d'

      Error response from daemon: failed to resolve reference "quay.io/debezium/server@sha256:c9f3fbe2838b5b99caf734b868c03b69374bb6b545157f475aa12c96d6bdaf4d": quay.io/debezium/server@sha256:c9f3fbe2838b5b99caf734b868c03b69374bb6b545157f475aa12c96d6bdaf4d: not found

      ```

      https://github.com/debezium/container-images

      How to reproduce the issue using our tutorial deployment?

      N/A

      Feature request or enhancement

      Which use case/requirement will be addressed by the proposed feature?

      AWS ECS Fargate support. Improving this situation would make it easier for customers who are provisioning onto simple clusters with the default configuration.

      Implementation ideas (optional)

      Mention the versionConsistency to make it easier for others to discover this.

      Update the debezium/container-images so that it doesn't remove the existing images from quay.io. 

              Unassigned Unassigned
              drew666@gmail.com Drew Miller (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: