Error: Unable to locate executable file: ssh

Aperta
#4,297 6 commenti 8 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
docker, github-actions, kubernetes

Direzione di ricerca

Inizia ispezionando la definizione dell’immagine di summerwind/actions-runner e confrontando le informazioni sulla release v0.27.5 con docs/releasenotes e TROUBLESHOOTING.md. Riproduci l’assenza dell’eseguibile ssh in un pod del runner, quindi verifica che l’immagine documentata o il percorso di migrazione permetta ad action/checkout di clonare correttamente i repository.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug community needs triage
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 !

Lingua principale
Go
Stelle
6.7k
Fork
1.5k
Merge medio
1h 34m
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di actions/actions-runner-controller

Tutte le issue di actions/actions-runner-controller

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.