Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Unable to run an action implemented by bin/tcsh (default bash in machine is tcsh) #4304
Unable to run an action implemented by bin/tcsh (default bash in machine is tcsh),
OS / ENVIRONMENT / INSTALL METHOD
STEPS TO REPRODUCE
st2 run core.remote cmd=whoami hosts=machinename username=user password=password
Should have shown the result for whoami, as works with root where deafult bash env is /bin/bash
Not able to run the bash command, because the shell env is bin/tcsh
Right now we only officially support bash.
We have no ETA for tcsh / other shell support at the moment, so a possible workaround for you would be to install bash on your end host / container (if possible).
EDIT: It looks like bash is already available in that container. So a possible workaround would be to change shell for that user to
Just to make it explicit: StackStorm does not currently support the csh, tcsh, ksh, or fish shells.
It might work for zsh shells, but only because zsh is largely backwards compatible with bash. There is absolutely no guarantee that StackStorm will work with zsh. We do not know if it will work with zsh, and we do not run our tests with zsh. If you use zsh you are on your own.