Ask Your Question
0

Running ODL client fails

asked 2015-10-29 08:41:29 -0800

Deivarayan gravatar image

Hi,

I have installed OPNFV Arno SR1 with Openstack and ODL. I could login to the opendaylight GUI and could see the connections. Everything is successful but when i tried to start the client and it throws an exception

[root@node-22 bin]# ./client

Logging in as g:admingroup

976 [sshd-SshClient[2eb9eee9]-nio2-thread-1] WARN org.apache.sshd.client.session.ClientSessionImpl - Exception caught

java.security.ProviderException: java.security.KeyException

at sun.security.ec.ECKeyPairGenerator.generateKeyPair(ECKeyPairGenerator.java:146)
at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:687)
at org.apache.sshd.common.kex.ECDH.getE(ECDH.java:59)
at org.apache.sshd.client.kex.AbstractDHGClient.init(AbstractDHGClient.java:78)
at org.apache.sshd.common.session.AbstractSession.doHandleMessage(AbstractSession.java:359)
at org.apache.sshd.common.session.AbstractSession.handleMessage(AbstractSession.java:295)
at org.apache.sshd.client.session.ClientSessionImpl.handleMessage(ClientSessionImpl.java:256)
at org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:731)
at org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:277)
at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:54)
at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:187)

I tried to run ./karaf but it didnt give any reponse.

Please advice how to add authentication in ODL. Thanks in advance!!!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-11-02 01:21:33 -0800

mskalski gravatar image

Hi,

Try specify username when you use client:

root@node-12:/opt/opendaylight/bin# ./client -u karaf
edit flag offensive delete link more

Comments

Thank you so much for your reply.I tried to login with karaf as a user but it didnt work :(

Deivarayan ( 2015-11-02 06:14:04 -0800 )edit

[root@node-22 bin]# ./client -u karaf Logging in as karaf 194 [sshd-SshClient[2e8f01b8]-nio2-thread-1] WARN org.apache.sshd.client.session.ClientSessionImpl - Exception caught java.security.ProviderException: java.security.KeyException

Deivarayan ( 2015-11-02 06:14:24 -0800 )edit

I tried to run karaf but it didnt work as well. The karaf script does not respond when the last line got executed : exec "<>...org.apache.karaf.main.Main"

Deivarayan ( 2015-11-02 06:16:31 -0800 )edit

My requirement is to login to Opendaylight CLI. Please advice if there is an alternative way ?

Deivarayan ( 2015-11-02 06:18:25 -0800 )edit

Any suggestions please !!! I am stuck for the past one week :(

Deivarayan ( 2015-11-08 01:13:47 -0800 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2015-10-29 08:41:29 -0800

Seen: 172 times

Last updated: Nov 02 '15