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

[v2] optional catalog rebuild

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • None
    • 4.18.z
    • oc-mirror
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      we run oc-mirror for operator mirroring in a disk constraint environment where we have only 8GB of ephemeral storage available. a big chunk of that storage is used for the catalog rebuild. in our case we don't really require the catalog as we use the mirrored images without OLM. rebuilding the catalog is hence not required for us.
      
      is there a way to bring a `--no-rebuild-catalogs` flag back to v2? you had `--rebuld-catalogs` in older versions of oc-mirror.
          

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

      4.18
          

      How reproducible:

      run oc-mirror and restrict storage usage to 8GB with this config
      
      apiVersion: mirror.openshift.io/v2alpha1
      kind: ImageSetConfiguration
      mirror:
        operators:
          - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.16
            packages:
              - channels:
                  - maxVersion: 2.8.0
                    minVersion: 2.8.0
                    name: stable-2.8
                defaultChannel: stable-2.8
                name: multicluster-engine
              - channels:
                  - maxVersion: 2.13.0
                    minVersion: 2.13.0
                    name: release-2.13
                defaultChannel: release-2.13
                name: advanced-cluster-management
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

              luzuccar@redhat.com Luigi Mario Zuccarelli
              goberlec@redhat.com Gerd Oberlechner
              None
              None
              Nidan Gavali Nidan Gavali
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: