Uploaded image for project: 'odlparent'
  1. odlparent
  2. ODLPARENT-33

ssh problems lead to netconf connector problems and bin/client failures

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 5923

    Description

      https://jenkins.opendaylight.org/bgpcep/job/bgpcep-csit-1node-userfeatures-only-boron/

      the problems i ma hitting are the following ones:
      1) bin/client is not able to connect to karaf
      [odl@tobereplaced distribution-karaf-0.5.0-SNAPSHOT]$ ./bin/client -u karaf
      client: JAVA_HOME not set; results may vary
      Logging in as karaf
      453 [sshd-SshClient[694f9431]-nio2-thread-1] WARN org.apache.sshd.client.session.ClientSessionImpl - Exception caught
      java.security.NoSuchAlgorithmException: EC KeyPairGenerator not available
      at java.security.KeyPairGenerator.getInstance(KeyPairGenerator.java:218)
      at org.apache.sshd.common.util.SecurityUtils.getKeyPairGenerator(SecurityUtils.java:155)
      at org.apache.sshd.common.kex.ECDH.<init>(ECDH.java:51)
      at org.apache.sshd.client.kex.ECDHP256.getDH(ECDHP256.java:48)
      at org.apache.sshd.client.kex.AbstractDHGClient.init(AbstractDHGClient.java:71)
      at org.apache.sshd.common.session.AbstractSession.doHandleMessage(AbstractSession.java:390)
      at org.apache.sshd.common.session.AbstractSession.handleMessage(AbstractSession.java:326)
      at org.apache.sshd.client.session.ClientSessionImpl.handleMessage(ClientSessionImpl.java:306)
      at org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:780)
      at org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:308)
      at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:54)
      at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:184)
      at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:170)
      at org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:32)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:30)
      at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
      at sun.nio.ch.Invoker.invokeDirect(Invoker.java:157)
      at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553)
      at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
      at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
      at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
      at org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:170)
      at org.apache.sshd.common.io.nio2.Nio2Connector$1.onCompleted(Nio2Connector.java:60)
      at org.apache.sshd.common.io.nio2.Nio2Connector$1.onCompleted(Nio2Connector.java:53)
      at org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:32)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:30)
      at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
      at sun.nio.ch.Invoker$2.run(Invoker.java:218)
      at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
      Authentication failed
      [odl@tobereplaced distribution-karaf-0.5.0-SNAPSHOT]$

      i use
      java -version
      openjdk version "1.8.0_51"
      OpenJDK Runtime Environment (build 1.8.0_51-b16) OpenJDK 64-Bit Server VM (build 25.51-b03, mixed mode)

      2) i am unable to configure e.g. bgp peer via netconf connector, because i receive 404 every time i want to use it.

      I believe this 2 things are related together.
      POssibly https://bugs.opendaylight.org/show_bug.cgi?id=5917 is something similar.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            pgubka@cisco.com Peter Gubka
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: