[CONTROLLER-1651] ServiceNotFoundException when installing odl-mdsal-broker-local in karaf4 Created: 03/May/17  Updated: 25/Jul/23  Resolved: 05/Jul/17

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Andrej Mak 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


Attachments: Text File karaf.log    
Issue Links:
Blocks
blocks CONTROLLER-1584 Fix broken controller features failin... Resolved
Duplicate
duplicates CONTROLLER-1584 Fix broken controller features failin... Resolved
External issue ID: 8359

 Description   

Steps to reproduce:
1. start karaf4 distribution, e.g. netconf karaf
2. feature:install odl-mdsal-broker-local

Karaf console is restarted for some reason. Restart causes problems mentioned in NETCONF-358. Then, warnings like

2017-05-03 10:58:08,875 | WARN | saction-28-30'}} | DeadlockMonitor | 77 - org.opendaylight.controller.config-manager - 0.7.0.SNAPSHOT | ModuleIdentifier

{factoryName='runtime-generated-mapping', instanceName='runtime-mapping-singleton'}

did not finish after 9952 ms

start appearing in log. After 5 minutes, following exception is logged:

2017-05-03 11:02:55,000 | ERROR | rint Extender: 3 | BlueprintContainerImpl | 11 - org.apache.aries.blueprint.core - 1.7.1 | Unable to start blueprint container for bundle org.opendaylight.controller.sal-broker-impl/1.6.0.SNAPSHOT due to unresolved dependencies [(objectClass=org.opendaylight.controller.md.sal.dom.api.DOMDataBroker), (objectClass=org.opendaylight.mdsal.eos.dom.api.DOMEntityOwnershipService)]
java.util.concurrent.TimeoutException
at org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:371)[11:org.apache.aries.blueprint.core:1.7.1]
at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)[11:org.apache.aries.blueprint.core:1.7.1]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_111]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_111]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_111]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_111]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_111]



 Comments   
Comment by Andrej Mak [ 03/May/17 ]

Attachment karaf.log has been added with description: full karaf log

Comment by Andrej Mak [ 04/May/17 ]

I'm still able to reproduce it, although fix for 8342 is merged.

Comment by Robert Varga [ 16/May/17 ]

This requires re-juggling the features and is part of CONTROLLER-1584.

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