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

starting from 4.18 oc-mirror v2 does not skip and continue if bundles do not exist.

    • Icon: Bug Bug
    • Resolution: Can't Do
    • Icon: Major Major
    • 4.18
    • 4.18, 4.19
    • oc-mirror
    • Important
    • None
    • 3
    • CLID Sprint 265, CLID Sprint 266
    • 2
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      previously if a bundle specified in the ImageSetConfig does not exist oc-mirror v2 used to skip the bundle and continue with execution but from oc-mirror 4.18 version i see this is not happening.
          

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

           4.18-rc.5
          

      How reproducible:

           Always
          

      Steps to Reproduce:

          1. Install 4.18 oc-mirror
          2. Use the ImageSetConfig below
      
      {code:java}
      kind: ImageSetConfiguration
      apiVersion: mirror.openshift.io/v2alpha1
      mirror:
        operators:
        - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.16
          packages:
          - name: cluster-kube-descheduler-operator
            bundles:
            - name: clusterkubedescheduleroperator.v5.0.2
            - name: clusterkubedescheduleroperator.v3.0
        - catalog: registry.redhat.io/redhat/community-operator-index:v4.14
          packages:
          - name: 3scale-community-operator
            bundles:
            - name: 3scale-community-operator.v0.9.1
        - catalog: registry.redhat.io/redhat/certified-operator-index:v4.14
          packages:
          - name: cockroachdb-certified
            bundles:
            - name: cockroach-operator.v2.13.1
          - name: redhat-marketplace-operator
            bundles:
            - name: redhat-marketplace-operator.v2.14.2
      
          Actual results:{code:none}
          oc-mirror fails with error
          

      Expected results:

           oc-mirror should skip the non existing bundles and continue mirroring others that exist.
          

      Additional info:

          works fine with 4.17, but failing from 4.18 and up
          

              rhn-support-stk Subhashini T K
              knarra@redhat.com Rama Kasturi Narra
              ying zhou ying zhou
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: