Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-482

Connecting netconf-connector causes a schema presence warning

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Helium
    • None
    • mdsal
    • None
    • Operating System: All
      Platform: All

    • 1026

    Description

      With stock SP edition and OF13 enabled, I encounter the following exception (note, it was NPE originally):

      2014-05-18 09:10:00.409 CEST [config-pusher] WARN o.o.y.s.b.g.i.RuntimeGeneratedMappingServiceImpl - Failed to deserialize entry (urn:opendaylight:inventory?revision=2013-08-19)nodes/(urn:opendaylight:inventory?revision=2013-08-19)node[

      {(urn:opendaylight:inventory?revision=2013-08-19)id=controller-config}

      ]
      java.lang.IllegalArgumentException: Failed to find module (urn:opendaylight:inventory?revision=2013-08-19)nodes for path [(urn:opendaylight:inventory?revision=2013-08-19)nodes]
      at com.google.common.base.Preconditions.checkArgument(Preconditions.java:119) ~[bundlefile:na]
      at org.opendaylight.yangtools.sal.binding.generator.impl.LazyGeneratedCodecRegistry.getSchemaNode(LazyGeneratedCodecRegistry.java:280) ~[bundlefile:na]
      at org.opendaylight.yangtools.sal.binding.generator.impl.LazyGeneratedCodecRegistry.getClassForPath(LazyGeneratedCodecRegistry.java:199) ~[bundlefile:na]
      at org.opendaylight.yangtools.sal.binding.generator.impl.InstanceIdentifierCodecImpl._deserializePathArgument(InstanceIdentifierCodecImpl.java:94) ~[bundlefile:na]
      at org.opendaylight.yangtools.sal.binding.generator.impl.InstanceIdentifierCodecImpl.deserializePathArgument(InstanceIdentifierCodecImpl.java:193) ~[bundlefile:na]
      at org.opendaylight.yangtools.sal.binding.generator.impl.InstanceIdentifierCodecImpl.deserialize(InstanceIdentifierCodecImpl.java:66) ~[bundlefile:na]
      at org.opendaylight.yangtools.sal.binding.generator.impl.RuntimeGeneratedMappingServiceImpl.fromDataDom(RuntimeGeneratedMappingServiceImpl.java:329) ~[bundlefile:na]
      at org.opendaylight.controller.config.yang.md.sal.binding.impl.RuntimeMappingModule$RuntimeGeneratedMappingServiceProxy.fromDataDom(RuntimeMappingModule.java:147) [bundlefile:na]
      at org.opendaylight.controller.sal.binding.impl.forward.DomForwardedBindingBrokerImpl.tryToDeployDomForwarder(DomForwardedBindingBrokerImpl.java:117) [bundlefile:na]
      at org.opendaylight.controller.sal.binding.impl.forward.DomForwardedBindingBrokerImpl$DomMountPointForwardingManager.onMountPointCreated(DomForwardedBindingBrokerImpl.java:149) [bundlefile:na]
      at org.opendaylight.controller.sal.dom.broker.MountPointManagerImpl.notifyMountCreated(MountPointManagerImpl.java:64) [bundlefile:na]
      at org.opendaylight.controller.sal.dom.broker.MountPointManagerImpl.createMountPoint(MountPointManagerImpl.java:57) [bundlefile:na]
      at org.opendaylight.controller.sal.dom.broker.MountPointManagerImpl.createOrGetMountPoint(MountPointManagerImpl.java:81) [bundlefile:na]
      at org.opendaylight.controller.sal.dom.broker.osgi.MountProviderServiceProxy.createOrGetMountPoint(MountProviderServiceProxy.java:35) [bundlefile:na]
      at org.opendaylight.controller.sal.connect.netconf.NetconfDevice.onSessionInitiated(NetconfDevice.java:324) [bundlefile:na]
      at org.opendaylight.controller.sal.dom.broker.BrokerImpl.registerProvider(BrokerImpl.java:109) [bundlefile:na]
      at org.opendaylight.controller.config.yang.md.sal.connector.netconf.NetconfConnectorModule.createInstance(NetconfConnectorModule.java:113) [bundlefile:na]
      at org.opendaylight.controller.config.yang.md.sal.connector.netconf.AbstractNetconfConnectorModule.getInstance(AbstractNetconfConnectorModule.java:128) [bundlefile:na]
      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) ~[na:na]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_55]
      at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_55]
      at org.opendaylight.controller.config.manager.impl.dependencyresolver.DependencyResolverManager$1.handleInvocation(DependencyResolverManager.java:144) [bundlefile:na]
      at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:70) [bundlefile:na]
      at com.sun.proxy.$Proxy21.getInstance(Unknown Source) [na:na]
      at org.opendaylight.controller.config.manager.impl.ConfigTransactionControllerImpl.secondPhaseCommit(ConfigTransactionControllerImpl.java:397) [bundlefile:na]
      at org.opendaylight.controller.config.manager.impl.ConfigRegistryImpl.secondPhaseCommit(ConfigRegistryImpl.java:282) [bundlefile:na]
      at org.opendaylight.controller.config.manager.impl.ConfigRegistryImpl.commitConfig(ConfigRegistryImpl.java:229) [bundlefile:na]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_55]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_55]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_55]
      at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_55]
      at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:75) [na:1.7.0_55]
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) ~[na:na]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_55]
      at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_55]
      at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:279) [na:1.7.0_55]
      at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:193) [na:1.7.0_55]
      at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:175) [na:1.7.0_55]
      at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:117) [na:1.7.0_55]
      at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:54) [na:1.7.0_55]
      at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237) [na:1.7.0_55]
      at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138) [na:1.7.0_55]
      at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252) [na:1.7.0_55]
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) [na:1.7.0_55]
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) [na:1.7.0_55]
      at com.sun.jmx.mbeanserver.MXBeanProxy$InvokeHandler.invoke(MXBeanProxy.java:150) [na:1.7.0_55]
      at com.sun.jmx.mbeanserver.MXBeanProxy.invoke(MXBeanProxy.java:167) [na:1.7.0_55]
      at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:252) [na:1.7.0_55]
      at com.sun.proxy.$Proxy8.commitConfig(Unknown Source) [na:na]
      at org.opendaylight.controller.config.util.ConfigRegistryJMXClient.commitConfig(ConfigRegistryJMXClient.java:84) [bundlefile:na]
      at org.opendaylight.controller.netconf.confignetconfconnector.transactions.TransactionProvider.commitTransaction(TransactionProvider.java:110) [bundlefile:na]
      at org.opendaylight.controller.netconf.confignetconfconnector.operations.Commit.handleWithNoSubsequentOperations(Commit.java:55) [bundlefile:na]
      at org.opendaylight.controller.netconf.util.mapping.AbstractLastNetconfOperation.handle(AbstractLastNetconfOperation.java:33) [bundlefile:na]
      at org.opendaylight.controller.netconf.util.mapping.AbstractNetconfOperation.handle(AbstractNetconfOperation.java:101) [bundlefile:na]
      at org.opendaylight.controller.netconf.persist.impl.ConfigPusher.sendRequestGetResponseCheckIsOK(ConfigPusher.java:240) [bundlefile:na]
      at org.opendaylight.controller.netconf.persist.impl.ConfigPusher.pushConfig(ConfigPusher.java:199) [bundlefile:na]
      at org.opendaylight.controller.netconf.persist.impl.ConfigPusher.pushConfigWithConflictingVersionRetries(ConfigPusher.java:88) [bundlefile:na]
      at org.opendaylight.controller.netconf.persist.impl.ConfigPusher.pushConfigs(ConfigPusher.java:69) [bundlefile:na]
      at org.opendaylight.controller.netconf.persist.impl.osgi.ConfigPersisterActivator$InnerCustomizer$1.run(ConfigPersisterActivator.java:156) [bundlefile:na]
      at java.lang.Thread.run(Thread.java:745) [na:1.7.0_55]

      It seems to go away if I push configuration/initial/01-netconf-connector.xml further down (40-, just behind BGP/PCEP baselines seems to be sufficient).

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: