Skip to content

Unexpected Removal of Runner from Production After VM Shutdown #3764

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

Open
Sidharth-Chandra opened this issue Mar 24, 2025 · 2 comments
Open
Labels
bug Something isn't working

Comments

@Sidharth-Chandra
Copy link

Sidharth-Chandra commented Mar 24, 2025

After shutting down and restarting the Dev and QA VM hosting our self-hosted runner, the Dev and QA runners were unexpectedly removed from the runner's list. We have been following this process for several months without any issues, but this behavior happened for the first time. Production is currently inactive but still accepting jobs.

Steps to reproduce the behavior:

  1. Have a self-hosted runner running on a VM.
  2. Shut down the VM.
  3. Restart the VM and check the runner status.
  4. Observe that the runner has been removed.

Expected behavior
The runner should persist after a VM restart and automatically reconnect upon boot, as it has done in the past.

Runner Version and Platform
Platform: linux

Image Image Image
@Sidharth-Chandra Sidharth-Chandra added the bug Something isn't working label Mar 24, 2025
@TingluoHuang
Copy link
Member

Can you share the runner diag log? 🙇

@bylidev
Copy link

bylidev commented Apr 13, 2025

Maybe you are not properly binding some required files

-rw-r--r-- 1 runner 1001 268 Apr 7 22:45 .credentials
-rw------- 1 runner 1001 1667 Apr 7 22:45 .credentials_rsaparams

I changed the entrypoint to fix this problem https://github.com/byli-dev/github-runner

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

3 participants