Unable to register remote node

151 views
Skip to first unread message

MartinMiddleton

unread,
Oct 30, 2009, 10:44:02 AM10/30/09
to ControlTier
I'm trying to register a node in order to install the controltier
client. I've verified that SSH is working properly (no password
required) from the app server but when I run a test such as "ctl-exec
-- uname -a", I get the following response:
ctl-exec -- uname -a
number of nodes to dispatch to: 2, (threadcount=1)
Linux ubuntu9 2.6.28-16-generic #55-Ubuntu SMP Tue Oct 20 19:48:24 UTC
2009 i686 GNU/Linux
Connecting to solaris1:22
error: com.jcraft.jsch.JSchException: Algorithm negotiation fail

I'm running 3.4.8 w/Java 1.6. I saw the same error with Java 1.5.0.21.

Any help is appreciated.

Alex-SF

unread,
Oct 30, 2009, 11:41:11 AM10/30/09
to ControlTier
Hi Martin,
Can you run ctl-exec with the verbose flag? It will show a stack
trace. EG ctl-exec -v -- uname -a

On Oct 30, 7:44 am, MartinMiddleton <martin.middle...@omgeo.com>
wrote:

MartinMiddleton

unread,
Oct 30, 2009, 12:09:57 PM10/30/09
to ControlTier
$ ctl-exec -v -- uname -a
number of nodes to dispatch to: 3, (threadcount=1)
preparing for sequential execution...
preparing for local execution ...
dispatching to proxy on node: localhost
Current OS is Linux
Project base dir set to: /home/martin/ctier/bin
Executing '/bin/sh' with arguments:
'-c'
'uname -a'

The ' characters around the executable and arguments are
not part of the command.
Linux ubuntu9 2.6.28-16-generic #55-Ubuntu SMP Tue Oct 20 19:48:24 UTC
2009 i686 GNU/Linux
preparing for remote execution ...
dispatching to proxy on node: vsolaris-1
Connecting to solaris1:22
com.jcraft.jsch.JSchException: Algorithm negotiation fail
at org.apache.tools.ant.taskdefs.optional.ssh.SSHExec.execute
(SSHExec.java:188)
at com.controltier.ctl.cli.CtlExec$ExecutableTaskImpl.execute
(CtlExec.java:1048)
at com.controltier.ctl.cli.CtlExec.executeNodedispatch(CtlExec.java:
950)
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)
Caused by: com.jcraft.jsch.JSchException: Algorithm negotiation fail
at com.jcraft.jsch.Session.receive_kexinit(Session.java:521)
at com.jcraft.jsch.Session.connect(Session.java:285)
at com.jcraft.jsch.Session.connect(Session.java:142)
at org.apache.tools.ant.taskdefs.optional.ssh.SSHBase.openSession
(SSHBase.java:212)
at org.apache.tools.ant.taskdefs.optional.ssh.SSHExec.execute
(SSHExec.java:158)
... 10 more
--- Nested Exception ---
com.jcraft.jsch.JSchException: Algorithm negotiation fail
at com.jcraft.jsch.Session.receive_kexinit(Session.java:521)
at com.jcraft.jsch.Session.connect(Session.java:285)
at com.jcraft.jsch.Session.connect(Session.java:142)
at org.apache.tools.ant.taskdefs.optional.ssh.SSHBase.openSession
(SSHBase.java:212)
at org.apache.tools.ant.taskdefs.optional.ssh.SSHExec.execute
(SSHExec.java:158)
at com.controltier.ctl.cli.CtlExec$ExecutableTaskImpl.execute
(CtlExec.java:1048)
at com.controltier.ctl.cli.CtlExec.executeNodedispatch(CtlExec.java:
950)
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)
> > Any help is appreciated.- Hide quoted text -
>
> - Show quoted text -

Alex-SF

unread,
Oct 30, 2009, 1:22:05 PM10/30/09
to ControlTier
Not sure this is related but take a look here: OpenSolaris Update
causes SSH to the storage box to fail. (Bug ID 6812829)

http://wikis.sun.com/display/VDI3/Release+Notes#ReleaseNotes-OpenSolarisUpdatecausesSSHtothestorageboxtofail.(BugID6812829)


On Oct 30, 9:09 am, MartinMiddleton <martin.middle...@omgeo.com>
wrote:

Alex-SF

unread,
Oct 30, 2009, 1:38:14 PM10/30/09
to ControlTier
Another idea would be to upgrade the Jsch Jar. Looks like the one
included by the installer is fairly old. Try the newest one:
http://sourceforge.net/projects/jsch/ and replace the one in CTL_HOME/
pkgs/apache-ant-1.7.1p1/lib/

On Oct 30, 10:22 am, Alex-SF <aho...@users.sourceforge.net> wrote:
> Not sure this is related but take a look here: OpenSolaris Update
> causes SSH to the storage box to fail. (Bug ID 6812829)
>
> http://wikis.sun.com/display/VDI3/Release+Notes#ReleaseNotes-OpenSola...)

MartinMiddleton

unread,
Nov 2, 2009, 10:47:55 AM11/2/09
to ControlTier
Thanks for the link. This led to the solution, which was to add the
following to /etc/ssh/sshd_config:

Ciphers aes256-cbc,aes128-cbc,3des-cbc

This seems to apply to any version of OpenSolaris after 101b.

On Oct 30, 12:22 pm, Alex-SF <aho...@users.sourceforge.net> wrote:
> Not sure this is related but take a look here: OpenSolaris Update
> causesSSHto the storage box to fail. (Bug ID 6812829)
>
> http://wikis.sun.com/display/VDI3/Release+Notes#ReleaseNotes-OpenSola...)
> > > > client. I've verified thatSSHis working properly (no password
> > > > required) from the app server but when I run a test such as "ctl-exec
> > > > -- uname -a", I get the following response:
> > > > ctl-exec -- uname -a
> > > > number of nodes to dispatch to: 2, (threadcount=1)
> > > > Linux ubuntu9 2.6.28-16-generic #55-Ubuntu SMP Tue Oct 20 19:48:24 UTC
> > > > 2009 i686 GNU/Linux
> > > > Connecting to solaris1:22
> > > > error: com.jcraft.jsch.JSchException: Algorithm negotiation fail
>
> > > > I'm running 3.4.8 w/Java 1.6. I saw the same error with Java 1.5.0.21.
>
> > > > Any help is appreciated.- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
Reply all
Reply to author
Forward
0 new messages