Hi all,
I've just started developing a PoC using Rundeck, I'm trying to
demonstrate the inline script ability and having trouble running it on
my remote nodes.
Normal command jobs run fine over all my servers, however when I
specify a simple inline script..
#!/bin/bash
echo foobar
... it runs fine on itself ([console]) and returns success, but it
fails on the remote nodes, when I re-run the failed nodes in debug I
get
04:49:30 ExecutionItem created, executing: dscript:
com.dtolabs.rundeck.execution.BaseWorkflowStrategy$3@47204204
04:49:30 added build listener
04:49:30 number of nodes to dispatch to: 1, (threadcount=1)
04:49:30 Adding reference:
com.dtolabs.rundeck.core.cli.DefaultNodeDispatcher:
node.name
04:49:30 Adding reference:
com.dtolabs.rundeck.core.cli.DefaultNodeDispatcher:node.user
04:49:30 executeNodeDispatch: number of nodes to dispatch to: 1,
(threadcount=1)
04:49:30 preparing for sequential execution...
04:49:30 Executing command on node: node1,
NodeEntryImpl{nodename=node1,hostname=node1,type=Node,osName=null,osArch=null,osFamily=null,osVersion=null,username=root,tags=[],attributes=null}
04:49:30 preparing for remote execution ...
04:49:30 0: command( script: #!/bin/bash echo foobar)
04:49:30 ExecutionItem created, executing: dscript:
com.dtolabs.rundeck.execution.BaseWorkflowStrategy$3@4f1932fe
04:49:30 added build listener
04:49:30 number of nodes to dispatch to: 1, (threadcount=1)
04:49:30 Adding reference:
com.dtolabs.rundeck.core.cli.DefaultNodeDispatcher:
node.name
04:49:30 Adding reference:
com.dtolabs.rundeck.core.cli.DefaultNodeDispatcher:node.user
04:49:30 executeNodeDispatch: number of nodes to dispatch to: 1,
(threadcount=1)
04:49:30 preparing for sequential execution...
04:49:30 Executing command on node: node2,
NodeEntryImpl{nodename=node2,hostname=node2,type=Node,osName=null,osArch=null,osFamily=null,osVersion=null,username=root,tags=[],attributes=null}
04:49:30 preparing for remote execution ...
[console]
SEVERE 04:49:30 Execution failed on the following 12 nodes: [node1,
node2, <full list snipped by poster> ] at
com.dtolabs.rundeck.core.cli.DefaultNodeDispatcher.executeNodedispatch(DefaultNodeDispatcher.java:
172) at
com.dtolabs.rundeck.execution.NodeFirstWorkflowStrategy.executeWorkflow(NodeFirstWorkflowStrategy.java:
90) at
com.dtolabs.rundeck.execution.WorkflowAction.executeWorkflow(WorkflowAction.java:
53) at
com.dtolabs.rundeck.execution.WorkflowExecutor.executeWorkflow(WorkflowExecutor.java:
72) at
com.dtolabs.rundeck.execution.WorkflowExecutor.executeItem(WorkflowExecutor.java:
56) at
com.dtolabs.rundeck.core.execution.ExecutionServiceImpl.executeItem(ExecutionServiceImpl.java:
49) at
com.dtolabs.rundeck.core.execution.ExecutionServiceThread.run(ExecutionServiceThread.java:
56)
Can anyone point me in the right direction here?
Many Thanks in advance,
Craig