8000 action linux.service or linux.check_processes cannot be executed on remote host · Issue #5983 · StackStorm/st2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
action linux.service or linux.check_processes cannot be executed on remote host #5983
Closed
@docbyte86

Description

@docbyte86

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0