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

Catalog image build by oc-mirror in crashloopback: cache is invalid

    XMLWordPrintable

Details

    • Important
    • No
    • CLID Sprint 253
    • 1
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      
      Issue related to the
      https://issues.redhat.com/browse/OCPBUGS-12257
      https://issues.redhat.com/browse/OCPBUGS-12236
      
      The issue still persists even after the bug has been fixed.
      When using 4.14 version of the oc-mirror the "redhat-operator-index" image is still not crashing with error:
      
      ```
      time="2023-04-20T05:24:15Z" level=fatal msg="cache requires rebuild: cache reports digest as \"xxx\", but computed digest is \"yyy\""
      ```
      
      The current workaround is to build the custom image and override the Entrypoint.
      Same as reported in https://access.redhat.com/solutions/7006771
      
      ```
                     "Entrypoint": [
                          "/bin/opm"
                     ],
                     "Cmd": [
                          "serve",
                          "/configs",
                          "--cache-dir=/cache"        <<<<<<<<<< remove that part
                     ],
      ```
      
      I believe that the issue is in the "redhat-operator-index".
      The image still uses the cache, but the "oc-mirror" doesn't use that.
      
      

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

      
      OpenShift Container Platform:
      - 4.14
      - 4.13
      - 4.12
      
          

      How reproducible:

      Reproducible on customer environment.
      Customer uses the latest 4.14 image for the "redhat-operator-index".
          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

      
          

      Expected results:

      
          

      Additional info:

      
          

      Attachments

        Issue Links

          Activity

            People

              luzuccar@redhat.com Luigi Mario Zuccarelli
              rhn-support-vwalek Vladislav Walek
              ying zhou ying zhou
              Angela Fogarolli, Luigi Mario Zuccarelli
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: