[CONTROLLER-1544] Installing bgpcep/md-sal-all and restconf features in a specific order cause errors Created: 06/Sep/16 Updated: 25/Jul/23 Resolved: 13/Jun/17 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | config |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Milos Fabian | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 6644 |
| Description |
|
Steps to reproduce: Exception in thread "config-blank-txn-0" java.lang.IllegalStateException: Error - getInstance() failed for ModuleIdentifier {factoryName='shutdown', instanceName='shutdown'} in transaction TransactionIdentifier{name='ConfigTransaction-0-1'}at org.opendaylight.controller.config.manager.impl.ConfigTransactionControllerImpl.secondPhaseCommit(ConfigTransactionControllerImpl.java:444) at org.opendaylight.controller.config.manager.impl.ConfigRegistryImpl.secondPhaseCommit(ConfigRegistryImpl.java:346) at org.opendaylight.controller.config.manager.impl.ConfigRegistryImpl.commitConfigSafe(ConfigRegistryImpl.java:285) at org.opendaylight.controller.config.manager.impl.ConfigRegistryImpl.commitConfig(ConfigRegistryImpl.java:250) at org.opendaylight.controller.config.manager.impl.osgi.BlankTransactionServiceTracker$1.hit(BlankTransactionServiceTracker.java:45) at org.opendaylight.controller.config.manager.impl.osgi.BlankTransactionServiceTracker.blankTransactionSync(BlankTransactionServiceTracker.java:79) at org.opendaylight.controller.config.manager.impl.osgi.BlankTransactionServiceTracker.lambda$blankTransactionAsync$0(BlankTransactionServiceTracker.java:70) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalStateException: Could not register runtime bean in ModuleIdentifier{factoryName='shutdown', instanceName='shutdown'} under name org.opendaylight.controller:instanceName=shutdown,type=RuntimeBean,moduleFactoryName=shutdown |
| Comments |
| Comment by Vratko Polak [ 16/Sep/16 ] |
|
This looks line an issue reported by config subsystem (cause either there or in restconf or in bgp). Are there still parts of BGP which use config subsystem? |
| Comment by Claudio David Gasparini [ 21/Sep/16 ] |
|
Bug seems to come from bgp topology provider, deeper investigation in process. |
| Comment by Claudio David Gasparini [ 26/Sep/16 ] |
|
BUG related to bgp-topology-provider is handled on BUG-6799, which correspond to IllegalAccessException: Class org.apache.aries.blueprint.utils.ReflectionUtils This bug is outside of bgp, since it can be replicated installing md-sal-all. |
| Comment by Dana Kutenicsova [ 13/Jun/17 ] |
|
Tested on Boron-SR3 (with both bgpcep-bgp and mdsal-all features), issue is no longer present. Closing bug. |