-
Bug
-
Resolution: Unresolved
-
Major
-
Jenkins Version 2.440.3
Kubernetes Plugin 4287.v73451380b_576
We have two Kubernetes Clouds defined: OnPremK8S and GKE.
Both have garbage collection enabled.
All of our jobs are running on the OnPremK8S cloud, which is properly configured and has the necessary permissions.
The GKE cloud, however, is missing a critical permission and cannot list Pods.
None of our jobs are configured to use the GKE cloud.
We have observed that some jobs, including their nested jobs, are suddenly aborted.
Upon reviewing the Jenkins service logs, we found that the garbage collection module is deleting these jobs, incorrectly marking them as orphaned.
This always occurs immediately after an exception is thrown while attempting to list Pods in the GKE cloud (due to the missing permissions).
I've attached the crucial part of the log.
Unfortunately I cannot provide the full log so please let me know if there is any critical information missing.