You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the following error on Rundeck 2.6.6 (Windows 2012R2 server) when using the URL resource:
Execute failed: java.io.IOException: Cannot run program "\bin\sh": CreateProcess error=2, The system cannot find the file specified
11:26:02 Failed: NonZeroResultCode: Result code was -1
11:26:02 Execution failed: 5290: [Workflow result: , step failures: {2=Dispatch failed on 1 nodes: [server.domain.com: NonZeroResultCode: Result code was -1]}, Node failures: {server.domain.com=[NonZeroResultCode: Result code was -1]}, status: failed]
When I change the lib/chef-rundeck.rb line 174 from:
I am getting the following error on Rundeck 2.6.6 (Windows 2012R2 server) when using the URL resource:
Execute failed: java.io.IOException: Cannot run program "\bin\sh": CreateProcess error=2, The system cannot find the file specified
11:26:02 Failed: NonZeroResultCode: Result code was -1
11:26:02 Execution failed: 5290: [Workflow result: , step failures: {2=Dispatch failed on 1 nodes: [server.domain.com: NonZeroResultCode: Result code was -1]}, Node failures: {server.domain.com=[NonZeroResultCode: Result code was -1]}, status: failed]
When I change the lib/chef-rundeck.rb line 174 from:
os_family = node['kernel_os'] =~ /winnt|windows/i ? 'winnt' : 'unix'
to:
os_family = node['kernel_os'] =~ /winnt|windows/i ? 'windows' : 'unix'
my job executes successfully.
Is there a know issue for this?
The text was updated successfully, but these errors were encountered: