Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-66490

Image IDs inconsistent when using zstd:chunked images

    • rhel-sst-container-tools
    • 5
    • False
    • Hide

      None

      Show
      None
    • None
    • RUN 262
    • None
    • None
    • All
    • None

      What were you trying to do that didn't work?

      When using any tool using the containers/image and containers/storage libraries (Podman, Buildah) and pulling a zstd:chunked image from a registry with partial pull support enabled, image IDs may not be consistent between different systems if some layers of the image already exist and were not pulled as zstd:chunked layers (e.g. they were loaded via `podman load` instead of pulled). This constitutes a breaking change if it is not fixed.

      What is the impact of this issue to you?

      Scripts and tests relying on consistent image IDs are broken. Imports of checkpoints are broken.

      Please provide the package NVR for which the bug is seen:

      Any existing Podman binary

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. Choose a base image and export it with `podman save`
      2. Build an image with that base image, adding at least one layer (e.g. ADD instruction)
      3. Push the built image to a registry using zstd:chunked compression
      4. On one system, import the image saved with `podman save` then pull the image that was built.
      5. On another system, pull the image from the registry without importing

      Expected results

      Image IDs for the built image are the same on both systems

      Actual results

      Image IDs for the built image differ on the two systems

              rhn-engineering-mitr Miloslav Trmač
              mheon@redhat.com Matt Heon
              Container Runtime Eng Bot Container Runtime Eng Bot
              Container Runtime Bugs Bot Container Runtime Bugs Bot
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: