Uploaded image for project: 'bgpcep'
  1. bgpcep
  2. BGPCEP-504

boron: bmp does not show routes

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Bugzilla Migration
    • Bugzilla Migration
    • BGP
    • None
    • Operating System: All
      Platform: All

    • 6331

    Description

      odl:distribution-karaf-0.5.0-20160801.143523-4024.tar.gz
      bmp: bgp-bmp-mock-0.6.0-20160801.215713-240-executable.jar

      to reproduce run tool with: java -jar bgp-bmp-mock-0.6.0-20160801.215713-240-executable.jar --local_address <ip> --remote_address <odl-ip> --routers_count 1
      --peers_count 1 --log_level DEBUG

      odl's log shows:
      2016-08-02 09:20:42,569 | INFO | entLoopGroup-7-1 | BmpSessionImpl | 297 - org.opendaylight.bgpcep.bgp-bmp-impl - 0.6.0.SNAPSHOT | Starting session /10.25.2.11:12345 <-> /10.25.2.11:58350.
      2016-08-02 09:20:42,584 | INFO | entLoopGroup-7-1 | BmpRouterImpl | 297 - org.opendaylight.bgpcep.bgp-bmp-impl - 0.6.0.SNAPSHOT | BMP session with remote router 10.25.2.11 (BmpSessionImpl

      {channel=[id: 0x664caa3c, L:/10.25.2.11:12345 - R:/10.25.2.11:58350]}

      ) is up now.
      2016-08-02 09:20:42,679 | ERROR | entLoopGroup-7-1 | BmpSessionImpl | 297 - org.opendaylight.bgpcep.bgp-bmp-impl - 0.6.0.SNAPSHOT | Exception caught in BMP Session.
      io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: index: 84, length: 2 (expected: range(0, 68))
      at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:442)[69:io.netty.codec:4.0.37.Final]
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:248)[69:io.netty.codec:4.0.37.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342)[68:io.netty.transport:4.0.37.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:328)[68:io.netty.transport:4.0.37.Final]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:321)[68:io.netty.transport:4.0.37.Final]
      at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)[69:io.netty.codec:4.0.37.Final]
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)[69:io.netty.codec:4.0.37.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342)[68:io.netty.transport:4.0.37.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:328)[68:io.netty.transport:4.0.37.Final]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:321)[68:io.netty.transport:4.0.37.Final]
      at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1280)[68:io.netty.transport:4.0.37.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342)[68:io.netty.transport:4.0.37.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:328)[68:io.netty.transport:4.0.37.Final]
      at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:890)[68:io.netty.transport:4.0.37.Final]
      at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:879)[72:io.netty.transport-native-epoll:4.0.37.Final]
      at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:387)[72:io.netty.transport-native-epoll:4.0.37.Final]
      at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:303)[72:io.netty.transport-native-epoll:4.0.37.Final]
      at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)[67:io.netty.common:4.0.37.Final]
      at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:145)[67:io.netty.common:4.0.37.Final]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_65]
      Caused by: java.lang.IndexOutOfBoundsException: index: 84, length: 2 (expected: range(0, 68))
      at io.netty.buffer.AbstractByteBuf.checkIndex0(AbstractByteBuf.java:1141)[66:io.netty.buffer:4.0.37.Final]
      at io.netty.buffer.SlicedByteBuf.getShort(SlicedByteBuf.java:131)[66:io.netty.buffer:4.0.37.Final]
      at io.netty.buffer.AbstractByteBuf.getUnsignedShort(AbstractByteBuf.java:380)[66:io.netty.buffer:4.0.37.Final]
      at org.opendaylight.protocol.bmp.parser.message.PeerUpHandler.getBgpMessageLength(PeerUpHandler.java:141)[296:org.opendaylight.bgpcep.bgp-bmp-parser-impl:0.6.0.SNAPSHOT]
      at org.opendaylight.protocol.bmp.parser.message.PeerUpHandler.parseMessageBody(PeerUpHandler.java:96)[296:org.opendaylight.bgpcep.bgp-bmp-parser-impl:0.6.0.SNAPSHOT]
      at org.opendaylight.protocol.bmp.spi.parser.AbstractBmpMessageParser.parseMessage(AbstractBmpMessageParser.java:38)[295:org.opendaylight.bgpcep.bgp-bmp-spi:0.6.0.SNAPSHOT]
      at org.opendaylight.protocol.bmp.spi.registry.SimpleBmpMessageRegistry.parseMessage(SimpleBmpMessageRegistry.java:52)[295:org.opendaylight.bgpcep.bgp-bmp-spi:0.6.0.SNAPSHOT]
      at org.opendaylight.protocol.bmp.impl.BmpByteToMessageDecoder.decode(BmpByteToMessageDecoder.java:35)[297:org.opendaylight.bgpcep.bgp-bmp-impl:0.6.0.SNAPSHOT]
      at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:411)[69:io.netty.codec:4.0.37.Final]
      ... 19 more
      2016-08-02 09:20:42,685 | INFO | entLoopGroup-7-1 | BmpSessionImpl | 297 - org.opendaylight.bgpcep.bgp-bmp-impl - 0.6.0.SNAPSHOT | Closing session: BmpSessionImpl

      {channel=[id: 0x664caa3c, L:/10.25.2.11:12345 - R:/10.25.2.11:58350]}

      2016-08-02 09:20:42,691 | INFO | entLoopGroup-7-1 | BmpRouterImpl | 297 - org.opendaylight.bgpcep.bgp-bmp-impl - 0.6.0.SNAPSHOT | BMP Session with remote router 10.25.2.11 (BmpSessionImpl

      {channel=null}

      ) went down.

      Attachments

        Issue Links

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

          Activity

            People

              milos.fabian@pantheon.tech Milos Fabian
              pgubka@cisco.com Peter Gubka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: