Open garadar opened 1 year ago
Thanks for reporting this, sounds like a bug!
The code for linux.wait_for_ssh
action is here: https://github.com/StackStorm/st2/blob/master/contrib/linux/actions/wait_for_ssh.py
and contributions to fix the issue are welcome!
@garadar where are you keeping the ssh files ?
@nirutgupta for the user stanley in $HOME/.ssh
SUMMARY
I succeed to run core.remote (ssh conf is okay) but action linux.wait_for_ssh provided by st2 installation return error:
Paramiko error: encountered RSA key, expected OPENSSH key
STACKSTORM VERSION
OS, environment, install method
Steps to reproduce the problem
Requirement:
Steps:
st2 run core.remote hosts=node300 cmd=whoami
-> OKst2 run linux.wait_for_ssh hostname=node300 sleep_delay=2 retries=2
-> KOExpected Results
My ssh config is good:
core.remote is working:
Actual Results
the action linux.wait_for_ssh return the error:
Paramiko error: not a valid OPENSSH private key file
Thanks! :)