Replies: 6 comments
-
|
Are the other linux actions via st2 running OK on that host? |
Beta Was this translation helpful? Give feedback.
-
|
hi, thank you for the reply. None of the linux actions succeed. |
Beta Was this translation helpful? Give feedback.
-
|
actually, linux.vmstat succeeded successfully. id: 62eadf6e41d5b8bf495e3be2 |
Beta Was this translation helpful? Give feedback.
-
|
I got this resolved. First it was a cryptography issue with paramiko on the stackstorm server. Not sure if it was the pip3 install paramiko or the pip3 update to paramkio that fixed that one. Second, it was an sftp issue. Had to change a line in /etc/ssh/sshd_config from Subsystem sftp /usr/lib/openssh/sftp-server to Subsystem sftp /usr/libexec/openssh/sftp-server. Third, i did a pip3 install st2client on the remote host I was trying to run check_loadavg against. Lastly, created a python link in /opt/stackstorm/st2/bin/ on the remote host. I forgot this but I think before all of this, I had to do a pip3 install orjson on the stackstorm server |
Beta Was this translation helpful? Give feedback.
-
|
I suppose I should mention it really helped to go through the st2actionrunner logs in /var/log/st2 |
Beta Was this translation helpful? Give feedback.
-
|
[root]# st2 run linux.check_loadavg hosts='xxx.xx.x.xxx' |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
I'm new to Stackstorm, I'm getting this error when trying to run linux.check_loadavg from the Stackstorm server to a remote host or to itself. Any advice would be greatly appreciated. Thanks in advance
st2 --version
st2 3.7.0, on Python 3.8.12
failed connecting to host q must be exactly 160, 224, or 256 bits long
and
failed: true
return_code: 127
stderr: 'bash: /tmp/62e80e250e6a518eabd95ff4/check_loadavg.py: No such file or directory'
stdout: ''
succeeded: false
Beta Was this translation helpful? Give feedback.
All reactions