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

BGP peer registry lookup false negative result

    XMLWordPrintable

Details

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

    • 4593
    • Normal

    Description

      steps to reproduce:
      -configure BGP peer with host address "::1"
      -start exabgp with configured neighbor "::1"
      -observe negotiation failure

      BGP fails to connect peer when IPv6 address has a different format.
      Configured peers should be stored in registry with "normalized" form of IPv6 address.

      2015-11-06 20:00:07,334 | DEBUG | oupCloseable-3-2 | AbstractSessionNegotiator | 101 - org.opendaylight.controller.protocol-framework - 0.6.3.SNAPSHOT | Negotiation on channel [id: 0x56ee3879, /0:0:0:0:0:0:0:1:59186 => /0:0:0:0:0:0:0:1:1790] failed
      org.opendaylight.protocol.bgp.parser.BGPDocumentedException: BGP peer with ip: IpAddress [_ipv6Address=Ipv6Address [_value=0:0:0:0:0:0:0:1], _value=[0, :, 0, :, 0, :, 0, :, 0, :, 0, :, 0, :, 1]] not configured, check configured peers in : GlobalBGPPeerRegistryWrapper{peers=StrictBGPPeerRegistry{peers=[IpAddress [_ipv6Address=Ipv6Address [_value=::1], _value=[:, :, 1]]]}}
      at org.opendaylight.protocol.bgp.rib.impl.AbstractBGPSessionNegotiator.startNegotiation(AbstractBGPSessionNegotiator.java:95)[199:org.opendaylight.bgpcep.bgp-rib-impl:0.4.3.SNAPSHOT]
      at org.opendaylight.protocol.framework.AbstractSessionNegotiator.channelActive(AbstractSessionNegotiator.java:81)[101:org.opendaylight.controller.protocol-framework:0.6.3.SNAPSHOT]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:212)[100:io.netty.transport:4.0.26.Final]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelActive(AbstractChannelHandlerContext.java:198)[100:io.netty.transport:4.0.26.Final]
      at io.netty.channel.ChannelInboundHandlerAdapter.channelActive(ChannelInboundHandlerAdapter.java:64)[100:io.netty.transport:4.0.26.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:212)[100:io.netty.transport:4.0.26.Final]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelActive(AbstractChannelHandlerContext.java:198)[100:io.netty.transport:4.0.26.Final]
      at io.netty.channel.ChannelInboundHandlerAdapter.channelActive(ChannelInboundHandlerAdapter.java:64)[100:io.netty.transport:4.0.26.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:212)[100:io.netty.transport:4.0.26.Final]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelActive(AbstractChannelHandlerContext.java:198)[100:io.netty.transport:4.0.26.Final]
      at io.netty.channel.DefaultChannelPipeline.fireChannelActive(DefaultChannelPipeline.java:818)[100:io.netty.transport:4.0.26.Final]
      at io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:454)[100:io.netty.transport:4.0.26.Final]
      at io.netty.channel.AbstractChannel$AbstractUnsafe.access$100(AbstractChannel.java:378)[100:io.netty.transport:4.0.26.Final]
      at io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:424)[100:io.netty.transport:4.0.26.Final]
      at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:357)[89:io.netty.common:4.0.26.Final]
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)[100:io.netty.transport:4.0.26.Final]
      at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)[89:io.netty.common:4.0.26.Final]
      at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)[89:io.netty.common:4.0.26.Final]
      at java.lang.Thread.run(Thread.java:724)[:1.7.0_25]

      Attachments

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

        Activity

          People

            ihalanov@cisco.com Iveta Halanova
            milos.fabian@pantheon.tech Milos Fabian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: