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

TALM - precache does not begin if catalogsource config policy is Compliant

    XMLWordPrintable

Details

    • Important
    • Rejected
    • False
    • Hide

      None

      Show
      None

    Description

      This is a clone of issue OCPBUGS-4704. The following is the description of the original issue:

      Description of problem:

      CGU now expects both catalogsource policy and subscription policy to be NonCompliant to begin precache. 
      
      This expectation is correct for subscriptions, however, catalogsource index image might not change for operator upgrade. 
      - For connected env, catalogsource index image does not change for z stream upgrade
      - For disconnected env, customer can choose any index image that could have used same name/tag even for y stream upgrade. 

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

      4.12

      How reproducible:

      100%

      Steps to Reproduce:

      1. config-policy containing catalogsource CR is compliant
      2. subscriptions-policy containing subscriptions CR is NonCompliant with pending upgrade
      3. start precache via CGU using above two policies
      

      Actual results:

      precache does not begin because catalogsource policy is Compliant
      
        - lastTransitionTime: "2022-12-09T23:51:08Z"
          message: No clusters available for remediation (Precaching failed)
          reason: Failed
          status: "False"
          type: Succeeded
      

      Expected results:

      CGU should not expect catalogsource policy to be NonCompliant for operator ugprade, especially for z stream upgrade. 

      Additional info:

       

       

       

       

       

       

      Attachments

        Issue Links

          Activity

            People

              jche@redhat.com Jun Chen
              openshift-crt-jira-prow OpenShift Prow Bot
              Yang Liu Yang Liu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: