[ControlTier] ctl-exec parallel -K and -F flag doesn't work

2 views
Skip to first unread message

Charles Scott

unread,
May 14, 2010, 8:28:40 PM5/14/10
to contr...@googlegroups.com
Not sure what's wrong....

I am iterating over a long comma separated list, using -K and -F
it aborts and does not provide any output on what is failing with respect to -F flag....

Any idea what this is?


dnbiadm@~/bin:$ ctl-exec -v -K -F bogusnodes -C 18 -p Dnbgp -I $list -- hostname
...
...
..
Connecting to lnx527.us.dnb.com:22
Connecting to lnx528.us.dnb.com:22
Connecting to lnx533.us.dnb.com:22
cmd : hostname
cmd : hostname
cmd : hostname
cmd : hostname
lnx472
cmd : hostname
cmd : hostname
cmd : hostname
cmd : hostname
cmd : hostname
cmd : hostname
cmd : hostname
cmd : hostname
cmd : hostname
cmd : hostname
cmd : hostname
lnx474
lnx475
cmd : hostname
lnx473
lnx476
lnx515
lnx517
lnx516
lnx477
lnx518
lnx520
lnx527
lnx519
lnx521
lnx528
lnx533

com.jcraft.jsch.JSchException: Auth fail
com.jcraft.jsch.JSchException: Auth fail
at org.apache.tools.ant.taskdefs.Parallel.spinThreads(Parallel.java:380)
at org.apache.tools.ant.taskdefs.Parallel.execute(Parallel.java:205)
at com.controltier.ctl.cli.CtlExec.executeNodedispatch(CtlExec.java:939)
at com.controltier.ctl.cli.CtlExec$CommandAction.doAction(CtlExec.java:1105)
at com.controltier.ctl.cli.CtlExec.run(CtlExec.java:399)
at com.controltier.ctl.cli.CtlExec.main(CtlExec.java:504)
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:585)
at launcher.CtlExecLauncher.main(CtlExecLauncher.java:31)


dnbiadm@~/bin:$ cat bogusnodes
cat: bogusnodes: No such file or directory


--
You received this message because you are subscribed to the Google Groups "ControlTier" group.
To post to this group, send email to contr...@googlegroups.com
To unsubscribe from this group, send email to controltier...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/controltier?hl=en
http://wiki.controltier.org

Alex-SF

unread,
May 14, 2010, 8:35:28 PM5/14/10
to ControlTier
I recently just experienced this too. It seems the exception handling
is incorrect for SSH errors and causes ctl-exec to fail immediately.
This is a bug.
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:25)
Reply all
Reply to author
Forward
0 new messages