Costin Caraivan
unread,Jun 24, 2011, 4:24:33 PM6/24/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to contr...@googlegroups.com
Hello,
I'm trying to install a package on multiple nodes, on 2 ControlTier servers. On one server it works, on another it doesn't. This is the job.xml for 1 server:
<joblist>
<job>
<id>102</id>
<name>Install InvokeCmd</name>
<description></description>
<additional />
<loglevel>INFO</loglevel>
<group>Administration</group>
<context>
<project>SERVER1</project>
</context>
<sequence threadcount='1' keepgoing='false' strategy='node-first'>
<command resource='InvokeCmd.Exe' name='Install' module='file'>
<arg line='-nodeps false -nodir false -nomodule false -nopackageinstall false -noproperties false' />
</command>
</sequence>
<nodefilters excludeprecedence='true'>
<include>
<name>.*</name>
</include>
</nodefilters>
<dispatch>
<threadcount>1</threadcount>
<keepgoing>false</keepgoing>
</dispatch>
</job>
</joblist>
For server 2 it's the same thing, with SERVER2.
And this is the error message:
[bcctier@client1 dc1_STAGING.file.InvokeCmd.Exe Install][WARN] Workflow completed. execution time: 5.844 sec
0: ExecutionItem finished, result: BaseExecutionResult{resultObject=BaseActionResult{outputproperty=output, errorproperty=error, resultproperty=result, returnpropertylist=null, outputString=null, errorString=null, isSucessful=true, exception=null}, success=true, exception=null}
log4j:ERROR Could not connect to remote log4j server at [server1]. We will try again later.
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
[...]
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:316)
at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:324)
at com.controltier.ctl.cli.AbstractCtlMain.parseArgs(AbstractCtlMain.java:156)
at com.controltier.ctl.cli.BaseCtlMain.parseArgs(BaseCtlMain.java:124)
at com.controltier.ctl.cli.CtlMain.parseArgs(CtlMain.java:173)
at com.controltier.ctl.cli.AbstractCtlMain.run(AbstractCtlMain.java:240)
at com.controltier.ctl.cli.CtlMain.main(CtlMain.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at launcher.CtlLauncher.main(CtlLauncher.java:34)
No matched nodes: NodeSet{}
Setting project property: sshexec.output -> Including ctierrc.
log4j:ERROR Could not connect to remote log4j server at [server1]. We will try again later.
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
[...]
at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:324)
at com.controltier.ctl.cli.AbstractCtlMain.parseArgs(AbstractCtlMain.java:156)
at com.controltier.ctl.cli.BaseCtlMain.parseArgs(BaseCtlMain.java:124)
at com.controltier.ctl.cli.CtlMain.parseArgs(CtlMain.java:173)
at com.controltier.ctl.cli.AbstractCtlMain.run(AbstractCtlMain.java:240)
at com.controltier.ctl.cli.CtlMain.main(CtlMain.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at launcher.CtlLauncher.main(CtlLauncher.java:34)
No matched nodes: NodeSet{}
Step 0 of the workflow threw an exception: Remote command failed with exit status 3,com.controltier.ctlcenter.execution.WorkflowAction$WorkflowStepFailureException: Step 0 of the workflow threw an exception: Remote command failed with exit status 3
at com.controltier.ctl.cli.CallableWrapperTask.execute(CallableWrapperTask.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[...]
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Parallel$TaskRunnable.run(Parallel.java:433)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.controltier.ctlcenter.execution.WorkflowAction$WorkflowStepFailureException: Step 0 of the workflow threw an exception: Remote command failed with exit status 3
at com.controltier.ctlcenter.execution.BaseWorkflowStrategy.executeWFItem(BaseWorkflowStrategy.java:335)
at com.controltier.ctlcenter.execution.BaseWorkflowStrategy.executeWorkflowItemsForNodeSet(BaseWorkflowStrategy.java:354)
at com.controltier.ctlcenter.execution.NodeFirstWorkflowStrategy$1.call(NodeFirstWorkflowStrategy.java:119)
at com.controltier.ctl.cli.CallableWrapperTask.execute(CallableWrapperTask.java:52)
... 15 more
Caused by: Remote command failed with exit status 3
at com.controltier.ctl.tasks.net.CtlSSHExec.executeCommand(CtlSSHExec.java:347)
at com.controltier.ctl.tasks.net.CtlSSHExec.execute(CtlSSHExec.java:220)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[...]
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at com.controltier.ctl.tasks.controller.node.SshCommand.execute(SshCommand.java:170)
at com.controltier.ctl.tasks.controller.node.ActionProxyDispatcher$1$1.call(ActionProxyDispatcher.java:149)
at com.controltier.ctl.cli.DefaultNodeDispatcher.executeNodedispatch(DefaultNodeDispatcher.java:153)
at com.controltier.ctl.tasks.controller.node.ActionProxyDispatcher.dispatch(ActionProxyDispatcher.java:140)
at com.controltier.ctl.tasks.controller.node.BaseExecutableTask.execute(BaseExecutableTask.java:37)
at com.controltier.ctl.tasks.controller.node.NodeDispatchAction.perform(NodeDispatchAction.java:71)
at com.controltier.ctl.execution.defined.DefinedCommandDispatchAction.perform(DefinedCommandDispatchAction.java:90)
at com.controltier.ctl.execution.DispatchedCommandExecutor.executeDispatchedCommand(DispatchedCommandExecutor.java:63)
at com.controltier.ctl.execution.DispatchedCommandExecutor.executeItem(DispatchedCommandExecutor.java:53)
at com.controltier.ctl.execution.ExecutionServiceImpl.executeItem(ExecutionServiceImpl.java:49)
at com.controltier.ctlcenter.execution.BaseWorkflowStrategy.executeWFItem(BaseWorkflowStrategy.java:300)
... 18 more