Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-12783

Template field 'APPLICATION TAG' has illegal size

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 26.1.1
    • Fix Version/s: 26.1.2
    • Component/s: Telemetry
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon 2020 - June 24
    • Backlog Status:
      Backlog NG

      Description

      Netflow v9 data can't be collected.
      Karaf log provides:

      2020-06-24T20:18:10,304 | DEBUG | telemetryd-nio-Multi-UDP-4729-2 | UdpListener                      | 315 - org.opennms.features.telemetry.listeners - 27.0.0.SNAPSHOT | 
      org.opennms.netmgt.telemetry.protocols.netflow.parser.InvalidPacketException: Template field 'APPLICATION TAG' has illegal size: 9 (min=0, max=8)
              at org.opennms.netmgt.telemetry.protocols.netflow.parser.netflow9.proto.FieldSpecifier.<init>(FieldSpecifier.java:84) ~[?:?]
              at org.opennms.netmgt.telemetry.protocols.netflow.parser.netflow9.proto.TemplateRecord.<init>(TemplateRecord.java:59) ~[?:?]
              at org.opennms.netmgt.telemetry.protocols.netflow.parser.netflow9.proto.TemplateSet.<init>(TemplateSet.java:54) ~[?:?]
              at org.opennms.netmgt.telemetry.protocols.netflow.parser.netflow9.proto.Packet.<init>(Packet.java:93) ~[?:?]
              at org.opennms.netmgt.telemetry.protocols.netflow.parser.Netflow9UdpParser.parse(Netflow9UdpParser.java:71) ~[?:?]
              at org.opennms.netmgt.telemetry.protocols.netflow.parser.UdpParserBase.parse(UdpParserBase.java:81) ~[?:?]
              at org.opennms.netmgt.telemetry.listeners.UdpListener$SingleDatagramPacketParserHandler.channelRead0(UdpListener.java:220) ~[?:?]
              at org.opennms.netmgt.telemetry.listeners.UdpListener$DefaultChannelInitializer$1.channelRead0(UdpListener.java:178) ~[?:?]
              at org.opennms.netmgt.telemetry.listeners.UdpListener$DefaultChannelInitializer$1.channelRead0(UdpListener.java:173) ~[?:?]
              at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) ~[116:io.netty.transport:4.1.48.Final]
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [116:io.netty.transport:4.1.48.Final]
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [116:io.netty.transport:4.1.48.Final]
              at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [116:io.netty.transport:4.1.48.Final]
              at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93) [116:io.netty.transport:4.1.48.Final]
              at org.opennms.netmgt.telemetry.listeners.UdpListener$AccountingHandler.channelRead(UdpListener.java:205) [315:org.opennms.features.telemetry.listeners:27.0.0.SNAPSHOT]
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [116:io.netty.transport:4.1.48.Final]
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [116:io.netty.transport:4.1.48.Final]
              at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [116:io.netty.transport:4.1.48.Final]
              at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [116:io.netty.transport:4.1.48.Final]
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [116:io.netty.transport:4.1.48.Final]
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [116:io.netty.transport:4.1.48.Final]
              at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [116:io.netty.transport:4.1.48.Final]
              at io.netty.channel.nio.AbstractNioMessageChannel$NioMessageUnsafe.read(AbstractNioMessageChannel.java:93) [116:io.netty.transport:4.1.48.Final]
              at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714) [116:io.netty.transport:4.1.48.Final]
              at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650) [116:io.netty.transport:4.1.48.Final]
              at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576) [116:io.netty.transport:4.1.48.Final]
              at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493) [116:io.netty.transport:4.1.48.Final]
              at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) [112:io.netty.common:4.1.48.Final]
              at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [112:io.netty.common:4.1.48.Final]
              at java.lang.Thread.run(Thread.java:834) [?:?]
      

        Attachments

          Activity

            People

            Assignee:
            fuhrmann Marcel Fuhrmann
            Reporter:
            fuhrmann Marcel Fuhrmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: