Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jenkins backups stop running #1061

Open
nithinvithayathil opened this issue Sep 19, 2024 · 1 comment
Open

Jenkins backups stop running #1061

nithinvithayathil opened this issue Sep 19, 2024 · 1 comment
Labels
bug Something isn't working needs triage

Comments

@nithinvithayathil
Copy link

nithinvithayathil commented Sep 19, 2024

Hi,

Jenkins Backup stopped running all of a sudden. I could see the below log in the jenkins operator. Also while checking the logs of jenkins backup container there is error and no log corresponding to the backup operation. It has logs for restoring, but not backup.

2024-09-19T16:00:35+05:30 2024-09-19T10:30:35.154Z	DEBUG	controller-jenkins	Skipping user-casc ConfigMap 'jenkins-operator-user-configuration' name '1-token.groovy'	{"cr": "master"}
2024-09-19T16:00:36+05:30 2024-09-19T10:30:36.158Z	INFO	controller-jenkins	Restoring backup '77287'	{"cr": "master"}
2024-09-19T16:06:58+05:30 2024-09-19T10:36:58.894Z	WARN	controller-jenkins	**Reconcile loop failed 10 times with the same errors, giving up: Post "http://jenkins-operator-http-master.jenkins:80/jenkins/scriptText": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
2024-09-19T16:06:58+05:30 couldn't execute groovy script, logs ''**
2024-09-19T16:06:58+05:30 github.com/jenkinsci/kubernetes-operator/pkg/client.(*jenkins).executeScript
2024-09-19T16:06:58+05:30 	/workspace/pkg/client/script.go:49
2024-09-19T16:06:58+05:30 github.com/jenkinsci/kubernetes-operator/pkg/client.(*jenkins).ExecuteScript
2024-09-19T16:06:58+05:30 	/workspace/pkg/client/script.go:30
2024-09-19T16:06:58+05:30 github.com/jenkinsci/kubernetes-operator/pkg/configuration/backuprestore.(*BackupAndRestore).Restore
2024-09-19T16:06:58+05:30 	/workspace/pkg/configuration/backuprestore/backuprestore.go:179
2024-09-19T16:06:58+05:30 github.com/jenkinsci/kubernetes-operator/pkg/configuration/user.(*reconcileUserConfiguration).ReconcileOthers
2024-09-19T16:06:58+05:30 	/workspace/pkg/configuration/user/reconcile.go:67
2024-09-19T16:06:58+05:30 github.com/jenkinsci/kubernetes-operator/controllers.(*JenkinsReconciler).reconcile
2024-09-19T16:06:58+05:30 	/workspace/controllers/jenkins_controller.go:316
2024-09-19T16:06:58+05:30 github.com/jenkinsci/kubernetes-operator/controllers.(*JenkinsReconciler).Reconcile
2024-09-19T16:06:58+05:30 	/workspace/controllers/jenkins_controller.go:136
2024-09-19T16:06:58+05:30 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
@nithinvithayathil nithinvithayathil added the bug Something isn't working label Sep 19, 2024
@brokenpip3
Copy link
Collaborator

it's jenkins up while is trying to do this operation? does have enough resources? did you tried to restart jenkins? it seems that is not responding in time to create the seed job via textScript.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

2 participants