Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-235

Cannot connect to Netconf device due to missing AsyncSshHandler

    XMLWordPrintable

Details

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

    • 6273

    Description

      Tested on: Boron

      Any attempt to connect to a Netconf device is rejected with the following error logged:

      2016-07-26 12:54:06,067 | WARN | oupCloseable-3-2 | ChannelInitializer | 112 - io.netty.common - 4.0.37.Final | Failed to initialize a channel. Closing: [id: 0xbb2172d0]
      java.lang.NoClassDefFoundError: Could not initialize class org.opendaylight.netconf.nettyutil.handler.ssh.client.AsyncSshHandler
      at org.opendaylight.netconf.client.SshClientChannelInitializer.initialize(SshClientChannelInitializer.java:34)
      at org.opendaylight.netconf.client.NetconfClientDispatcherImpl$4.initializeChannel(NetconfClientDispatcherImpl.java:117)
      at org.opendaylight.netconf.client.NetconfClientDispatcherImpl$4.initializeChannel(NetconfClientDispatcherImpl.java:114)
      at org.opendaylight.protocol.framework.ReconnectPromise$1.initializeChannel(ReconnectPromise.java:52)
      at org.opendaylight.protocol.framework.ReconnectPromise$1.initializeChannel(ReconnectPromise.java:49)
      at org.opendaylight.protocol.framework.AbstractDispatcher$3.initChannel(AbstractDispatcher.java:194)
      at org.opendaylight.protocol.framework.AbstractDispatcher$3.initChannel(AbstractDispatcher.java:191)
      at io.netty.channel.ChannelInitializer.channelRegistered(ChannelInitializer.java:68)[113:io.netty.transport:4.0.37.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:136)[113:io.netty.transport:4.0.37.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:122)[113:io.netty.transport:4.0.37.Final]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRegistered(AbstractChannelHandlerContext.java:115)[113:io.netty.transport:4.0.37.Final]
      at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRegistered(DefaultChannelPipeline.java:1253)[113:io.netty.transport:4.0.37.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:136)[113:io.netty.transport:4.0.37.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:122)[113:io.netty.transport:4.0.37.Final]
      at io.netty.channel.DefaultChannelPipeline.fireChannelRegistered(DefaultChannelPipeline.java:784)[113:io.netty.transport:4.0.37.Final]
      at io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:445)[113:io.netty.transport:4.0.37.Final]
      at io.netty.channel.AbstractChannel$AbstractUnsafe.access$200(AbstractChannel.java:368)[113:io.netty.transport:4.0.37.Final]
      at io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:418)[113:io.netty.transport:4.0.37.Final]
      at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)[112:io.netty.common:4.0.37.Final]
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:394)[113:io.netty.transport:4.0.37.Final]
      at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)[112:io.netty.common:4.0.37.Final]
      at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:145)[112:io.netty.common:4.0.37.Final]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_91]

      This speciment was taken from https://logs.opendaylight.org/releng/jenkins092/netconf-csit-1node-userfeatures-only-boron/461/archives/karaf.log.gz which belongs to test run https://jenkins.opendaylight.org/releng/view/netconf/job/netconf-csit-1node-userfeatures-only-boron/461/

      This bug was first observed in test run https://jenkins.opendaylight.org/releng/view/netconf/job/netconf-csit-1node-userfeatures-only-boron/459/ which is from today, 7 hours ago.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            jbehran@cisco.com Jozef Behran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: