Description
SUMMARY
Get error "/opt/stackstorm/st2/bin/python: bad interpreter: No such file or directory" while using the corresponding actions.
The actions will be executed on a remote host and not on the stack storm controller.
On the remote host is stackstorm not installed and therefore the path does not exist.
The path exists on my stackstorm controller.
STACKSTORM VERSION
Paste the output of st2 --version
: st2 3.8.0, on Python 3.8.13
OS, environment, install method
Post what OS you are running this on, along with any other relevant information/
- Red Hat Enterprise Linux release 8.7 (Ootpa)
- Installed via Ansible Collection
Steps to reproduce the problem
Affected (tested) actions: linux.service and linux.check_processes
Error notification:
{
"***********": {
"stdout": "",
"stderr": "bash: /tmp/6479d198cc128630e940fb88/service.py: /opt/stackstorm/st2/bin/python: bad interpreter: No such file or directory",
"return_code": 126,
"succeeded": false,
"failed": true
}
}
Expected Results
Get status of the services in linux.services or status of the process in linux.check_processes.
Actual Results
See Error notification.