|
Improve conflicting version parsing and reporting. With the introduction of the restconf module (I guess), the following started to crop up:
2014-05-24 10:01:51.950 CEST [fileinstall-./plugins] ERROR o.o.y.y.p.i.u.URLSchemaContextResolver - Could not create schema context for [SourceIdentifier [name=yang-ext@2013-07-09], SourceIdentifier [name=ietf-inet-types@2010-09-24], SourceIdentifier [name=opendaylight-inventory@2013-08-19], SourceIdentifier [name=flow-capable-transaction@null], SourceIdentifier [name=ietf-yang-types@2010-09-24], SourceIdentifier [name=opendaylight-queue-types@2013-09-25], SourceIdentifier [name=opendaylight-port-types@2013-09-25], SourceIdentifier [name=opendaylight-l2-types@2013-08-27], SourceIdentifier [name=opendaylight-match-types@2013-10-26], SourceIdentifier [name=opendaylight-action-types@null], SourceIdentifier [name=opendaylight-meter-types@2013-09-18], SourceIdentifier [name=opendaylight-flow-types@2013-10-26], SourceIdentifier [name=opendaylight-table-types@2013-10-26], SourceIdentifier [name=opendaylight-group-types@2013-10-18], SourceIdentifier [name=flow-node-inventory@2013-08-19], SourceIdentifier [name=opendaylight-statistics-types@2013-09-25], SourceIdentifier [name=opendaylight-flow-table-statistics@2013-12-15], SourceIdentifier [name=ieee754@2013-08-19], SourceIdentifier [name=network-concepts@2013-11-25], SourceIdentifier [name=iana@2013-08-16], SourceIdentifier [name=rsvp@2013-08-20], SourceIdentifier [name=pcep-types@2013-10-05], SourceIdentifier [name=pcep-message@2013-10-07], SourceIdentifier [name=opendaylight-action-types@2013-11-12], SourceIdentifier [name=packet-processing@2013-07-09], SourceIdentifier [name=sal-table@2013-10-26], SourceIdentifier [name=opendaylight-port-types@null], SourceIdentifier [name=port-management@2013-10-24], SourceIdentifier [name=network-topology@2013-10-21], SourceIdentifier [name=odl-network-topology@2014-01-13], SourceIdentifier [name=network-topology-pcep@2013-10-24], SourceIdentifier [name=config@2013-04-05], SourceIdentifier [name=threadpool@2013-04-09], SourceIdentifier [name=openflow-switch-connection-provider@2014-03-28], SourceIdentifier [name=opendaylight-queue-statistics@2013-12-16], SourceIdentifier [name=ietf-yang-types@null], SourceIdentifier [name=ietf-inet-types@null], SourceIdentifier [name=openflow-types@null], SourceIdentifier [name=openflow-extensible-match@2013-07-31], SourceIdentifier [name=yang-ext@null], SourceIdentifier [name=opendaylight-topology-view@2013-10-30], SourceIdentifier [name=opendaylight-md-sal-dom@null], SourceIdentifier [name=opendaylight-md-sal-common@null], SourceIdentifier [name=opendaylight-sal-dom-broker-impl@2013-10-28], SourceIdentifier [name=opendaylight-md-sal-binding@2013-10-28], SourceIdentifier [name=config-programming-spi@2013-11-15], SourceIdentifier [name=netty@2013-11-19], SourceIdentifier [name=config-programming-impl@2013-11-15], SourceIdentifier [name=queue-management@2013-10-24], SourceIdentifier [name=network-topology@2013-07-12], SourceIdentifier [name=l3-unicast-igp-topology@2013-07-12], SourceIdentifier [name=opendaylight-flow-statistics@2013-08-19], SourceIdentifier [name=openflow-provider@2014-03-26], SourceIdentifier [name=openflow-extensible-match@null], SourceIdentifier [name=openflow-instruction@null], SourceIdentifier [name=openflow-action@null], SourceIdentifier [name=openflow-protocol@null], SourceIdentifier [name=openflow-augments@2013-10-02], SourceIdentifier [name=rpc-context@2013-06-17], SourceIdentifier [name=threadpool@null], SourceIdentifier [name=netty@null], SourceIdentifier [name=odl-netconf-cfg@2014-04-08], SourceIdentifier [name=odl-sal-netconf-connector-cfg@2013-10-28], SourceIdentifier [name=ietf-restconf@2013-10-19], SourceIdentifier [name=pcep@2013-04-09], SourceIdentifier [name=odl-pcep-ietf-stateful07-cfg@2014-02-21], SourceIdentifier [name=config-bgp-parser-spi@2013-11-15], SourceIdentifier [name=config-bgp-rib-spi@2013-11-15], SourceIdentifier [name=config-bgp-linkstate@2013-11-15], SourceIdentifier [name=l3-unicast-igp-topology@2013-10-21], SourceIdentifier [name=ted@2013-10-21], SourceIdentifier [name=ospf-topology@2013-10-21], SourceIdentifier [name=opendaylight-md-sal-common@2013-10-28], SourceIdentifier [name=opendaylight-md-sal-binding@null], SourceIdentifier [name=opendaylight-sal-binding-broker-impl@2013-10-28], SourceIdentifier [name=sal-group@2013-09-18], SourceIdentifier [name=netty-event-executor@2013-11-12], SourceIdentifier [name=shutdown@2013-12-18], SourceIdentifier [name=shutdown-impl@2013-12-18], SourceIdentifier [name=threadpool-impl@2013-04-05], SourceIdentifier [name=openflow-protocol@2013-07-31], SourceIdentifier [name=opendaylight-inventory@null], SourceIdentifier [name=opendaylight-topology@null], SourceIdentifier [name=opendaylight-topology-inventory@2013-10-30], SourceIdentifier [name=flow-topology-discovery@2013-08-19], SourceIdentifier [name=flow-errors@null], SourceIdentifier [name=sal-flow@2013-08-19], SourceIdentifier [name=node-error@2014-04-10], SourceIdentifier [name=opendaylight-meter-statistics@2013-11-11], SourceIdentifier [name=bgp-types@2013-09-19], SourceIdentifier [name=bgp-message@2013-09-19], SourceIdentifier [name=bgp-multiprotocol@2013-09-19], SourceIdentifier [name=isis-topology@2013-10-21], SourceIdentifier [name=sal-port@2013-11-07], SourceIdentifier [name=config-bgp-rib@2013-07-01], SourceIdentifier [name=netty-timer@2013-11-19], SourceIdentifier [name=opendaylight-inventory-config@2013-08-19], SourceIdentifier [name=flow-node-inventory@null], SourceIdentifier [name=opendaylight-group-statistics@2013-11-11], SourceIdentifier [name=openflow-action@2013-07-31], SourceIdentifier [name=opendaylight-md-sal-dom@2013-10-28], SourceIdentifier [name=opendaylight-port-statistics@2013-12-14], SourceIdentifier [name=opendaylight-topology@2013-10-30], SourceIdentifier [name=sal-queue@2013-11-07], SourceIdentifier [name=ted@2013-07-12], SourceIdentifier [name=isis-topology@2013-07-12], SourceIdentifier [name=opendaylight-table-types@null], SourceIdentifier [name=table-management@2013-10-24], SourceIdentifier [name=config-topology-api@2013-11-15], SourceIdentifier [name=config-bgp-topology-provider@2013-11-15], SourceIdentifier [name=odl-tcpmd5-cfg@2014-04-27], SourceIdentifier [name=odl-tcpmd5-jni-cfg@2014-04-27], SourceIdentifier [name=bgp-rib@2013-09-25], SourceIdentifier [name=bgp-linkstate@2013-11-25], SourceIdentifier [name=programming@2013-09-30], SourceIdentifier [name=threadpool-impl-flexible@2013-12-01], SourceIdentifier [name=opendaylight-flow-types@null], SourceIdentifier [name=flow-management@2013-08-19], SourceIdentifier [name=openflow-types@2013-07-31], SourceIdentifier [name=config-pcep-topology-provider@2013-11-15], SourceIdentifier [name=opendaylight-group-types@null], SourceIdentifier [name=group-management@2013-10-24], SourceIdentifier [name=flow-errors@2013-11-16], SourceIdentifier [name=system-notifications@2013-09-27], SourceIdentifier [name=flow-capable-transaction@2013-11-03], SourceIdentifier [name=threadpool-impl-scheduled@2013-12-01], SourceIdentifier [name=openflow-instruction@2013-07-31], SourceIdentifier [name=openflow-provider@null], SourceIdentifier [name=openflow-provider-impl@2014-03-26], SourceIdentifier [name=odl-tcpmd5-netty-cfg@2014-04-27], SourceIdentifier [name=config-logging@2013-07-16], SourceIdentifier [name=opendaylight-meter-types@null], SourceIdentifier [name=meter-management@2013-10-24], SourceIdentifier [name=ietf-netconf-monitoring@2010-10-04], SourceIdentifier [name=ietf-netconf-monitoring@null], SourceIdentifier [name=ietf-netconf-monitoring-extension@2013-12-10], SourceIdentifier [name=threadgroup@2013-11-07], SourceIdentifier [name=openflow-switch-connection-provider-impl@2014-03-28], SourceIdentifier [name=odl-pcep-ietf-stateful02-cfg@2014-02-21], SourceIdentifier [name=ospf-topology@2013-07-12], SourceIdentifier [name=netconf-node-inventory@2014-01-08], SourceIdentifier [name=sal-meter@2013-09-18], SourceIdentifier [name=odl-netconfig-client-cfg@2014-04-08], SourceIdentifier [name=config-pcep-tunnel-provider@2013-11-15], SourceIdentifier [name=threadpool-impl-fixed@2013-12-01]]
org.opendaylight.yangtools.yang.parser.util.YangParseException: Error in module 'ietf-restconf' at line 532: Referenced type 'yang-identifier' not found.
at org.opendaylight.yangtools.yang.parser.util.TypeUtils.findTypeDefinitionBuilder(TypeUtils.java:496) ~[na:na]
at org.opendaylight.yangtools.yang.parser.util.TypeUtils.findUnknownTypeDefinition(TypeUtils.java:226) ~[na:na]
at org.opendaylight.yangtools.yang.parser.util.TypeUtils.resolveType(TypeUtils.java:50) ~[na:na]
at org.opendaylight.yangtools.yang.parser.impl.YangParserImpl.resolveDirtyNodes(YangParserImpl.java:752) ~[na:na]
at org.opendaylight.yangtools.yang.parser.impl.YangParserImpl.resolveDirtyNodes(YangParserImpl.java:701) ~[na:na]
at org.opendaylight.yangtools.yang.parser.impl.YangParserImpl.build(YangParserImpl.java:623) ~[na:na]
at org.opendaylight.yangtools.yang.parser.impl.YangParserImpl.parseYangModelSources(YangParserImpl.java:317) ~[na:na]
at org.opendaylight.yangtools.yang.parser.impl.YangParserImpl.parseSources(YangParserImpl.java:200) ~[na:na]
at org.opendaylight.yangtools.yang.parser.impl.YangParserImpl.parseYangModelsFromStreams(YangParserImpl.java:192) ~[na:na]
at org.opendaylight.yangtools.yang.parser.impl.util.URLSchemaContextResolver.tryToUpdateSchemaContext(URLSchemaContextResolver.java:140) ~[bundlefile:na]
at org.opendaylight.controller.sal.dom.broker.GlobalBundleScanningSchemaServiceImpl.tryToUpdateSchemaContext(GlobalBundleScanningSchemaServiceImpl.java:218) [bundlefile:na]
at org.opendaylight.controller.sal.dom.broker.GlobalBundleScanningSchemaServiceImpl$BundleScanner.addingBundle(GlobalBundleScanningSchemaServiceImpl.java:175) [bundlefile:na]
at org.opendaylight.controller.sal.dom.broker.GlobalBundleScanningSchemaServiceImpl$BundleScanner.addingBundle(GlobalBundleScanningSchemaServiceImpl.java:157) [bundlefile:na]
at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:467) [org.eclipse.osgi-3.8.1.v20120830-144521.jar:na]
at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:1) [org.eclipse.osgi-3.8.1.v20120830-144521.jar:na]
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) [org.eclipse.osgi-3.8.1.v20120830-144521.jar:na]
at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229) [org.eclipse.osgi-3.8.1.v20120830-144521.jar:na]
at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:443) [org.eclipse.osgi-3.8.1.v20120830-144521.jar:na]
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) [org.eclipse.osgi-3.8.1.v20120830-144521.jar:na]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [org.eclipse.osgi-3.8.1.v20120830-144521.jar:na]
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) [org.eclipse.osgi-3.8.1.v20120830-144521.jar:na]
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1568) [org.eclipse.osgi-3.8.1.v20120830-144521.jar:na]
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1504) [org.eclipse.osgi-3.8.1.v20120830-144521.jar:na]
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1499) [org.eclipse.osgi-3.8.1.v20120830-144521.jar:na]
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:391) [org.eclipse.osgi-3.8.1.v20120830-144521.jar:na]
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300) [org.eclipse.osgi-3.8.1.v20120830-144521.jar:na]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1175) [org.apache.felix.fileinstall-3.1.6.jar:na]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1153) [org.apache.felix.fileinstall-3.1.6.jar:na]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.processAllBundles(DirectoryWatcher.java:1146) [org.apache.felix.fileinstall-3.1.6.jar:na]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:456) [org.apache.felix.fileinstall-3.1.6.jar:na]
(note the exception is a local patch). Analyze the root cause and refactor the schemacontext such that it can report errors beyond a single "something went wrong".
|