[NETCONF-235] Cannot connect to Netconf device due to missing AsyncSshHandler Created: 26/Jul/16  Updated: 15/Mar/19  Resolved: 27/Jul/16

Status: Resolved
Project: netconf
Component/s: netconf
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Jozef Behran Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 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.



 Comments   
Comment by Tyler Levine [ 27/Jul/16 ]

I'm having this bug as well as of today when using netconf plugin version 1.1.0-SNAPSHOT.

This prevents mounting any devices via netconf over ssh, so I'm changing the importance to critical.

Comment by Michal Cmarada [ 27/Jul/16 ]

I am having the same error and also cannot mount any devices via netconf over ssh because of this.

Comment by Tomas Cere [ 27/Jul/16 ]

Had to revert the mina bump:
https://git.opendaylight.org/gerrit/#/c/42627/

Generated at Wed Feb 07 20:14:30 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.