This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

⚠️ We've moved!

Hi there!

To reduce project dependency on 3rd party paid services the StackStorm TSC has decided to move the Q/A from this forum to Github Discussions. This will make user experience better integrated with the native Github flow, as well as the questions closer to the community where they can provide answers.

Use 🔗 Github Discussions to ask your questions.

In st2 k8s deployment, getting `File does not exist` - while running script on remote server using custom pack

ST2 version: 3.5

While trying to run the script on the remote server, getting the below error:

Inside st2client:
$st2 run samplepack.run_remote_script
error: Failed copying content to remote boxes. Local path /opt/stackstorm/packs/samplepack/actions/ does not exist.
failed: true
return_code: 255
succeeded: false
traceback: " File “/opt/stackstorm/st2/lib/python3.6/site-packages/remote_runner/”, line 50, in _run
copy_results = self._copy_artifacts(remote_action)
File “/opt/stackstorm/st2/lib/python3.6/site-packages/remote_runner/”, line 108, in _copy_artifacts
File “/opt/stackstorm/st2/lib/python3.6/site-packages/st2common/runners/”, line 177, in put
raise Exception(“Local path %s does not exist.” % local_path)


runner_type: “remote-shell-script”
description: “remote shell runner”
enabled: true
name: run_remote_script
pack: st2testclassic
entry_point: “”
required: true
type: string
default: “date”
required: true
type: string
default: “xxxx”
required: true
type: string
default: “xxxx”
type: “string”
description: “Address of the syslog server”
required: true
default: “
immutable: true
default: true

But the script is present, as shwon below in the st2client :