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

AsPath is not parsed correctly (real BGP feed)

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Bugzilla Migration
    • Bugzilla Migration
    • General
    • None
    • Operating System: Linux
      Platform: PC

    • 1370
    • Normal

    Description

      After connecting to real bgp feed lots of exceptiosn appeared in the log. Then one below should be the source of problems.

      Full log in attachment.

      2014-07-15 03:10:25.378 PDT [nettyThreadgroupModule$NioEventLoopGroupCloseable-7-1] TRACE o.o.p.b.r.i.BGPByteToMessageDecoder - Received to decode: ffffffffffffffffffffffffffffffff005102000000364001010040021a02060000fe550000fc120000006d0
      00002bd00000d1c00006a744003040a2000fe800404000000004005040000006418a8a1f7
      2014-07-15 03:10:25.378 PDT [nettyThreadgroupModule$NioEventLoopGroupCloseable-7-1] TRACE o.o.p.b.p.i.m.BGPUpdateMessageParser - Started parsing of update message: 000000364001010040021a02060000fe550000fc120000006d000002bd00000d1c00006a7
      44003040a2000fe800404000000004005040000006418a8a1f7
      2014-07-15 03:10:25.380 PDT [nettyThreadgroupModule$NioEventLoopGroupCloseable-7-1] DEBUG o.o.p.b.p.s.p.SimpleAttributeRegistry - Parsing attribute type 1
      2014-07-15 03:10:25.382 PDT [nettyThreadgroupModule$NioEventLoopGroupCloseable-7-1] DEBUG o.o.p.b.p.s.p.SimpleAttributeRegistry - Parsing attribute type 2
      2014-07-15 03:10:25.403 PDT [nettyThreadgroupModule$NioEventLoopGroupCloseable-7-1] WARN o.o.p.b.p.i.m.BGPUpdateMessageParser - Could not parse BGP attributes
      org.opendaylight.protocol.bgp.parser.BGPParsingException: AS Path segment type unknown : 0
      at org.opendaylight.protocol.bgp.parser.impl.message.update.AsPathAttributeParser.parseAsPath(AsPathAttributeParser.java:71) ~[bundlefile:na]
      at org.opendaylight.protocol.bgp.parser.impl.message.update.AsPathAttributeParser.parseAttribute(AsPathAttributeParser.java:98) ~[bundlefile:na]
      at org.opendaylight.protocol.bgp.parser.spi.pojo.SimpleAttributeRegistry.parseAttributes(SimpleAttributeRegistry.java:121) ~[na:na]
      at org.opendaylight.protocol.bgp.parser.impl.message.BGPUpdateMessageParser.parseMessageBody(BGPUpdateMessageParser.java:87) [bundlefile:na]
      at org.opendaylight.protocol.bgp.parser.impl.message.BGPUpdateMessageParser.parseMessageBody(BGPUpdateMessageParser.java:45) [bundlefile:na]
      at org.opendaylight.protocol.bgp.parser.spi.pojo.SimpleMessageRegistry.parseBody(SimpleMessageRegistry.java:31) [bundlefile:na]
      at org.opendaylight.protocol.bgp.parser.spi.AbstractMessageRegistry.parseMessage(AbstractMessageRegistry.java:60) [bundlefile:na]
      at org.opendaylight.protocol.bgp.rib.impl.BGPByteToMessageDecoder.decode(BGPByteToMessageDecoder.java:41) [bundlefile:na]
      at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:241) [bundlefile:4.0.19.Final]
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:149) [bundlefile:4.0.19.Final]
      at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:341) [bundlefile:4.0.19.Final]
      at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:327) [bundlefile:4.0.19.Final]
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) [bundlefile:4.0.19.Final]
      at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:341) [bundlefile:4.0.19.Final]
      at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:327) [bundlefile:4.0.19.Final]
      at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [bundlefile:4.0.19.Final]
      at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:126) [bundlefile:4.0.19.Final]
      at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:507) [bundlefile:4.0.19.Final]
      at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:464) [bundlefile:4.0.19.Final]
      at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:378) [bundlefile:4.0.19.Final]
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:350) [bundlefile:4.0.19.Final]
      at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [bundlefile:4.0.19.Final]
      at java.lang.Thread.run(Unknown Source) [na:1.7.0_55]
      2014-07-15 03:10:25.407 PDT [nettyThreadgroupModule$NioEventLoopGroupCloseable-7-1] ERROR o.o.p.b.p.BGPDocumentedException - Error = MALFORMED_ATTR_LIST
      org.opendaylight.protocol.bgp.parser.BGPDocumentedException: Could not parse BGP attributes.

      Attachments

        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:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: