Bug 1626497

Summary: [Netvirt] OFFrameDecoder unexpected exception when using Oxygen + openvswitch 2.10 in OSP14
Product: Red Hat OpenStack Reporter: Waldemar Znoinski <wznoinsk>
Component: opendaylightAssignee: Aswin Suryanarayanan <asuryana>
Status: CLOSED WONTFIX QA Contact: Noam Manos <nmanos>
Severity: medium Docs Contact:
Priority: medium    
Version: 14.0 (Rocky)CC: mkolesni, sgaddam
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 14.0 (Rocky)   
Hardware: x86_64   
OS: Linux   
Whiteboard: Netvirt
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-06 16:14:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
karaf_osp14_oxygen_with_ovs2.10
none
karaf.log_20181108 none

Description Waldemar Znoinski 2018-09-07 13:23:37 UTC
Created attachment 1481581 [details]
karaf_osp14_oxygen_with_ovs2.10

Description of problem:

there are unexpected exception shown in karaf.log, i.e.:
2018-09-05T14:08:12,929 | WARN  | nioEventLoopGroup-9-2 | OFFrameDecoder                   | 386 - org.opendaylight.openflowplugin.openflowjava.openflow-protocol-impl - 0.6.3.redhat-3 | Unexpected exception from downstream.
java.io.IOException: Connection reset by peer
	at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:?]
	at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) [?:?]
	at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) [?:?]
	at sun.nio.ch.IOUtil.read(IOUtil.java:192) [?:?]
	at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) [?:?]
	at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:288) [59:io.netty.buffer:4.1.22.Final]
	at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1108) [59:io.netty.buffer:4.1.22.Final]
	at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:345) [65:io.netty.transport:4.1.22.Final]
	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131) [65:io.netty.transport:4.1.22.Final]
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645) [65:io.netty.transport:4.1.22.Final]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580) [65:io.netty.transport:4.1.22.Final]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497) [65:io.netty.transport:4.1.22.Final]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:451) [65:io.netty.transport:4.1.22.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886) [62:io.netty.common:4.1.22.Final]
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [62:io.netty.common:4.1.22.Final]
	at java.lang.Thread.run(Thread.java:748) [?:?]




see karaf log for DEBUG


Version-Release number of selected component (if applicable):
OSP14 + odl 8.3.0-3 + ovs2.10

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Waldemar Znoinski 2018-11-08 10:27:00 UTC
checked today's run of CI job and it's still happening:
2018-11-08T07:00:25,210 | WARN  | nioEventLoopGroup-11-14 | OFFrameDecoder                   | 387 - org.opendaylight.openflowplugin.openflowjava.openflow-protocol-impl - 0.6.4.redhat-6 | Unexpected exception from downstream.
java.io.IOException: Connection reset by peer
        at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:?]
        at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) [?:?]
        at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) [?:?]
        at sun.nio.ch.IOUtil.read(IOUtil.java:192) [?:?]
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) [?:?]
        at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:288) [59:io.netty.buffer:4.1.22.Final]
        at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1108) [59:io.netty.buffer:4.1.22.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:345) [65:io.netty.transport:4.1.22.Final]
        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131) [65:io.netty.transport:4.1.22.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645) [65:io.netty.transport:4.1.22.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580) [65:io.netty.transport:4.1.22.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497) [65:io.netty.transport:4.1.22.Final]
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:451) [65:io.netty.transport:4.1.22.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886) [62:io.netty.common:4.1.22.Final]
        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [62:io.netty.common:4.1.22.Final]
        at java.lang.Thread.run(Thread.java:748) [?:?]



attaching karaf.log

Comment 4 Waldemar Znoinski 2018-11-08 10:29:10 UTC
Created attachment 1503295 [details]
karaf.log_20181108

Comment 7 Franck Baudin 2019-03-06 16:14:41 UTC
As per depreciation notice [1], closing this bug. Please reopen if relevant for RHOSP13, as this is the only version shipping ODL.

[1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/14/html-single/release_notes/index#deprecated_functionality

Comment 8 Franck Baudin 2019-03-06 16:17:11 UTC
As per depreciation notice [1], closing this bug. Please reopen if relevant for RHOSP13, as this is the only version shipping ODL.

[1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/14/html-single/release_notes/index#deprecated_functionality