[CONTROLLER-1366] controller-config in URI was not found in parent data node Created: 11/Jun/15  Updated: 19/Oct/17  Resolved: 15/Jun/15

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

Type: Bug
Reporter: Carol Sanders Assignee: Unassigned
Resolution: Cannot Reproduce 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    
External issue ID: 3667

 Description   

When attempting to GET yang-ext:mount using apidoc explorer for netconf devices, error message "URI was not found in parent data node" is received.

Steps to reproduce:
1. Download latest stable/lithium
2. Start controller
3. Feature:install odl-restconf-all odl-netconf-connector-all
4. Mount devices using 99-netconf-connector.xml or via rpc
5. Try to browse datastore

http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/node/controller-config/yang-ext:mount/network-topology:network-topology/

{
"errors": {
"error": [

{ "error-type": "protocol", "error-tag": "unknown-element", "error-message": "\"controller-config\" in URI was not found in parent data node" }

]
}
}

Response Code
400
Response Headers
{
"Transfer-Encoding": "chunked",
"Server": "Jetty(8.1.15.v20140411)",
"Content-Type": "application/json"
}

From Log

2015-06-10 22:31:27,743 | ERROR | sing-executor-14 | Futures$CombinedFuture | 94 - com.google.guava - 18.0.0 | input future failed.
org.opendaylight.yangtools.yang.model.repo.api.MissingSchemaSourceException: No providers registered for sourceSourceIdentifier [name=ietf-netconf@2011-03-08]
at org.opendaylight.yangtools.yang.model.repo.util.AbstractSchemaRepository.getSchemaSource(AbstractSchemaRepository.java:92)[122:org.opendaylight.yangtools.yang-model-util:0.7.0.SNAPSHOT]
at org.opendaylight.yangtools.yang.parser.repo.SharedSchemaContextFactory$1.apply(SharedSchemaContextFactory.java:66)[124:org.opendaylight.yangtools.yang-parser-impl:0.7.0.SNAPSHOT]
at org.opendaylight.yangtools.yang.parser.repo.SharedSchemaContextFactory$1.apply(SharedSchemaContextFactory.java:63)[124:org.opendaylight.yangtools.yang-parser-impl:0.7.0.SNAPSHOT]
at com.google.common.collect.Iterators$8.transform(Iterators.java:799)[94:com.google.guava:18.0.0]
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)[94:com.google.guava:18.0.0]
at java.util.AbstractCollection.toArray(AbstractCollection.java:141)[:1.7.0_71]
at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:258)[94:com.google.guava:18.0.0]
at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:226)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.allAsList(Futures.java:1027)[94:com.google.guava:18.0.0]
at org.opendaylight.yangtools.yang.parser.repo.SharedSchemaContextFactory.createSchemaContext(SharedSchemaContextFactory.java:137)[124:org.opendaylight.yangtools.yang-parser-impl:0.7.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.setUpSchema(NetconfDevice.java:423)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.access$1400(NetconfDevice.java:390)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup$1.onFailure(NetconfDevice.java:443)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.add(ExecutionList.java:101)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:170)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ForwardingListenableFuture.addListener(ForwardingListenableFuture.java:47)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1322)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1258)[94:com.google.guava:18.0.0]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.setUpSchema(NetconfDevice.java:460)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.access$1400(NetconfDevice.java:390)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup$1.onFailure(NetconfDevice.java:443)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.add(ExecutionList.java:101)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:170)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ForwardingListenableFuture.addListener(ForwardingListenableFuture.java:47)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1322)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1258)[94:com.google.guava:18.0.0]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.setUpSchema(NetconfDevice.java:460)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.access$1400(NetconfDevice.java:390)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup$1.onFailure(NetconfDevice.java:443)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.add(ExecutionList.java:101)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:170)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ForwardingListenableFuture.addListener(ForwardingListenableFuture.java:47)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1322)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1258)[94:com.google.guava:18.0.0]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.setUpSchema(NetconfDevice.java:460)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.access$1400(NetconfDevice.java:390)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup$1.onFailure(NetconfDevice.java:443)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.add(ExecutionList.java:101)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:170)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ForwardingListenableFuture.addListener(ForwardingListenableFuture.java:47)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1322)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1258)[94:com.google.guava:18.0.0]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.setUpSchema(NetconfDevice.java:460)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.access$1400(NetconfDevice.java:390)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup$1.onFailure(NetconfDevice.java:443)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.add(ExecutionList.java:101)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:170)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ForwardingListenableFuture.addListener(ForwardingListenableFuture.java:47)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1322)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1258)[94:com.google.guava:18.0.0]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.setUpSchema(NetconfDevice.java:460)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.access$1400(NetconfDevice.java:390)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup$1.onFailure(NetconfDevice.java:443)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.add(ExecutionList.java:101)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:170)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ForwardingListenableFuture.addListener(ForwardingListenableFuture.java:47)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1322)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1258)[94:com.google.guava:18.0.0]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.setUpSchema(NetconfDevice.java:460)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.access$1400(NetconfDevice.java:390)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup$1.onFailure(NetconfDevice.java:443)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.add(ExecutionList.java:101)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:170)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ForwardingListenableFuture.addListener(ForwardingListenableFuture.java:47)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1322)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1258)[94:com.google.guava:18.0.0]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.setUpSchema(NetconfDevice.java:460)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.access$1400(NetconfDevice.java:390)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup$1.onFailure(NetconfDevice.java:443)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.add(ExecutionList.java:101)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:170)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ForwardingListenableFuture.addListener(ForwardingListenableFuture.java:47)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1322)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1258)[94:com.google.guava:18.0.0]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.setUpSchema(NetconfDevice.java:460)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.access$1400(NetconfDevice.java:390)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup$1.onFailure(NetconfDevice.java:443)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.add(ExecutionList.java:101)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:170)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ForwardingListenableFuture.addListener(ForwardingListenableFuture.java:47)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1322)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1258)[94:com.google.guava:18.0.0]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.setUpSchema(NetconfDevice.java:460)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.access$1400(NetconfDevice.java:390)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup$1.onFailure(NetconfDevice.java:443)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.add(ExecutionList.java:101)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:170)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ForwardingListenableFuture.addListener(ForwardingListenableFuture.java:47)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1322)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1258)[94:com.google.guava:18.0.0]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.setUpSchema(NetconfDevice.java:460)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.access$1400(NetconfDevice.java:390)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup$1.onFailure(NetconfDevice.java:443)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.add(ExecutionList.java:101)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:170)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ForwardingListenableFuture.addListener(ForwardingListenableFuture.java:47)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1322)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1258)[94:com.google.guava:18.0.0]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.setUpSchema(NetconfDevice.java:460)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.access$1400(NetconfDevice.java:390)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup$1.onFailure(NetconfDevice.java:443)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.add(ExecutionList.java:101)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:170)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ForwardingListenableFuture.addListener(ForwardingListenableFuture.java:47)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1322)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1258)[94:com.google.guava:18.0.0]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.setUpSchema(NetconfDevice.java:460)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.access$1400(NetconfDevice.java:390)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup$1.onFailure(NetconfDevice.java:443)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.add(ExecutionList.java:101)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:170)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ForwardingListenableFuture.addListener(ForwardingListenableFuture.java:47)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1322)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1258)[94:com.google.guava:18.0.0]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.setUpSchema(NetconfDevice.java:460)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.access$1400(NetconfDevice.java:390)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup$1.onFailure(NetconfDevice.java:443)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ExecutionList.add(ExecutionList.java:101)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:170)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.ForwardingListenableFuture.addListener(ForwardingListenableFuture.java:47)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1322)[94:com.google.guava:18.0.0]
at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1258)[94:com.google.guava:18.0.0]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.setUpSchema(NetconfDevice.java:460)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.access$1400(NetconfDevice.java:390)[247:org.opendaylight.controller.sal-netconf-connector:1.2.0.SNAPSHOT]

