0

I have Rundeck community version 4.10. I have some remote nodes where the job will run some scripts on remoe node to start applications. I used SSHJ-SSH configuration for my project under Rundeck forDefault Node Executor and Default File Copier.

When I execute job from Rundeck on remote node to start application, its starting and within no time, the process is getting killed automatically and job status is shown as succeeded.

Are there any additional changes to be done on server also for rundeck configuration files?

Has any one got this issue?

Vanaan
  • 13
  • 6
  • Hi! Do you see any clue launching the job in the debug mode? Any clue in the service.log file? – MegaDrive68k Jul 13 '23 at 13:16
  • Also, please share your node definition (resources.xml or resources.yaml) to take a look. – MegaDrive68k Jul 13 '23 at 16:36
  • My nodes resources.xml file ` ` my server node followed by remotenode – Vanaan Jul 14 '23 at 05:26
  • Like this I have many nodes in resources file. Some are ubuntu 18 and few ubuntu 22. And its not producing any logs and I don't see any info in my Application.Log file on remote node after executing the job from Rundeck. The job is executing successfully and its running script and starting app on remote node as it s showing in Activity of rundeck job execution. But when I check status of that app on remote node, it shows app is not running. This problem is same in both ubuntu 18 and ubuntu 22 nodes. – Vanaan Jul 14 '23 at 05:26
  • A job definition reproducible example would be good to reproduce the behavior. Additionally, did you set the shell interpreter on the inline-script / script step? – MegaDrive68k Jul 14 '23 at 17:00
  • I changed Project configuration on Rundeck GUI. I used `OpenSSH/Executor with private key` option. Thenk it worked fine. – Vanaan Jul 20 '23 at 09:47

1 Answers1

0

I changed Project configuration on Rundeck GUI. I used OpenSSH/Executor with private key option. Then it worked fine.

Vanaan
  • 13
  • 6