[CONTROLLER-826] Unable to register external Netconf device with latest ODL controller distribution Created: 12/Sep/14 Updated: 25/Jul/23 Resolved: 17/Sep/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | netconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Kiran Koushik | Assignee: | Maros Marsalek |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Windows |
||
| External issue ID: | 1849 |
| Description |
|
Downloaded latest distro: Ran it with external NetConf device. Got the following errors: java.lang.IllegalArgumentException: duplicate key: SourceIdentifier [name=ietf-yang-types@2013-07-15] java.lang.IllegalArgumentException: duplicate key: SourceIdentifier [name=ietf-yang-types@2013-07-15] at com.google.common.base.Preconditions.checkArgument(Preconditions.java:119) ~[bundlefile:na] at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:67) ~[bundlefile:na] at com.google.common.collect.ImmutableMap$Builder.fromEntryList(ImmutableMap.java:249) ~[bundlefile:na] at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:235) ~[bundlefile:na] at com.google.common.collect.Maps.uniqueIndex(Maps.java:1168) ~[bundlefile:na] at com.google.common.collect.Maps.uniqueIndex(Maps.java:1142) ~[bundlefile:na] at org.opendaylight.yangtools.yang.parser.repo.SharedSchemaContextFactory$2.apply(SharedSchemaContextFactory.java:64) ~[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.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.setUpSchema(NetconfDevice.java:309) [bundlefile:na] at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.run(NetconfDevice.java:294) [bundlefile:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_67] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_67] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_67] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_67] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_67] 2014-09-12 17:52:56.431 UTC [remote-connector-processing-executor-3] WARN o.o.c.s.c.n.l.NetconfDeviceCommunicator - RemoteDevice{controller-config} : Session terminated Session closed |
| Comments |
| Comment by Maros Marsalek [ 17/Sep/14 ] |
| Comment by Maros Marsalek [ 17/Sep/14 ] |
|
Fix was merged into master |