Ask Your Question

yang-ext:mount not working

asked 2014-05-19 16:09:56 -0700

csadi gravatar image

When I try to go to ""

I get the error "Mount point does not contain any schema with modules."

Can someone help me understand this message? Is this something I need to provide - say my yang schema ....?

Thanks in advance



edit retag flag offensive close merge delete


Please post the hello message to verify if your device supports netconf monitoring.

kanika28 ( 2014-05-20 01:39:51 -0700 )edit

[root@bti-ma-sdn ~]# curl -v http://localhost:8080/restconf/operational/opendaylight-inventory:nodes/node/Atlas7800Adi1/ * About to connect() to localhost port 8080 (#0) * Trying ::1... connected * Connected to localhost (::1) port 8080 (#0) > GET /restconf/operational/opendaylight-inventory:nodes/node/Atlas7800Adi1/ HTTP/1.1 > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/ zlib/1.2.3 libidn/1.18 libssh2/1.4.2 > Host: localhost:8080 > Accept: */* > < HTTP/1.1 200 OK < Server: Apache-Coyote/1.1 < Cache-Control: private < Expires: Wed, 31 Dec 1969 19:00:00 EST < Content-Type: application/ < Transfer-Encoding: chunked < Date: Tue, 20 May 2014 13:46:02 GMT < { "node": [ { "netconf-node-inventory:initial-capability": [ "", ""

csadi ( 2014-05-20 06:47:23 -0700 )edit

This is not the hello message response. Can you connect to your device using netconf over ssh and share the hello message or share the odl's log file?

kanika28 ( 2014-05-20 07:27:28 -0700 )edit

I can send you the log file - can you give me your email? This comment section has character limitation and we dont have any other way of attaching files on this forum and hence

csadi ( 2014-05-20 07:59:45 -0700 )edit

Could you post all returned initial capabilites somewhere so we can examine them?

Tony Tkacik ( 2014-05-20 08:15:58 -0700 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2014-05-19 20:27:45 -0700

Similar issue was seen sometime back and Maros proposed a fix:

Not sure if this has been merged yet.

edit flag offensive delete publish link more

answered 2014-05-19 23:48:41 -0700

Maros gravatar image

updated 2014-05-21 02:27:56 -0700

The fix mentioned by kanika was merged a while back

The message means that the schema(yang files) were not downloaded from your device. Most likely causes:

  1. SSH/TCP connection to your device was dropped or not properly established
  2. Your device does not support netconf-monitoring so the schemas could not be downloaded

Please make sure you are using the latest code for the controller, check the connectivity to your device and verify that it supports netconf-monitoring capability.

@csadi The log you posted in comment indicates that the nodes/node entry was created in the datastore and that the device is connected. But the schema might have not been dowloaded/parsed.

Could you please add these lines to logging configuration file (configuration/logback.xml):

<logger name="org.opendaylight.controller.sal.connect" level="TRACE"/>

<logger name="org.opendaylight.controller.netconf" level="TRACE"/>

This will add detailed debug messages from netconf connector. Please re-run the controller with this log configuration and send me the opendaylight.log file.

Also if your renote device is publicly accessible, I could try to connect from my machine and debug the issue (I just need the connection configuration).

edit flag offensive delete publish link more


@Maros, @Tony Tkacik For the second case, where device does not support netconf monitoring, have the code been modified to start reading the yang files from cache/schema folder. If you remember, I did some hardcoding to make that happen. I raised a bug a for it:

kanika28 ( 2014-05-20 01:35:36 -0700 )edit

@Maros 1. SSH is working to the device as I do see the output in the log 2. Can you please give me a sample schema file - i can try creating for testing purpose while I debug on the device side 3. Please provide me a link for the latest controller - I downloaded from the regular download location

csadi ( 2014-05-20 04:39:35 -0700 )edit

@Kanika Can you please let me know the details to make ODL read yang files from cache/schema ? Thanks Adi

csadi ( 2014-05-20 06:49:33 -0700 )edit

@Kanika, @Maros Does'nt below log indicate that the schema was created successfully? las-products,] 2014-05-20 10:08:01.407 EDT [pool-30-thread-1] DEBUG o.o.c.s.c.n.NetconfDevice#Atlas7800Adi1 - Update device state transactio n DOM-2 putting operational data started. 2014-05-20 10:08:01.407 EDT [pool-30-thread-1] DEBUG o.o.c.s.c.n.NetconfDevice#Atlas7800Adi1 - Update device state transactio n DOM-2 putting operational data ended. 2014-05-20 10:08:01.410 EDT [pool-30-thread-1] DEBUG o.o.c.s.c.n.NetconfDevice#Atlas7800Adi1 - Update device state transactio n DOM-2 SUCCESSFUL.

csadi ( 2014-05-20 07:10:34 -0700 )edit

@csadi Please see my edited answer

Maros ( 2014-05-21 01:49:41 -0700 )edit
Login/Signup to Answer

Question Tools



Asked: 2014-05-19 16:09:56 -0700

Seen: 1,017 times

Last updated: May 21 '14