<messages continues karaf.log file attached>



 Comments   
Comment by Carol Sanders [ 11/Jun/15 ]

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

Comment by Maros Marsalek [ 11/Jun/15 ]

Just tested with most recent stable/lithium. Everything regarding the loopback controller-config connector works fine (I havent tried connecting to your netconf device).

First of all, your URL is wrong, it should be:
http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/controller-config/yang-ext:mount

or preferably (using topology model):
http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/controller-config/yang-ext:mount/

Second:
You cannot view network-topology using controller-config loopback connection. This connection does not go to MD-SAL but only the private datastores of config subsystem (you can view/modify/monitor modules + services there)

Third:
If there is a problem with your device, you can try getting the TRACE logs for netconf and attaching them here. Current attached log shows some issues with schemas there (could not be downloaded or are not provided by the device).

This bug should be closed as controller-config works fine. Tested with controller karaf distribution and integration karaf distribution.

Btw. the only change that could be causing issues with netconf + your device is: https://bugs.opendaylight.org/show_bug.cgi?id=3191 ... the serialization of identity-refs was optimized, which also improves the serialization of get-schema RPC.

Comment by Tom Pantelis [ 11/Jun/15 ]

What is the difference between querying controller-config under inventory and topology and why is topology preferable?

(In reply to Maros Marsalek from comment #1)
>
> or preferably (using topology model):
> http://localhost:8181/restconf/config/network-topology:network-topology/
> topology/topology-netconf/node/controller-config/yang-ext:mount/
>

Comment by Maros Marsalek [ 11/Jun/15 ]

Topology and inventory share the same mountpoint instance, so its the same. We are just migrating netconf nodes from inventory to topology and hope to completely remove netconf nodes from inventory model in the next release (currently netconf nodes are kept in 2 places to preserve backwards compatibility).

A couple of advantages of using topology model:

  • netconf node contains more useful information in the (operational) topology model (granular connection state, failed capabilities, ip + port)
  • netconf nodes are isolated in a netconf specific topology and you cant confuse them with e.g. opneflow nodes
Comment by Carol Sanders [ 12/Jun/15 ]

The URL was taken directly from APIdoc explorer.

Comment by Maros Marsalek [ 15/Jun/15 ]

Closing as works-for-me since this is fine in neteconf and in restconf. Looks like an issue in APIdoc explorer. Bug should be openened there.

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