Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-51329

MicroShift LVMS image point to a distribution manifest

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • None
    • 4.17.z, 4.18.z, 4.19
    • MicroShift
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 2
    • None
    • None
    • None
    • None
    • uShift Sprint 268, uShift Sprint 269
    • 2
    • Done
    • Bug Fix
    • Hide
      By default, the MicroShift Logical Volume Manager Storage (LVMS) manifest list copied the images for unneeded platforms because of automatic digest preservation. This action caused unnecessary usage of disk and network space. With this release, the manifest list is replaced with images specific to each architecture. Now, the MicroShift LVMS images only contain supported platform images, saving on disk space and network bandwidth.
      Show
      By default, the MicroShift Logical Volume Manager Storage (LVMS) manifest list copied the images for unneeded platforms because of automatic digest preservation. This action caused unnecessary usage of disk and network space. With this release, the manifest list is replaced with images specific to each architecture. Now, the MicroShift LVMS images only contain supported platform images, saving on disk space and network bandwidth.
    • None
    • None
    • None
    • None

      Description of problem:

      LVMS image distribution manifest contains images for 4 platforms. Since we are preserving digests when copying those images, we must copy all-or-nothing.

      Version-Release number of selected component (if applicable):

      Introduced in 4.17 when we optimized LVMS image integration

      How reproducible:

      100%

      Steps to Reproduce:

      skopeo inspect --raw --authfile ~/.pull-secret.json docker://<lvms_image_reference>     

      Actual results:

      Distribution manifest is presented, including images from 4 platforms.

      Expected results:

      We should use platform-specific images to save on disk and network. 

      Additional info:

      $ skopeo inspect --raw --authfile ~/.pull-secret.json docker://registry.redhat.io/lvms4/lvms-rhel9-operator@sha256:bd6dc4d6e90fdbcdb844759e203c9c591abc5ac29a956257a90bda101a37b76e | jq '.manifests[].platform'
      {
        "architecture": "amd64",
        "os": "linux"
      }
      {
        "architecture": "arm64",
        "os": "linux"
      }
      {
        "architecture": "ppc64le",
        "os": "linux"
      }
      {
        "architecture": "s390x",
        "os": "linux"
      }

              pmatusza@redhat.com Patryk Matuszak
              ggiguash@redhat.com Gregory Giguashvili
              None
              None
              Rama Kasturi Narra Rama Kasturi Narra
              Shauna Diaz Shauna Diaz
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: