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

[4.17] opm creates FBCs which are incompatible with IIB catalogs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Critical Critical
    • None
    • 4.15.z, 4.17.0, 4.16.z
    • OLM / Registry
    • None
    • XMen OLM Sprint 258, YellowJacket OLM Sprint 259
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • Done

      This is a clone of issue OCPBUGS-37819. The following is the description of the original issue:

      Description of problem:

          When we added new bundle metadata encoding as `olm.csv.metadata` in https://github.com/operator-framework/operator-registry/pull/1094 (downstreamed for 4.15+) we created situations where
      - konflux onboarded operators, encouraged to use upstream:latest to generate FBC from templates; and
      - IIB-generated catalog images which used earlier opm versions to serve content
      
      could generate the new format but not be able to serve it. 
      
      One only has to `opm render` an SQLite catalog image, or expand a catalog template.

       

       

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

          

      How reproducible:

      every time    

      Steps to Reproduce:

          1. opm render an SQLite catalog image
          2.
          3.
          

      Actual results:

          uses `olm.csv.metadata` in the output

      Expected results:

          only using `olm.bundle.object` in the output

      Additional info:

          

            rh-ee-jkeister Jordan Keister
            openshift-crt-jira-prow OpenShift Prow Bot
            Jia Fan Jia Fan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: