Deployment of action runner controller through Argo CD gives Updating registration token failed issue when we resync it again #2018
Replies: 2 comments 3 replies
-
Hello! Thank you for filing an issue. The maintainers will triage your issue shortly. In the meantime, please take a look at the troubleshooting guide for bug reports. If this is a feature request, please review our contribution guidelines. |
Beta Was this translation helpful? Give feedback.
-
@rmalakar8x8 It's more likely that you specified an incorrect token or the token has already expired. Please try manually calling any GitHub API or even better the create-regstration-token API using curl or some other tool, with the token you specified, to verify that the token is actually working. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Checks
Controller Version
0.26.0
Helm Chart Version
0.21.1
CertManager Version
No response
Deployment Method
ArgoCD
cert-manager installation
yes followed the steps mentioned in https://github.com/actions-runner-controller/actions-runner-controller
Checks
Resource Definitions
To Reproduce
Describe the bug
2022-11-15T13:50:51Z DEBUG actions-runner-controller.horizontalrunnerautoscaler Suggested desired replicas of 0 by TotalNumberOfQueuedAndInProgressWorkflowRuns {"workflow_runs_completed": 0, "workflow_runs_in_progress": 0, "workflow_runs_queued": 0, "workflow_runs_unknown": 0, "namespace": "actions-runner-controller", "kind": "runnerdeployment", "name": "self-hosted-runner", "horizontal_runner_autoscaler": "runner-deployment-autoscaler"}
2022-11-15T13:50:51Z DEBUG actions-runner-controller.horizontalrunnerautoscaler Calculated desired replicas of 1 {"horizontalrunnerautoscaler": "actions-runner-controller/runner-deployment-autoscaler", "suggested": 1, "reserved": 0, "min": 1, "max": 5}
2022-11-15T13:51:09Z DEBUG actions-runner-controller.runnerreplicaset Skipped reconcilation because owner is not synced yet {"runnerreplicaset": "actions-runner-controller/self-hosted-runner-nq7g9", "owner": "actions-runner-controller/self-hosted-runner-nq7g9-62x72", "pods": null}
2022-11-15T13:51:09Z ERROR actions-runner-controller.runner Failed to get new registration token {"runner": "self-hosted-runner-nq7g9-62x72", "error": "failed to create registration token: POST https://api.github.com/repos/8x8/auto_gitops_infra8-workflow-test-tree/actions/runners/registration-token: 404 Not Found []"}
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).processRunnerCreation
/workspace/controllers/runner_controller.go:255
github.com/actions-runner-controller/actions-runner-controller/controllers.(*RunnerReconciler).Reconcile
/workspace/controllers/runner_controller.go:136
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:121
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:320
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:273
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:234
Describe the expected behavior
It should work with github token , i have check that token permission its all correct and work with manual helm deployment.
When using the same with argo cd deployment i am facing above issue
Whole Controller Logs
Whole Runner Pod Logs
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions