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

Install plan fails to appear when trying to upgrade from CNV 4.14.4 to 4.15 Reason: DeadlineExceeded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • 4.14.z
    • OLM
    • None
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          Install plan fails to appear when trying to upgrade from CNV 4.14.4 to 4.15 
      subscription shows the following error
      ]$ oc get Subscription -n openshift-cnv -o yaml
      .
      conditions:
          - lastTransitionTime: "2024-02-20T15:39:25Z"
            message: all available catalogsources are healthy
            reason: AllCatalogSourcesHealthy
            status: "False"
            type: CatalogSourcesUnhealthy
          - reason: UnpackingInProgress
            status: "True"
            type: BundleUnpacking
          - message: 'bundle unpacking failed. Reason: DeadlineExceeded, and Message: Job
              was active longer than specified deadline'
            reason: BundleUnpackFailed
            status: "True"
            type: BundleUnpackFailed
      
      The following job is stuck and show error : Job was active longer than specified deadline
      [akriti@fedora manifests-iib-1708502059]$ oc get jobs -n openshift-marketplace 
      NAME                                                              COMPLETIONS   DURATION   AGE
      112ea6f77512cfecb47b0176a690993db5c53ee57351359f49788c686cbb246   0/1           76m        76m
      30d6ae9c6db63daf06b095e71e97fe62648b871b014222c9825d2e6a1043096   1/1           9s         20h
      3226e41c5ca59be697593f0ce729549be419b6bb16343712e10fe74967dba65   1/1           6s         20h
      324ae09e681c9662339ae2dd9a38b2ad70c2430272c3229da527fd0f2b77fb8   1/1           7s         17h
      81b6149cd163e8294cbfc4031a5f1c71b857ec491309411b2e1a2ba1e2f660f   1/1           6s         20h
      9a6202a3eefc9cca07a522e6a734d97b6b6959b7d05e57716be808b720efaa8   1/1           6s         20h
      a000bfa4acdfd50c24055afacb6db138823c0abf4cabb912409c924e874f86a   1/1           7s         20h
      a00d1bc5b09cbea2765eb497bca951f1f284d5665b7278e968cb1473816c49d   1/1           19s        20h
      b29b8e33a33b748da76fa8e03e30a0d4ae7ca8d058edaa001e4d2bb7fe5d30b   1/1           13s        20h
      c2fc02dbe9fcd4739e3bf23f9185c1326569a2d328464a79ecabde84ddac5c9   1/1           7s         20h
      db0afd4232c839b10e57a7e8af3999ef554ba38f7fa617a9274daa23dc4d0e5   1/1           6s         20h
      [akriti@fedora manifests-iib-1708502059]$ oc describe job 112ea6f77512cfecb47b0176a690993db5c53ee57351359f49788c686cbb246 -n openshift-marketplace
      .
      .
      Events:
        Type     Reason            Age   From            Message
        ----     ------            ----  ----            -------
        Normal   SuccessfulCreate  77m   job-controller  Created pod: 112ea6f77512cfecb47b0176a690993db5c53ee57351359f49788c686c72hq8
        Normal   SuccessfulDelete  67m   job-controller  Deleted pod: 112ea6f77512cfecb47b0176a690993db5c53ee57351359f49788c686c72hq8
        Warning  DeadlineExceeded  67m   job-controller  Job was active longer than specified deadline

       

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

          

      How reproducible:

          

      Steps to Reproduce:

          1. ]$ oc adm catalog mirror registry-proxy.engineering.redhat.com/rh-osbs/iib:672381 brew.registry.redhat.io --manifests-only
           2.apply the IDMS yaml generated from above
      ]$ oc apply -f imageDigestMirrorSet.yaml
           3. ]$ oc patch catsrc hco-catalogsource -n openshift-marketplace --type merge -p '{"spec":{"image":"registry-proxy.engineering.redhat.com/rh-osbs/iib:672381"}}'
           4.]$ oc get ip -A

      Actual results:

          No install plan appears and the subscripon shows error 'bundle unpacking failed. Reason: DeadlineExceeded, and Message: Job was active longer than specified deadline'

      Expected results:

      Install plan appears    

      Additional info:

       

            krizza@redhat.com Kevin Rizza
            akrgupta@redhat.com Akriti gupta
            Jian Zhang Jian Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: