actions / actions/actions-runner-controller
Error: Unable to locate executable file: ssh
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 6.5k
- Forks
- 1.5k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 27
Description
Checks
- I've already read https://github.com/actions/actions-runner-controller/blob/master/TROUBLESHOOTING.md and I'm sure my issue is not covered in the troubleshooting guide.
- I'm not using a custom entrypoint in my runner image
Controller Version
summerwind/actions-runner-controller:v0.27.5
Helm Chart Version
0.23.5
CertManager Version
1.13.1
Deployment Method
Helm
cert-manager installation
Yes
Cert-manager is working fine
Checks
- This isn't a question or user support case (For Q&A and community support, go to Discussions. It might also be a good idea to contract with any of contributors and maintainers if your business is so critical and therefore you need priority support
- I've read releasenotes before submitting this issue and I'm sure it's not due to any recently-introduced backward-incompatible changes
- My actions-runner-controller version (v0.x.y) does support the feature
- I've already upgraded ARC (including the CRDs, see charts/actions-runner-controller/docs/UPGRADING.md for details) to the latest and it didn't fix the issue
- I've migrated to the workflow job webhook event (if you using webhook driven scaling)
Resource Definitions
N/A
To Reproduce
You can exec into a pod and try to clone a repository and will get an error regarding ssh package not being installed
Describe the bug
Since yesterday at around 14h Paris time, our ci jobs started to fail with error
Error: Unable to locate executable file: ssh. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
Describe the expected behavior
Expected behavior : be able to clone a git repository (with action/checkout for example)
Whole Controller Logs
N/A
Whole Runner Pod Logs
N/A
Additional Context
Our team rebuild the docker image by adding the ssh client again
Example bellow (i do not recommend using latest)
FROM summerwind/actions-runner:latest
USER root
RUN apt-get update -y \
&& apt-get install openssh-client -y \
&& rm -rf /var/lib/apt/lists/*
USER runner
My question is : did the summerwind contributors removed the ssh clients ? If yes, where could we have been informed of the change ?
I'm posting this because others might run into the same issue and i wanted to offer a quick solution, i hope that's okay !
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the summerwind/actions-runner image definition and comparing the v0.27.5 release information with docs/releasenotes and TROUBLESHOOTING.md. Reproduce the missing ssh executable in a runner pod, then verify that the documented image or migration path lets action/checkout clone repositories successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, github-actions, kubernetes
- Domain
- ci-cd, devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100