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

Install plan approving process gets blocked when some clusters are stuck on policies prior to the subscription one

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      CGU gets stuck and install plans never get approved
      

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

      TALM 4.11
      

      How reproducible:

      Yes, easier with more clusters in CGU
      

      Steps to Reproduce:

      1. Create CGU with multiple policies and leave the subscription one at the end of the list
      2. Make some clusters unavailable so they get stuck
      3.
      

      Actual results:

      Install plan approving function hits the non subscription policy and reconcile returns early:
      
      2022-11-03T17:59:33.332Z        INFO    controllers.ClusterGroupUpgrade [approveInstallPlan] No content for policy      {"managedPolicyName": "common-config-policy"}
      2022-11-03T17:59:33.658Z        INFO    controllers.ClusterGroupUpgrade Finish reconciling CGU  {"name": "ztp-platform-upgrade/complete-upgrade-4.11.5-0000", "requeueAfter": 300}
      
      

      Expected results:

      TALM should ignore the clusters on non subscription policies and continue approving install plans on other clusters.
      

      Additional info:

      
      

              jche@redhat.com Jun Chen
              jche@redhat.com Jun Chen
              Alex Krzos Alex Krzos
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: