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

MalformedObjectNameException while configuring OpenConfig BGP IPv6 neighbor

    XMLWordPrintable

Details

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

    • 6507

    Description

      While configuring OpenConfig BGP IPv6 neighbor, MalformedObjectNameException is seen in karaf.log. Issue is not seen when configuring IPv4 neighbor

      POST http://<controller-ip>:8181/restconf/config/openconfig-bgp:bgp/openconfig-bgp:neighbors

      <neighbor xmlns="http://openconfig.net/yang/bgp">
      <neighbor-address>2001:000:0000:0000:0000:0000:0000:0011</neighbor-address>
      <afi-safis>
      <afi-safi>
      <afi-safi-name xmlns:x="http://openconfig.net/yang/bgp-types">x:IPV4-UNICAST</afi-safi-name>
      </afi-safi>
      <afi-safi>
      <afi-safi-name xmlns:x="http://openconfig.net/yang/bgp-types">x:IPV6-UNICAST</afi-safi-name>
      </afi-safi>
      <afi-safi>
      <afi-safi-name xmlns:x="http://openconfig.net/yang/bgp-types">x:IPV4-LABELLED-UNICAST</afi-safi-name>
      </afi-safi>
      <afi-safi>
      <afi-safi-name xmlns:x="urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions">x:linkstate</afi-safi-name>
      </afi-safi>
      <afi-safi>
      <afi-safi-name xmlns:x="urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions">x:ipv4-flow</afi-safi-name>
      </afi-safi>
      <afi-safi>
      <afi-safi-name xmlns:x="urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions">x:ipv6-flow</afi-safi-name>
      </afi-safi>
      </afi-safis>
      <route-reflector>
      <config>
      <route-reflector-client>false</route-reflector-client>
      </config>
      </route-reflector>
      <timers>
      <config>
      <hold-time>180</hold-time>
      </config>
      </timers>
      <transport>
      <config>
      <passive-mode>false</passive-mode>
      </config>
      </transport>
      <config>
      <peer-type>INTERNAL</peer-type>
      <peer-as>64496</peer-as>
      </config>
      </neighbor>

      Exception seen in karaf.log:

      2016-08-22 16:29:31,727 | INFO | o-group-thread-7 | ServerSession | 76 - org.apache.sshd.core - 0.14.0 | Dequeing pending packets
      2016-08-22 17:25:19,061 | ERROR | entLoopGroup-2-2 | NetconfOperationRouterImpl | 98 - org.opendaylight.netconf.impl - 1.0.0.Beryllium | Unexpected exception during netconf operation execution
      java.lang.IllegalArgumentException: javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
      at org.opendaylight.controller.config.api.jmx.ObjectNameUtil.createON(ObjectNameUtil.java:52)
      at org.opendaylight.controller.config.api.jmx.ObjectNameUtil.createModulePattern(ObjectNameUtil.java:328)
      at org.opendaylight.controller.config.manager.impl.ConfigTransactionLookupRegistry.lookupConfigBeans(ConfigTransactionLookupRegistry.java:84)
      at org.opendaylight.controller.config.manager.impl.util.LookupBeansUtil.lookupConfigBean(LookupBeansUtil.java:23)
      at org.opendaylight.controller.config.manager.impl.ConfigTransactionLookupRegistry.lookupConfigBean(ConfigTransactionLookupRegistry.java:75)
      at org.opendaylight.controller.config.manager.impl.ConfigTransactionControllerImpl.lookupConfigBean(ConfigTransactionControllerImpl.java:490)
      at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_95]
      at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_95]
      at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:75)[:1.7.0_95]
      at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_95]
      at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_95]
      at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:279)[:1.7.0_95]
      at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:193)[:1.7.0_95]
      at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:175)[:1.7.0_95]
      at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:117)[:1.7.0_95]
      at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:54)[:1.7.0_95]
      at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)[:1.7.0_95]
      at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)[:1.7.0_95]
      at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)[:1.7.0_95]
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)[:1.7.0_95]
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)[:1.7.0_95]
      at com.sun.jmx.mbeanserver.MXBeanProxy$InvokeHandler.invoke(MXBeanProxy.java:150)[:1.7.0_95]
      at com.sun.jmx.mbeanserver.MXBeanProxy.invoke(MXBeanProxy.java:167)[:1.7.0_95]
      at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:258)[:1.7.0_95]
      at com.sun.proxy.$Proxy73.lookupConfigBean(Unknown Source)[50:org.opendaylight.controller.config-api:0.4.0.Beryllium]
      at org.opendaylight.controller.config.util.ConfigTransactionJMXClient.lookupConfigBean(ConfigTransactionJMXClient.java:173)[60:org.opendaylight.controller.config-util:0.4.0.Beryllium]
      at org.opendaylight.controller.config.facade.xml.strategy.AbstractEditConfigStrategy.executeConfiguration(AbstractEditConfigStrategy.java:31)[96:org.opendaylight.controller.config-manager-facade-xml:0.4.0.Beryllium]
      at org.opendaylight.controller.config.facade.xml.ConfigSubsystemFacade.handleMisssingInstancesOnTransaction(ConfigSubsystemFacade.java:253)[96:org.opendaylight.controller.config-manager-facade-xml:0.4.0.Beryllium]
      at org.opendaylight.controller.config.facade.xml.ConfigSubsystemFacade.test(ConfigSubsystemFacade.java:163)[96:org.opendaylight.controller.config-manager-facade-xml:0.4.0.Beryllium]
      at org.opendaylight.controller.config.facade.xml.ConfigSubsystemFacade.executeTests(ConfigSubsystemFacade.java:149)[96:org.opendaylight.controller.config-manager-facade-xml:0.4.0.Beryllium]
      at org.opendaylight.controller.config.facade.xml.ConfigSubsystemFacade.executeConfigExecution(ConfigSubsystemFacade.java:123)[96:org.opendaylight.controller.config-manager-facade-xml:0.4.0.Beryllium]
      at org.opendaylight.netconf.confignetconfconnector.operations.editconfig.EditConfig.getResponseInternal(EditConfig.java:48)[100:org.opendaylight.netconf.config-netconf-connector:1.0.0.Beryllium]
      at org.opendaylight.netconf.confignetconfconnector.operations.editconfig.EditConfig.handleWithNoSubsequentOperations(EditConfig.java:75)[100:org.opendaylight.netconf.config-netconf-connector:1.0.0.Beryllium]
      at org.opendaylight.netconf.util.mapping.AbstractLastNetconfOperation.handle(AbstractLastNetconfOperation.java:33)[72:org.opendaylight.netconf.util:1.0.0.Beryllium]
      at org.opendaylight.netconf.util.mapping.AbstractNetconfOperation.handle(AbstractNetconfOperation.java:101)[72:org.opendaylight.netconf.util:1.0.0.Beryllium]
      at org.opendaylight.netconf.impl.osgi.NetconfOperationRouterImpl$NetconfOperationExecution.execute(NetconfOperationRouterImpl.java:182)[98:org.opendaylight.netconf.impl:1.0.0.Beryllium]
      at org.opendaylight.netconf.impl.osgi.NetconfOperationRouterImpl.executeOperationWithHighestPriority(NetconfOperationRouterImpl.java:111)[98:org.opendaylight.netconf.impl:1.0.0.Beryllium]
      at org.opendaylight.netconf.impl.osgi.NetconfOperationRouterImpl.onNetconfMessage(NetconfOperationRouterImpl.java:84)[98:org.opendaylight.netconf.impl:1.0.0.Beryllium]
      at org.opendaylight.netconf.impl.NetconfServerSessionListener.processDocument(NetconfServerSessionListener.java:113)[98:org.opendaylight.netconf.impl:1.0.0.Beryllium]
      at org.opendaylight.netconf.impl.NetconfServerSessionListener.onMessage(NetconfServerSessionListener.java:86)[98:org.opendaylight.netconf.impl:1.0.0.Beryllium]
      at org.opendaylight.netconf.impl.NetconfServerSessionListener.onMessage(NetconfServerSessionListener.java:29)[98:org.opendaylight.netconf.impl:1.0.0.Beryllium]
      at org.opendaylight.netconf.nettyutil.AbstractNetconfSession.handleMessage(AbstractNetconfSession.java:64)[73:org.opendaylight.netconf.netty-util:1.0.0.Beryllium]
      at org.opendaylight.netconf.nettyutil.AbstractNetconfSession.handleMessage(AbstractNetconfSession.java:35)[73:org.opendaylight.netconf.netty-util:1.0.0.Beryllium]
      at org.opendaylight.protocol.framework.AbstractProtocolSession.channelRead0(AbstractProtocolSession.java:53)[58:org.opendaylight.controller.protocol-framework:0.7.0.Beryllium]
      at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)[53:io.netty.transport:4.0.33.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)[53:io.netty.transport:4.0.33.Final]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)[53:io.netty.transport:4.0.33.Final]
      at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:276)[54:io.netty.codec:4.0.33.Final]
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:263)[54:io.netty.codec:4.0.33.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)[53:io.netty.transport:4.0.33.Final]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)[53:io.netty.transport:4.0.33.Final]
      at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:276)[54:io.netty.codec:4.0.33.Final]
      at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:263)[54:io.netty.codec:4.0.33.Final]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)[53:io.netty.transport:4.0.33.Final]
      at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)[53:io.netty.transport:4.0.33.Final]
      at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)[53:io.netty.transport:4.0.33.Final]
      at io.netty.channel.local.LocalChannel.finishPeerRead0(LocalChannel.java:427)[53:io.netty.transport:4.0.33.Final]
      at io.netty.channel.local.LocalChannel.access$500(LocalChannel.java:48)[53:io.netty.transport:4.0.33.Final]
      at io.netty.channel.local.LocalChannel$5.run(LocalChannel.java:383)[53:io.netty.transport:4.0.33.Final]
      at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)[52:io.netty.common:4.0.33.Final]
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)[53:io.netty.transport:4.0.33.Final]
      at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)[52:io.netty.common:4.0.33.Final]
      at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)[52:io.netty.common:4.0.33.Final]
      at java.lang.Thread.run(Thread.java:745)[:1.7.0_95]
      Caused by: javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
      at javax.management.ObjectName.construct(ObjectName.java:618)[:1.7.0_95]
      at javax.management.ObjectName.<init>(ObjectName.java:1382)[:1.7.0_95]
      at org.opendaylight.controller.config.api.jmx.ObjectNameUtil.createON(ObjectNameUtil.java:50)
      ... 65 more

      Attachments

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

        Activity

          People

            ajayl.bro@gmail.com Ajay L
            ajayl.bro@gmail.com Ajay L
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: