[BGPCEP-667] Failure bringing karaf 4 feature odl-bgpcep-bmp Created: 03/May/17  Updated: 03/Mar/19  Resolved: 05/Aug/17

Status: Resolved
Project: bgpcep
Component/s: General
Affects Version/s: Bugzilla Migration
Fix Version/s: Bugzilla Migration

Type: Bug
Reporter: Luis Gomez Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
is blocked by BGPCEP-666 features4-extras cannot be added to k... Resolved
is blocked by BGPCEP-678 Karaf4 Unable to push configuration d... Resolved
Duplicate
duplicates BGPCEP-678 Karaf4 Unable to push configuration d... Resolved
External issue ID: 8363

 Description   

This is what I see:

2017-05-03 04:05:56,049 | ERROR | pool-2-thread-1 | ModuleInfoBundleTracker | 236 - org.opendaylight.controller.config-manager - 0.6.0.SNAPSHOT | Failed to process bundleentry://182.fwk1002191352/META-INF/services/org.opendaylight.yangtools.yang.binding.YangModelBindingProvider for bundle org.opendaylight.bgpcep.bgp-bmp-impl_0.7.0.SNAPSHOT [182]
java.lang.IllegalStateException: Error while executing getModuleInfo on org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bmp.impl.rev150518.$YangModelBindingProvider@10ef0eff
at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.retrieveModuleInfo(ModuleInfoBundleTracker.java:144)
at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.addingBundle(ModuleInfoBundleTracker.java:84)
at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.addingBundle(ModuleInfoBundleTracker.java:32)
at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:469)[org.osgi.core-6.0.0.jar:]
at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:415)[org.osgi.core-6.0.0.jar:]
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)[org.osgi.core-6.0.0.jar:]
at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)[org.osgi.core-6.0.0.jar:]
at org.osgi.util.tracker.BundleTracker.open(BundleTracker.java:156)[org.osgi.core-6.0.0.jar:]
at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.open(ModuleInfoBundleTracker.java:54)
at org.opendaylight.controller.config.manager.impl.osgi.ConfigManagerActivator.start(ConfigManagerActivator.java:89)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_121]
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:941)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:318)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.Module.doStart(Module.java:571)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.container.Module.start(Module.java:439)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:392)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:411)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1287)[7:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:860)[7:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1176)[7:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1074)[7:org.apache.karaf.features.core:4.0.9]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
Caused by: java.lang.ExceptionInInitializerError
at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bmp.impl.rev150518.$YangModuleInfoImpl.<init>($YangModuleInfoImpl.java:31)
at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bmp.impl.rev150518.$YangModuleInfoImpl.<clinit>($YangModuleInfoImpl.java:10)
at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bmp.impl.rev150518.$YangModelBindingProvider.getModuleInfo($YangModelBindingProvider.java:6)
at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.retrieveModuleInfo(ModuleInfoBundleTracker.java:142)
... 28 more
Caused by: java.lang.IllegalStateException: Resource '/META-INF/yang/odl-bgp-rib-spi-cfg.yang' is missing
at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.rib.spi.rev131115.$YangModuleInfoImpl.<init>($YangModuleInfoImpl.java:30)
at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.rib.spi.rev131115.$YangModuleInfoImpl.<clinit>($YangModuleInfoImpl.java:10)
... 32 more



 Comments   
Comment by Robert Varga [ 05/May/17 ]

This looks like a packaging issue. What are the steps to reproduce? What build was this? (i.e. we need the jars)

Can you also attach karaf.log?

Comment by Luis Gomez [ 06/May/17 ]

This patch reproduces the issue:

https://git.opendaylight.org/gerrit/#/c/56614/

And this log shows the ERROR:

https://logs.opendaylight.org/releng/jenkins092/distribution4-check-carbon/76/console.log.gz

Comment by Claudio David Gasparini [ 09/May/17 ]

this issue is a result of BUG-8356

Comment by Luis Gomez [ 12/May/17 ]

BUG-8356 is fixed but this does not seem to

Generated at Wed Feb 07 19:13:47 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.