Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-4494

Buffer Underflow Exception

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.6.0
    • Component/s: None
    • Labels:
    • Environment:

      24 hosts, 7 switches, 3 node cluster.

    • Story Points:
      3
    • Epic Link:
    • Sprint:
      Goldeneye Black Sprint #3

      Description

      This exception was seen after starting up mininet, then starting ONOS on the three nodes, and then setting the controllers for the switches using the following command in the mininet prompt

      sh ovs-vsctl set-controller s1 tcp:10.128.50.11:6653 tcp:10.128.50.12:6653 tcp:10.128.50.13:6653
      

      the exception trace

      2016-05-05 11:54:07,948 | ERROR | entLoopGroup-3-6 | NettyMessagingManager            | 131 - org.onosproject.onos-core-dist - 1.6.0.SNAPSHOT | Exception inside channel handling pipeline.
      com.esotericsoftware.kryo.KryoException: Buffer underflow.
      Serialization trace:
      sender (org.onosproject.store.primitives.impl.AntiEntropyAdvertisement)
      	at com.esotericsoftware.kryo.io.Input.require(Input.java:199)
      	at com.esotericsoftware.kryo.io.Input.readUtf8_slow(Input.java:560)
      	at com.esotericsoftware.kryo.io.Input.readUtf8(Input.java:553)
      	at com.esotericsoftware.kryo.io.Input.readString(Input.java:483)
      	at org.onosproject.store.serializers.NodeIdSerializer.read(NodeIdSerializer.java:45)
      	at org.onosproject.store.serializers.NodeIdSerializer.read(NodeIdSerializer.java:28)
      	at com.esotericsoftware.kryo.Kryo.readObjectOrNull(Kryo.java:759)[57:com.esotericsoftware.kryo:3.0.3]
      	at com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java:132)[57:com.esotericsoftware.kryo:3.0.3]
      	at com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:551)[57:com.esotericsoftware.kryo:3.0.3]
      	at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:790)[57:com.esotericsoftware.kryo:3.0.3]
      	at org.onlab.util.KryoNamespace.deserialize(KryoNamespace.java:318)[72:org.onosproject.onlab-misc:1.6.0.SNAPSHOT]
      	at org.onosproject.store.serializers.KryoSerializer.decode(KryoSerializer.java:57)[134:org.onosproject.onos-core-serializers:1.6.0.SNAPSHOT]
      	at org.onosproject.store.cluster.messaging.impl.ClusterCommunicationManager$1.apply(ClusterCommunicationManager.java:278)[131:org.onosproject.onos-core-dist:1.6.0.SNAPSHOT]
      	at org.onosproject.store.cluster.messaging.impl.ClusterCommunicationManager$InternalMessageResponder.apply(ClusterCommunicationManager.java:322)[131:org.onosproject.onos-core-dist:1.6.0.SNAPSHOT]
      	at org.onosproject.store.cluster.messaging.impl.ClusterCommunicationManager$InternalMessageResponder.apply(ClusterCommunicationManager.java:306)[131:org.onosproject.onos-core-dist:1.6.0.SNAPSHOT]
      	at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager.lambda$registerHandler$7(NettyMessagingManager.java:300)[131:org.onosproject.onos-core-dist:1.6.0.SNAPSHOT]
      	at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager.dispatchLocally(NettyMessagingManager.java:532)[131:org.onosproject.onos-core-dist:1.6.0.SNAPSHOT]
      	at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager.access$900(NettyMessagingManager.java:93)[131:org.onosproject.onos-core-dist:1.6.0.SNAPSHOT]
      	at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager$InboundMessageDispatcher.channelRead0(NettyMessagingManager.java:488)[131:org.onosproject.onos-core-dist:1.6.0.SNAPSHOT]
      	at org.onosproject.store.cluster.messaging.impl.NettyMessagingManager$InboundMessageDispatcher.channelRead0(NettyMessagingManager.java:482)[131:org.onosproject.onos-core-dist:1.6.0.SNAPSHOT]
      	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)[47:io.netty.transport:4.0.33.Final]
      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)[47:io.netty.transport:4.0.33.Final]
      	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)[47:io.netty.transport:4.0.33.Final]
      	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:276)[49:io.netty.codec:4.0.33.Final]
      	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:263)[49:io.netty.codec:4.0.33.Final]
      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)[47:io.netty.transport:4.0.33.Final]
      	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)[47:io.netty.transport:4.0.33.Final]
      	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)[47:io.netty.transport:4.0.33.Final]
      	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)[47:io.netty.transport:4.0.33.Final]
      	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)[47:io.netty.transport:4.0.33.Final]
      	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)[47:io.netty.transport:4.0.33.Final]
      	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)[47:io.netty.transport:4.0.33.Final]
      	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)[47:io.netty.transport:4.0.33.Final]
      	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)[45:io.netty.common:4.0.33.Final]
      	at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)[45:io.netty.common:4.0.33.Final]
      	at java.lang.Thread.run(Thread.java:745)[:1.8.0_72]
      

      ONOS itself can only see 5 of the seven switches, while mininet reports that the controllers for the switches are all correct. All ONOS nodes are in a READY state.

      Attatched in the mininet topology that was loaded.

        Attachments

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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ximara Jeremy Songster
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: