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

oc mirror fails to render catalog when archive container images from multiple operator indexes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 4.14
    • oc / oc-mirror
    • Important
    • No
    • CLID Sprint 251, CLID Sprint 252
    • 2
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

          When an imageset-config.yaml contains operators from both the redhat-operator-index and the certified-opertor-index, oc-mirror will fail to create the rendered catalog images and the end of the push process to a private registry

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

          Client Version: version.Info{Major:"", Minor:"", GitVersion:"4.14.0-202402081809.p0.g6874730.assembly.stream.el8-6874730", GitCommit:"68747309c90d1c64d5404ec9ea12bc7c36a80555", GitTreeState:"clean", BuildDate:"2024-02-08T23:49:33Z", GoVersion:"go1.20.12 X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}
      

      How reproducible:

          100%

      Steps to Reproduce:

          1.Create an imageset-config.yaml with operators from redhat index and certified index
          2.Use oc-mirror to pull the images to disk
          3.Use oc-mirror to push the images from disk to a private registry
          

      Actual results:

          Rendered Catalog fails to build

      Expected results:

          Rendered Catalog builds

      Additional info:

          Error message is nondeterministic. Sometimes the redhat index fails to build. Sometimes the certified index fails to build. If I create 2 separate imageset-config.yaml files, 1 for operators from each index, with 2 oc-mirror pull runs, 2 archive sets, and 2 oc-mirror push runs, everything works fine.

      Attachments

        Activity

          People

            rh-ee-aguidi Alex Guidi
            dan5179 Dan Clark
            ying zhou ying zhou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: