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

restarting a node over SSH fails #727

Open
alinos opened this issue Nov 25, 2024 · 0 comments
Open

restarting a node over SSH fails #727

alinos opened this issue Nov 25, 2024 · 0 comments

Comments

@alinos
Copy link

alinos commented Nov 25, 2024

Is this a BUG REPORT or FEATURE REQUEST?

Choose one: BUG REPORT or FEATURE REQUEST

What happened:
image

$ kubectl logs -n litmus node-restart-helper-e3qqkz
/bin/sh: line 1: ssh: command not found

What you expected to happen:
Experiments restarting a node over SSH fails in the ubi9 go-runner container environment.

How to reproduce it (as minimally and precisely as possible):
This issue occurs in version 3.11 and later.

  • Reproduce inside a container
$ echo $LIB_IMAGE
litmuschaos.docker.scarf.sh/litmuschaos/go-runner:3.12.0
$ which ssh
/usr/bin/which: no ssh in (/litmus/.local/bin:/litmus/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
$ sudo yum install -y openssh-clients
$ which ssh
/usr/bin/ssh

Anything else we need to know?:
plz add the openssh-clients package.

# Install generally useful things
RUN yum install -y \
sudo \
sshpass \
procps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant