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

Windows runner sometimes get stuck at start #3386

Open
davhdavh opened this issue Jul 12, 2024 · 0 comments
Open

Windows runner sometimes get stuck at start #3386

davhdavh opened this issue Jul 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@davhdavh
Copy link

Describe the bug
I have configured my runners to use a local proxy (so that no runners can access anything inside the cluster)

However, every 100 or so runner pod starts I get this error:

2024-07-10 02:04:06Z: Runner connect error: No such host is known. (proxy.kube-public.svc.cluster.local:8888). Retrying until reconnected.

Single log line only, but from there it is totally stuck and never able to run any job.

To Reproduce
Steps to reproduce the behavior:

  1. Unknown

I am not sure if any retry at all happens, but this error is caused by windows sucking balls and starting without DNS working... That's windows and/or calico for windows for you, and only restarting the pod will ever fix it for you.

Expected behavior

It retried, and eventually gave up forcing the runner to reschedule another runner.

Runner Version and Platform

gha-runner-scale-set-controller:0.9.1

ENV GITHUB_RUNNER_VERSION=v2.317.0
...
CMD [ "powershell", "-c", "./config.cmd --name $env:RUNNER_NAME --url https://github.com/$env:RUNNER_REPO --token $env:RUNNER_TOKEN --labels $env:RUNNER_LABELS --unattended --replace --ephemeral; ./run.cmd"]

OS of the machine running the runner? Windows

What's not working?

Job Log Output

NA

Runner and Worker's Diagnostic Logs

2024-07-10 02:04:06Z: Runner connect error: No such host is known. (proxy.kube-public.svc.cluster.local:8888). Retrying until reconnected.
@davhdavh davhdavh added the bug Something isn't working label Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant