Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-1926

Multiple installerSet getting created for pipelines

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • Pipelines 1.6.2
    • None
    • Operator
    • None
    • Pipelines Sprint 212, Pipelines Sprint 213

      This was observed on QE cluster after upgrading to 1.6.1
      there were multiple installer set created for pipeline
      ```
       k get tektoninstallersets.operator.tekton.dev 
      NAME                                 READY   REASON
      addon-clustertasks-c4p7p             True    
      addon-pipelines-rkx62                True    
      addon-triggers-gzcbf                         
      pipeline-h6v96                       True    
      pipeline-j59jw                       True    
      post-pipeline-qxnm6                  True    
      pre-pipeline-wwj8x                   True    
      rbac-resources                       True    
      trigger-vtvn8                        True    
      validating-mutating-webhoook-64zxs   True    
      ```

      this is not affecting pipelines or triggers pods as presence of any one installer set will make sure that deployments are running
      1.6.0 -> 1.6.1

      in this upgrade component's version didn't changed so having multiple installerset will not affect the pods

      but when component version changes then having multiple installerset trying to install different versions of components

      will cause issues.

      How to test the fix 🧑‍💻

      once

      oc get tektonconfig config

      shows

      NAME READY REASON
      config True 

      (meaning operator is installed/upgrades with all default options) the total number of installersets should be == 12

      {{$ [[ $(oc get tektoninstallerset --no-headers | wc -l) == 12 ]] }}
      $ echo $?
      0

      {{and }}

       

      $ oc get tektoninstallerset -l operator.tekton.dev/created-by=TektonAddon --no-headers | wc -l
      6
      $ oc get tektoninstallerset -l operator.tekton.dev/created-by=TektonPipeline --no-headers  | wc -l
      3
      $ oc get tektoninstallerset -l operator.tekton.dev/created-by=TektonTrigger --no-headers  | wc -l
      1
      $ oc get tektoninstallerset -l operator.tekton.dev/created-by=RBAC --no-headers | wc -l
      1
      $ oc get tektoninstallerset -l validating-defaulting-webhooks.operator.tekton.dev= --no-headers | wc -l
      1
       
      

      {{after a successful install   }}

      $  oc get tektoninstallerset
      NAME                                 READY   REASON
      {{addon-clustertasks-c56ng             True     }}
      {{addon-consolecli-ghfzt               True     }}
      {{addon-openshift-fl9cx                True     }}
      {{addon-pipelines-n7g4m                True     }}
      {{addon-triggers-vx9dd                 True     }}
      addon-versioned-clustertasks-6s4b7   True
      pipeline-jkzgp                       True
      postpipeline-6glp5                   True
      prepipeline-n6c68                    True
      rbac-resources                       True
      trigger-sngd8                        True
      validating-mutating-webhoook-g4xbn   True

              rh-ee-nikthoma Nikhil Thomas
              smukhade Shivam Mukhade (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: