[NETCONF-534] NetconfMonitoringActivator Error restarting bundles Created: 05/Apr/18 Updated: 08/Feb/19 Resolved: 08/Feb/19 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Neon |
| Type: | Bug | Priority: | Medium |
| Reporter: | Paul Greenberg | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
While installing "features-of-config", encountered the following error with Oxygen. opendaylight-user@root>feature:install features-of-config Error executing command: Error restarting bundles: Exception in org.opendaylight.netconf.monitoring.osgi.NetconfMonitoringActivator.start() of bundle org.opendaylight.netconf.monitoring. opendaylight-user@root> Checked logs: 2018-04-05 08:42:50,674 | ERROR | nsole user karaf | ShellUtil | 48 - org.apache.karaf.shell.core - 4.1.3 | Exception caught while executing command org.apache.karaf.features.internal.util.MultiException: Error restarting bundles: Exception in org.opendaylight.netconf.monitoring.osgi.NetconfMonitoringActivator.start() of bundle org.opendaylight.netconf.monitoring. at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:896) ~[?:?] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1248) ~[?:?] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$1(FeaturesServiceImpl.java:1147) ~[?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?] at java.lang.Thread.run(Thread.java:748) [?:?] Suppressed: org.osgi.framework.BundleException: Exception in org.opendaylight.netconf.monitoring.osgi.NetconfMonitoringActivator.start() of bundle org.opendaylight.netconf.monitoring. at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:795) ~[?:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724) ~[?:?] at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932) ~[?:?] at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309) ~[?:?] at org.eclipse.osgi.container.Module.doStart(Module.java:581) ~[?:?] at org.eclipse.osgi.container.Module.start(Module.java:449) ~[?:?] at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[?:?] at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:402) ~[?:?] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1361) ~[?:?] at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:888) ~[?:?] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1248) ~[?:?] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$1(FeaturesServiceImpl.java:1147) ~[?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?] at java.lang.Thread.run(Thread.java:748) [?:?] Caused by: java.lang.IllegalStateException: Monitoring service was already added at com.google.common.base.Preconditions.checkState(Preconditions.java:501) ~[?:?] at org.opendaylight.netconf.monitoring.osgi.NetconfMonitoringServiceTracker.addingService(NetconfMonitoringServiceTracker.java:37) ~[?:?] at org.opendaylight.netconf.monitoring.osgi.NetconfMonitoringServiceTracker.addingService(NetconfMonitoringServiceTracker.java:23) ~[?:?] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941) ~[?:?] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:870) ~[?:?] at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) ~[?:?] at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183) ~[?:?] at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:318) ~[?:?] at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261) ~[?:?] at org.opendaylight.netconf.monitoring.osgi.NetconfMonitoringActivator.start(NetconfMonitoringActivator.java:31) ~[?:?] at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774) ~[?:?] at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) ~[?:?] at java.security.AccessController.doPrivileged(Native Method) ~[?:?] at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767) ~[?:?] ... 15 more |
| Comments |
| Comment by Michael Vorburger [ 31/May/18 ] |
|
FTR: We've seen distribution build SFT test failure today which seemed to have been due to a fairly similar looking problem - and it just went away on a new "recheck" build (without any code changes in the respective Gerrit), just FTR:
Background, but unrelated really: https://git.opendaylight.org/gerrit/#/c/72530/ ( |
| Comment by Michael Vorburger [ 21/Jun/18 ] |
|
This also appears in https://jenkins.opendaylight.org/releng/job/distribution-check-fluorine/69/consoleFull : 2018-06-20T18:35:23,892 | ERROR | Framework Event Dispatcher: org.eclipse.osgi.internal.framework.EquinoxEventPublisher@45f45fa1 | monitoring | 424 - org.opendaylight.netconf.monitoring - 1.5.0.SNAPSHOT | FrameworkEvent ERROR - org.opendaylight.netconf.monitoring java.lang.IllegalStateException: Monitoring service was already added at com.google.common.base.Preconditions.checkState(Preconditions.java:504) ~[?:?] at org.opendaylight.netconf.monitoring.osgi.NetconfMonitoringServiceTracker.addingService(NetconfMonitoringServiceTracker.java:37) ~[?:?] at org.opendaylight.netconf.monitoring.osgi.NetconfMonitoringServiceTracker.addingService(NetconfMonitoringServiceTracker.java:23) ~[?:?] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941) ~[?:?] |
| Comment by Jakub Morvay [ 08/Feb/19 ] |
|
NetconfMonitoringActivator is not longer there since Neon so this issue is not relevant anymore. |