Netconf connection flaps on ODL Lithium release

asked 2016-09-26 00:34:57 -0800

Netconf connection keeps flapping with below exception stack trace.

Exception stack Trace :

java.lang.IllegalStateException: complete already: ReconnectPromise@4a4e3ca(failure(java... : Session was not established after HashedWheelTimer$HashedWheelTimeout(deadline: 14110645 ns ago, task: org.opendaylight.controller.netconf.nettyutil.AbstractNetconfSessionNegotiator$2@525b7964)) at io.netty.util.concurrent.DefaultPromise.setFailure(DefaultPromise.java:418)[107:io.netty.common:4.0.26.Final] at org.opendaylight.protocol.framework.ReconnectPromise$2.operationComplete(ReconnectPromise.java:65)[109:org.opendaylight.controller.protocol-framework:0.6.4.SNAPSHOT] at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:680)[107:io.netty.common:4.0.26.Final] at io.netty.util.concurrent.DefaultPromise$2.run(DefaultPromise.java:592)[107:io.netty.common:4.0.26.Final] at io.netty.util.concurrent.GlobalEventExecutor$TaskRunner.run(GlobalEventExecutor.java:229)[107:io.netty.common:4.0.26.Final] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)[107:io.netty.common:4.0.26.Final] at java.lang.Thread.run(Thread.java:744)[:1.7.0 45] Caused by: java.lang.IllegalStateException: Session was not established after HashedWheelTimer$HashedWheelTimeout(deadline: 14796616 ns ago, task: org.opendaylight.controller.netconf.nettyutil.AbstractNetconfSessionNegotiator$2@345a1b52) at org.opendaylight.controller.netconf.nettyutil.AbstractNetconfSessionNegotiator$2.run(AbstractNetconfSessionNegotiator.java:129)[127:org.opendaylight.controller.netconf-netty-util:0.3.4.SNAPSHOT] at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:581)[107:io.netty.common:4.0.26.Final] at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:655)[107:io.netty.common:4.0.26.Final] at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:367)[107:io.netty.common:4.0.26.Final] ... 1 more 2016-09-20 07:09:03,932 | WARN | oupCloseable-6-1 | syncInputStream$IoReadFutureImpl | 130 - org.apache.sshd.core - 0.14.0 | Listener threw an exception java.lang.NullPointerException at org.opendaylight.controller.netconf.nettyutil.handler.ssh.client.AsyncSshHandlerReader.operationComplete(AsyncSshHandlerReader.java:50)[127:org.opendaylight.controller.netconf-netty-util:0.3.4.SNAPSHOT] at org.opendaylight.controller.netconf.nettyutil.handler.ssh.client.AsyncSshHandlerReader.operationComplete(AsyncSshHandlerReader.java:24)[127:org.opendaylight.controller.netconf-netty-util:0.3.4.SNAPSHOT] at org.apache.sshd.common.future.DefaultSshFuture.notifyListener(DefaultSshFuture.java:269)[130:org.apache.sshd.core:0.14.0] at org.apache.sshd.common.future.DefaultSshFuture.notifyListeners(DefaultSshFuture.java:254)[130:org.apache.sshd.core:0.14.0] at org.apache.sshd.common.future.DefaultSshFuture.setValue(DefaultSshFuture.java:173)[130:org.apache.sshd.core:0.14.0] at org.apache.sshd.common.channel.ChannelAsyncInputStream.preClose(ChannelAsyncInputStream.java:73)[130:org.apache.sshd.core:0.14.0] at org.apache.sshd.common.util.CloseableUtils$AbstractCloseable.close(CloseableUtils.java:284)[130:org.apache.sshd.core:0.14.0] at org.apache.sshd.common.util.CloseableUtils$ParallelCloseable.doClose(CloseableUtils.java:182)[130:org.apache.sshd.core:0.14.0] at org.apache.sshd.common.util.CloseableUtils$SimpleCloseable.close(CloseableUtils.java:151)[130:org.apache.sshd.core:0.14.0] at org.apache.sshd.common.util.CloseableUtils$SequentialCloseable$1.operationComplete(CloseableUtils.java:205)[130:org.apache.sshd.core:0.14.0] at org.apache.sshd.common ... (more)

edit retag flag offensive close merge delete