-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hello kdebisschop, I hope you are doing well in this strange period :-/
I come back to you regarding a problem I have with "Inline script".
I have started a new rundeck instance from scratch to be sure to not get disturbances from other plugins or features, add the plugin and make a simple bash Inline script executing the hostname command.
Rundeck is connected via the plugin to a Rancher instance managing about 200 containers.
The bug is that time to time, the execution of the script is not done with this error:
"chmod: cannot access /tmp/117-28-custeuro_preprod-custeuro-app-com-rsl-task-pre-prod-custeuro-app-com-1-dispatch-script.tmp.sh: No such file or directory"
and the fact is that the temporary file is present on the container:
ls -lrt /tmp/117-28-custeuro_preprod-custeuro-app-com-rsl-task-pre-prod-custeuro-app-com-1-dispatch-script.tmp.sh
-rw-r--r-- 1 root root 42 14 avril 13:58 /tmp/117-28-custeuro_preprod-custeuro-app-com-rsl-task-pre-prod-custeuro-app-com-1-dispatch-script.tmp.sh
So the script has well been copied, but for any reason it has not been found to be executed.
The screenshots display the same job executed twice, one succeed and the other failed.
I tried many different settings modifications (Sync cache,cache delay, refresh nodes before execute, use scp or rancher copy, include services, global containers, system containers ...), but the problem is till present.
If I use the generic command menu of the project to launch the 'hostname' command on nodes, I do not get any issue.
Any idea what could cause this behavior ?
Thank you for your help.
Regards,