-
Bug
-
Resolution: Done
-
Critical
-
Pipelines 1.21.0
-
1
-
False
-
-
False
-
Release Note Not Required
-
-
Description of problem:
Tekton Pruner Components Fail to Deploy: InstallerSet NotReady and Webhook Pods Terminating
- Validate tektoninstallersets status ...[FAIL]
2025-12-08T12:44:24.558816156Z
2025-12-08T12:44:24.558947708Z Failed Step: Validate tektoninstallersets status
2025-12-08T12:44:24.558947708Z Specification: specs/olm.spec:50
2025-12-08T12:44:24.558947708Z Error Message: the installersets tektoncd-pruner-8fzhx is/are not in ready status
2025-12-08T12:44:24.558947708Z Stacktrace:Prerequisites (if any, like setup, operators/versions):
Install 1.21 OSP operator with devel build
Steps to Reproduce
Once the operator installation is done, getting the below errors with tektoninstallerset for pruner
[18:24:36] smanthin@smanthin-thinkpadp16vgen1:~/Test/stage$ oc get tektoninstallerset | grep pruner
tektoncd-pruner-8fzhx False Webhook: requeue after: 10s
[18:24:39] smanthin@smanthin-thinkpadp16vgen1:~/Test/stage$ oc get tektoninstallerset | grep pruner
tektoncd-pruner-8fzhx False Install failed with message: reconcile again and proceed
[18:24:46] smanthin@smanthin-thinkpadp16vgen1:~/Test/stage$ oc get tektoninstallerset | grep pruner
tektoncd-pruner-8fzhx False Install failed with message: deployments.apps "tekton-pruner-webhook" already exists
$ ogdnop | grep pruner
tekton-pruner-controller 0/1 0 0 18m
[18:26:39] smanthin@smanthin-thinkpadp16vgen1:~/Test/stage$ oc describe deploy tekton-pruner-controller -n openshift-pipelines Conditions:
Type Status Reason
---- ------ ------
Available False MinimumReplicasUnavailable
ReplicaFailure True FailedCreate
Progressing False ProgressDeadlineExceeded
OldReplicaSets: <none>
NewReplicaSet: tekton-pruner-controller-67df8cd9 (0/1 replicas created)
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal ScalingReplicaSet 19m deployment-controller Scaled up replica set tekton-pruner-controller-67df8cd9 from 0 to 1
If we disable old pruner and enable tektonpruner, observing the below behavior
$ oc get tektoninstallerset | grep pruner pruner-config-mgqjk True pruner-main-deployment-zjf7l False Webhook: tekton-pruner-webhook deployment not ready pruner-main-static-g9r5c False Install failed with message: Operation cannot be fulfilled on serviceaccounts "tekton-pruner-controller": the object has been modified; please apply your changes to the latest version and try again tektoncd-pruner-8fzhx False Webhook: requeue after: 10s
Multiple pods of pruner-webhook are in terminating state after enabling tektonpruner
$ ogpnop | grep pruner tekton-pruner-controller-886b66dc4-zwdbv 1/1 Running 0 52s tekton-pruner-webhook-77dd6f4bcd-5nnn6 1/1 Running 0 2s tekton-pruner-webhook-77dd6f4bcd-62cjl 1/1 Terminating 0 4s tekton-pruner-webhook-77dd6f4bcd-8clnh 1/1 Terminating 0 14s tekton-pruner-webhook-77dd6f4bcd-962qc 1/1 Terminating 0 11s tekton-pruner-webhook-77dd6f4bcd-b24d4 1/1 Terminating 0 10s tekton-pruner-webhook-77dd6f4bcd-bmz5m 1/1 Terminating 0 26s tekton-pruner-webhook-77dd6f4bcd-chnkr 1/1 Terminating 0 19s tekton-pruner-webhook-77dd6f4bcd-dfscd 1/1 Terminating 0 20s tekton-pruner-webhook-77dd6f4bcd-fqrz7 1/1 Terminating 0 9s tekton-pruner-webhook-77dd6f4bcd-gvhq8 1/1 Terminating 0 21s tekton-pruner-webhook-77dd6f4bcd-kkvfm 1/1 Terminating 0 17s tekton-pruner-webhook-77dd6f4bcd-ln4p6 1/1 Terminating 0 7s tekton-pruner-webhook-77dd6f4bcd-rd7zn 1/1 Terminating 0 23s tekton-pruner-webhook-77dd6f4bcd-s7kmf 1/1 Terminating 0 25s tekton-pruner-webhook-77dd6f4bcd-vlnhv 1/1 Terminating 0 12s
Actual results:
tektoncd-pruner installerset is not in ready status and pod was not getting up
Expected results:
Pruner components should be up & running{}
Reproducibility (Always/Intermittent/Only Once):
Acceptance criteria:
Definition of Done:
Build Details:
Additional info (Such as Logs, Screenshots, etc):