Skip to content

Error: Unable to locate executable file: ssh #4297

@ianbabysre

Description

@ianbabysre

Checks

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 !

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcommunityCommunity contributionneeds triageRequires review from the maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions