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

Manifests generated to multiple "results-xxx" folders when using the oci feature with OCI and nonOCI catalogs

    XMLWordPrintable

Details

    • CFE Sprint 234
    • 1
    • False
    • Hide

      None

      Show
      None
    • Hide


      When using the OCI FBC feature, and mixing OCI catalogs with registry catalogs in the ImageSetConfig, the ICSP and CatalogSource manifests are generated in 2 separate results folders (one for each type of catalog).
      The fix helps to use a single results folder for all catalogs.

      Show
      When using the OCI FBC feature, and mixing OCI catalogs with registry catalogs in the ImageSetConfig, the ICSP and CatalogSource manifests are generated in 2 separate results folders (one for each type of catalog). The fix helps to use a single results folder for all catalogs.
    • Bug Fix
    • In Progress

    Description

      Description of problem:

      When using the OCI feature, and mixing OCI catalogs with registry catalogs in the ImageSetConfig, the ICSP and CatalogSource manifests are generated in 2 separate results folders (one for each type of catalog).

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

      4.13.0

      How reproducible:

      Always

      Steps to Reproduce:

      1. Use the following ImageSetConfig (imst3.yaml)
      kind: ImageSetConfiguration
      apiVersion: mirror.openshift.io/v1alpha2
      storageConfig:
        local:
          path: /tmp/storageBackend                                                
        # registry: # --skip-cleanup
        #   imageURL: localhost:5000/oc-mirror-metadata3                 
        #   skipTLS: true
      
      mirror:
        platform:
          channels:
          - name: stable-4.12
            type: ocp
          graph: false 
        operators:
        #rhop
        - catalog: oci:///home/skhoury/oci-catalog2
          targetName: redhat-operator-index
          targetTag: "4.12"
          packages: 
          - name: external-dns-operator
            minVersion: "1.1.0"
            maxVersion: "1.1.0"
        - catalog: quay.io/redhatgov/oc-mirror-dev:test-catalog-latest
          packages: 
          - name: foo
            channels: 
            - name: beta
              minVersion: "0.3.0"
        additionalImages:
        - name: quay.io/okd/go-bundle-tools:v1.0.1 
      2. ./bin/oc-mirror -c imst3.yaml docker://localhost:5000/oci-test --dest-skip-tls --dest-use-http --use-oci-feature 2.
      
      

      Actual results:

      ICSP and catalogs scattered in 2 results-xxx folders instead of one

      Expected results:

      For 1 run, ICSP and catalogs for all operators are under the same results-xxx folder

      Additional info:

       

      Attachments

        Issue Links

          Activity

            People

              luzuccar@redhat.com Luigi Mario Zuccarelli
              skhoury@redhat.com Sherine Khoury
              ying zhou ying zhou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: