Details
-
Bug
-
Status: Verified
-
Resolution: Done
-
unspecified
-
None
-
None
-
Operating System: Linux
Platform: PC
-
1769
Description
Exceptions are seen in the OSGI console when running the Group Based Policy project's distribution build:
2014-09-09 06:20:18.235 PDT [fileinstall-./plugins] INFO o.o.y.y.p.r.SharedSchemaContextFactory - Failed to assemble sources
org.opendaylight.yangtools.yang.model.repo.api.SchemaResolutionException: Failed to resolve required models, resolved sources: [SourceIdentifier [name=openflow-configuration@2014-06-30], SourceIdentifier [name=openflow-types@2013-07-31], SourceIdentifier [name=system-notifications@2013-09-27], SourceIdentifier [name=opendaylight-md-sal-common@2013-10-28], SourceIdentifier [name=yang-ext@2013-07-09], SourceIdentifier [name=config@2013-04-05], SourceIdentifier [name=rpc-context@2013-06-17], SourceIdentifier [name=ietf-inet-types@2010-09-24], SourceIdentifier [name=opendaylight-inventory@2013-08-19], SourceIdentifier [name=ietf-yang-types@2010-09-24], SourceIdentifier [name=network-topology@2013-07-12], SourceIdentifier [name=network-topology@2013-10-21], SourceIdentifier [name=gbp-common@2014-04-21], SourceIdentifier [name=endpoint-provider@2014-04-21], SourceIdentifier [name=endpoint@2014-04-21], SourceIdentifier [name=ofoverlay-provider@2014-04-21], SourceIdentifier [name=ofoverlay@2014-05-28], SourceIdentifier [name=opflex@2014-05-28], SourceIdentifier [name=policy-provider@2014-04-21], SourceIdentifier [name=policy@2014-04-21], SourceIdentifier [name=opendaylight-l2-types@2013-08-27], SourceIdentifier [name=ietf-netconf-monitoring@2010-10-04], SourceIdentifier [name=shutdown@2013-12-18], SourceIdentifier [name=flow-capable-transaction@2013-11-03], SourceIdentifier [name=flow-errors@2013-11-16], SourceIdentifier [name=flow-topology-discovery@2013-08-19], SourceIdentifier [name=shutdown-impl@2013-12-18], SourceIdentifier [name=netty@2013-11-19], SourceIdentifier [name=openflow-action@2013-07-31], SourceIdentifier [name=openflow-extensible-match@2013-07-31], SourceIdentifier [name=openflow-instruction@2013-07-31], SourceIdentifier [name=netty-event-executor@2013-11-12], SourceIdentifier [name=openflow-protocol@2013-07-31], SourceIdentifier [name=opendaylight-config-dom-datastore@2014-06-17], SourceIdentifier [name=opendaylight-operational-dom-datastore@2014-06-17], SourceIdentifier [name=opendaylight-md-sal-dom@2013-10-28], SourceIdentifier [name=opendaylight-md-sal-binding@2013-10-28], SourceIdentifier [name=openflow-provider@2014-03-26], SourceIdentifier [name=opendaylight-match-types@2013-10-26], SourceIdentifier [name=opendaylight-meter-types@2013-09-18], SourceIdentifier [name=opendaylight-queue-types@2013-09-25], SourceIdentifier [name=threadpool@2013-04-09], SourceIdentifier [name=netty-timer@2013-11-19], SourceIdentifier [name=config-logging@2013-07-16], SourceIdentifier [name=protocol-framework@2014-03-13], SourceIdentifier [name=opendaylight-inmemory-datastore-provider@2014-06-17], SourceIdentifier [name=ietf-netconf-monitoring-extension@2013-12-10], SourceIdentifier [name=netconf-node-inventory@2014-01-08], SourceIdentifier [name=ofoverlay-provider-impl@2014-06-11], SourceIdentifier [name=opflex-provider-impl@2014-06-11], SourceIdentifier [name=opendaylight-sal-binding-broker-impl@2013-10-28], SourceIdentifier [name=sal-meter@2013-09-18], SourceIdentifier [name=sal-queue@2013-11-07], SourceIdentifier [name=nicira-action@2014-04-21], SourceIdentifier [name=nicira-match@2014-04-21], SourceIdentifier [name=openflow-augments@2013-10-02], SourceIdentifier [name=opendaylight-rest-connector@2014-07-24], SourceIdentifier [name=opendaylight-action-types@2013-11-12], SourceIdentifier [name=opendaylight-flow-types@2013-10-26], SourceIdentifier [name=opendaylight-group-types@2013-10-18], SourceIdentifier [name=opendaylight-port-types@2013-09-25], SourceIdentifier [name=opendaylight-table-types@2013-10-26], SourceIdentifier [name=flow-node-inventory@2013-08-19], SourceIdentifier [name=packet-processing@2013-07-09], SourceIdentifier [name=sal-flow@2013-08-19], SourceIdentifier [name=sal-group@2013-09-18], SourceIdentifier [name=sal-port@2013-11-07], SourceIdentifier [name=sal-table@2013-10-26], SourceIdentifier [name=node-error@2014-04-10]], unsatisfied imports:
at org.opendaylight.yangtools.yang.parser.repo.SharedSchemaContextFactory$2.apply(SharedSchemaContextFactory.java:77) ~[bundlefile:na]
at org.opendaylight.yangtools.yang.parser.repo.SharedSchemaContextFactory$2.apply(SharedSchemaContextFactory.java:61) ~[bundlefile:na]
at com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:859) ~[bundlefile:na]
at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:293) ~[bundlefile:na]
at com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:150) ~[bundlefile:na]
at com.google.common.util.concurrent.ExecutionList.add(ExecutionList.java:106) ~[bundlefile:na] at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:170) ~[bundlefile:na]
at com.google.common.util.concurrent.Futures.transform(Futures.java:613) ~[bundlefile:na]
at com.google.common.util.concurrent.Futures.transform(Futures.java:565) ~[bundlefile:na]
at org.opendaylight.yangtools.yang.parser.repo.SharedSchemaContextFactory.createSchemaContext(SharedSchemaContextFactory.java:126) ~[bundlefile:na]
at org.opendaylight.yangtools.yang.parser.repo.URLSchemaContextResolver.getSchemaContext(URLSchemaContextResolver.java:165) [bundlefile:na]
at org.opendaylight.controller.sal.dom.broker.GlobalBundleScanningSchemaServiceImpl.tryToUpdateSchemaContext(GlobalBundleScanningSchemaServiceImpl.java:236) [bundlefile:na]
at org.opendaylight.controller.sal.dom.broker.GlobalBundleScanningSchemaServiceImpl.start(GlobalBundleScanningSchemaServiceImpl.java:93) [bundlefile:na]
at org.opendaylight.controller.sal.dom.broker.GlobalBundleScanningSchemaServiceImpl.createInstance(GlobalBundleScanningSchemaServiceImpl.java:63) [bundlefile:na]
at org.opendaylight.controller.sal.dom.broker.osgi.SchemaServiceActivator.start(SchemaServiceActivator.java:26) [bundlefile:na]
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711) [org.eclipse.osgi-3.8.1.v20120830-144521.jar:na]
at java.security.AccessController.doPrivileged(Native Method) [na:1.7.0_65]
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702) [org.eclipse.osgi-3.8.1.v20120830-144521.jar:na]
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683) [org.eclipse.osgi-3.8.1.v20120830-144521.jar:na]
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381) [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]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:263) [org.apache.felix.fileinstall-3.1.6.jar:na]
The fix is to migrate the project to use karaf-based distribution builds.