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

Extracted ISO images are cached forever


    • Critical
    • 3
    • Agent Sprint 223, Agent Sprint 224, Agent Sprint 225
    • 3
    • Proposed
    • False
    • Hide



      We cache images by filename, which works when downloading from the Internet as the filename always includes the CoreOS version.

      However, when extracting an image from the release payload, it always has the same name. Therefore, we will never update it to a newer image even when running different versions of the installer.

      A possible solution:

      1. Check that the cached ISO's checksum matches the RHCOS metadata.
      2. If it doesn't, extract the expected checksum from the release payload and compare that to the cached ISO's checksum.
      3. If it still doesn't match, extract the ISO from the release payload.

      An alternative might be to set the name of the cache file to something different. It's not clear how we'd guarantee a match between the release payload we've been given and the ISO unless the name was based on the release payload (which eliminates some of the point of the cache, since ordinarily most release payloads will point to a small number of images).

            bfournie@redhat.com Robert Fournier
            zabitter Zane Bitter
            Manoj Hans Manoj Hans
            Amrita Sakthivel Amrita Sakthivel (Inactive)
            0 Vote for this issue
            6 Start watching this issue