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

4.19 image CatalogSource fail without extractContent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 4.19
    • OLM
    • None
    • Eevee OLM Sprint 265, Flareon OLM Sprint 266
    • 2
    • Approved
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      4.19 image CatalogSource is not comin up reporting TRANSIENT_FAILURE.
      Here is an example:

      Creating CatalogSource: apiVersion: operators.coreos.com/v1alpha1
      kind: CatalogSource
      metadata:
        generateName: oo-
        namespace: oo-c6qfd
      spec:
        sourceType: grpc
        image: "brew.registry.redhat.io/rh-osbs/iib:902352"
        grpcPodConfig:
          securityContextConfig: restricted
      CatalogSource name is "oo-xhzfr"
      
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE

      However, during our investigation of an issue it was found out the 4.19 image CatalogSource becomes READY if `extractContent` is used. Here is an example:

      Creating CatalogSource: apiVersion: operators.coreos.com/v1alpha1
      kind: CatalogSource
      metadata:
        generateName: oo-
        namespace: oo-4dh5x
      spec:
        sourceType: grpc
        image: "brew.registry.redhat.io/rh-osbs/iib:902352"
        grpcPodConfig:
          securityContextConfig: restricted
          extractContent:
            catalogDir: /configs
            cacheDir: /tmp/cache
      CatalogSource name is "oo-7pz4q"
      
      CONNECTING
      CONNECTING
      CONNECTING
      CONNECTING
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      TRANSIENT_FAILURE
      READY
      Catalogsource created successfully after waiting 95 seconds
      current state of catalogsource is "READY" 

      4.18 and earlier OCP versions do not have this issue. CatalogSource can be successfully created without "extractContent".

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

          

      How reproducible:

      Take any 4.19 IIB image and use it to create a CatalogSource without "extractContent"

      Steps to Reproduce:

          1. Spin up a 4.19 cluster in ClusterBot
          2. Try creating CatalogSource without "extractContent" using any 4.19 index image (e.g.:brew.registry.redhat.io/rh-osbs/iib:902352)
          

      Actual results:

      TRANSIENT_FAILURE

      Expected results:

      READY

      Additional info:

      Slack thread: https://redhat-internal.slack.com/archives/C06R786DFPV/p1737472700370639

              rh-ee-jkeister Jordan Keister
              asergien Anna Rania
              Jian Zhang Jian Zhang
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: