actions / actions-runner-controller

Kubernetes controller for GitHub Actions self-hosted runners
Apache License 2.0
4.72k stars 1.12k forks source link

Fix error in Action Runner System when computing replicas #2698

Open rakeshganjoo opened 1 year ago

rakeshganjoo commented 1 year ago

Checks

Controller Version

0.17.3

Helm Chart Version

0.17.3

CertManager Version

No response

Deployment Method

Helm

cert-manager installation

Yes installed correctly

Checks

Resource Definitions

-

To Reproduce

- I do not know what would reproduce this issue for now

Describe the bug

he specific error message encountered is: Action Runner System - Could not compute replicas: {"horizontalrunnerautoscaler": "actions-runner-system/k8s-runners-autoscaler", "error": "listing queued workflow runs: failed to list workflow runs: GET https://github./actions/runs?per_page=100&status=queued: 404 Not Found []"} • The error is preventing the Action Runner System from properly listing queued workflow runs, resulting in the inability to compute replicas accurately.

Describe the expected behavior

I should be able to GET the API call

Whole Controller Logs

he specific error message encountered is: Action Runner System - Could not compute replicas: {"horizontalrunnerautoscaler": "actions-runner-system/k8s-runners-autoscaler", "error": "listing queued workflow runs: failed to list workflow runs: GET https://github.<URL>/actions/runs?per_page=100&status=queued: 404 Not Found []"}
• The error is preventing the Action Runner System from properly listing queued workflow runs, resulting in the inability to compute replicas accurately.

Whole Runner Pod Logs

he specific error message encountered is: Action Runner System - Could not compute replicas: {"horizontalrunnerautoscaler": "actions-runner-system/k8s-runners-autoscaler", "error": "listing queued workflow runs: failed to list workflow runs: GET https://github.<URL>/actions/runs?per_page=100&status=queued: 404 Not Found []"}
• The error is preventing the Action Runner System from properly listing queued workflow runs, resulting in the inability to compute replicas accurately.

Additional Context

github-actions[bot] commented 1 year ago

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.

michalziobro commented 11 months ago

I'm also having the same issue, did you manage to resolve it?

afernandez-01 commented 4 days ago

+1