[sysrepo-devel] get-schema issue with latest master branch

Joan Landry JoLandry at advaoptical.com
Sun Dec 4 02:14:52 UTC 2016


The latest master branch I am seeing an issue with get-schema - any ideas?
The sysrepo eror below looks like it has something to do with registering for '/ietf-netconf-monitoring:get-schema').

Any info on how to fix this would be greatly appreciated.


[ERR] (rp_rpc_req_process:1877) No subscription found for RPC delivery (xpath = '/ietf-netconf-monitoring:get-schema').


yangcli root at 10.64.204.119> get-schema

Enter string value for leaf <identifier>
yangcli root at 10.64.204.119:get-schema> ietf-system

RPC Error Reply 37 for session 1:

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
  <rpc-error>
    <error-type>protocol</error-type>
    <error-tag>operation-not-supported</error-tag>
    <error-severity>error</error-severity>
    <error-message
      xmlns:xml="http://www.w3.org/XML/1998/namespace" xml:lang="en">Request could not be completed because the requested operation is not supported by this implementation.</error-message>
  </rpc-error>
</rpc-reply>

Netopeer2

[2016/12/03 21:08:25.144349, 3] ssh_packet_socket_callback:  packet: read type 94 [len=284,padding=15,comp=268,payload=268]
[2016/12/03 21:08:25.144403, 3] ssh_packet_process:  Dispatching handler for packet type 94
[2016/12/03 21:08:25.144431, 3] channel_rcv_data:  Channel receiving 259 bytes data in 0 (local win=1265419 remote win=39563241)
[2016/12/03 21:08:25.144455, 3] channel_default_bufferize:  placing 259 bytes into channel buffer (stderr=0)
[2016/12/03 21:08:25.144479, 3] channel_rcv_data:  Channel windows are now (local win=1265160 remote win=39563241)
[2016/12/03 21:08:25.144510, 3] ssh_channel_read_timeout:  Read (1) buffered : 259 bytes. Window: 1265160
[2016/12/03 21:08:25.144536, 3] ssh_channel_read_timeout:  Read (1) buffered : 258 bytes. Window: 1265160
[2016/12/03 21:08:25.144561, 3] ssh_channel_read_timeout:  Read (1) buffered : 257 bytes. Window: 1265160
[2016/12/03 21:08:25.144585, 3] ssh_channel_read_timeout:  Read (1) buffered : 256 bytes. Window: 1265160
[2016/12/03 21:08:25.144609, 3] ssh_channel_read_timeout:  Read (1) buffered : 255 bytes. Window: 1265160
[2016/12/03 21:08:25.144633, 3] ssh_channel_read_timeout:  Read (1) buffered : 254 bytes. Window: 1265160
[2016/12/03 21:08:25.144659, 3] ssh_channel_read_timeout:  Read (249) buffered : 253 bytes. Window: 1265160
[2016/12/03 21:08:25.144700, 3] ssh_channel_read_timeout:  Read (1) buffered : 4 bytes. Window: 1265160
[2016/12/03 21:08:25.144725, 3] ssh_channel_read_timeout:  Read (1) buffered : 3 bytes. Window: 1265160
[2016/12/03 21:08:25.144750, 3] ssh_channel_read_timeout:  Read (1) buffered : 2 bytes. Window: 1265160
[2016/12/03 21:08:25.144774, 3] ssh_channel_read_timeout:  Read (1) buffered : 1 bytes. Window: 1265160
netopeer2-server[1582]: Session 1: received message:
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="37"
  xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
  <get-schema xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">
    <identifier>ietf-system</identifier>
  </get-schema>
</rpc>
netopeer2-server[1582]: DICT: inserting "rpc" with collision
netopeer2-server[1582]: DICT: inserting "message-id" with collision
netopeer2-server[1582]: DICT: inserting "37" with collision
netopeer2-server[1582]: DICT: inserting (refcount) "urn:ietf:params:xml:ns:netconf:base:1.0"
netopeer2-server[1582]: DICT: inserting (refcount) "get-schema"
netopeer2-server[1582]: DICT: inserting (refcount) "urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"
netopeer2-server[1582]: DICT: inserting (refcount) "identifier"
netopeer2-server[1582]: DICT: inserting (refcount) "ietf-system"
netopeer2-server[1582]: DICT: inserting (refcount) ""
netopeer2-server[1582]: DICT: inserting (refcount) ""
netopeer2-server[1582]: Resolving unresolved data nodes and their constraints...
netopeer2-server[1582]: All data nodes and constraints resolved.
netopeer2-server[1582]: XPATH: expression "//*":
netopeer2-server[1582]: XPATH:               Token Operator(Path), in expression "//"
netopeer2-server[1582]: XPATH:               Token NameTest, in expression "*"
netopeer2-server[1582]: XPATH: eval_absolute_location_path parsed Operator(Path)[0]
netopeer2-server[1582]: DICT: inserting (refcount) "*"
netopeer2-server[1582]: XPATH: eval_node_test              parsed NameTest[2]
netopeer2-server[1582]: (cl_request_process:420) Sending rpc request.
netopeer2-server[1582]: (cl_request_process:442) rpc request sent, waiting for response.
netopeer2-server[1582]: (cl_request_process:464) rpc response received, processing.
netopeer2-server[1582]: (cl_rpc_send:2942) Error by processing of the request.
netopeer2-server[1582]: DICT: inserting "Request could not be completed because the requested operation is not supported by this implementation." with collision
netopeer2-server[1582]: DICT: inserting "en" with collision
netopeer2-server[1582]: Session 1: sending message:

#375

[2016/12/03 21:08:25.149104, 3] ssh_socket_unbuffered_write:  Enabling POLLOUT for socket
[2016/12/03 21:08:25.149158, 3] packet_send2:  packet: wrote [len=28,padding=12,comp=15,payload=15]
[2016/12/03 21:08:25.149183, 3] channel_write_common:  channel_write wrote 6 bytes
netopeer2-server[1582]: Session 1: sending message:
<rpc-reply message-id="37" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"><rpc-error><error-type>protocol</error-type><error-tag>operation-not-supported</error-tag><error-severity>error</error-severity><error-message xml:lang="en">Request could not be completed because the requested operation is not supported by this implementation.</error-message></rpc-error></rpc-reply>
[2016/12/03 21:08:25.149284, 3] packet_send2:  packet: wrote [len=396,padding=11,comp=384,payload=384]
[2016/12/03 21:08:25.149310, 3] channel_write_common:  channel_write wrote 375 bytes
[2016/12/03 21:08:25.149342, 3] ssh_socket_unbuffered_write:  Enabling POLLOUT for socket
netopeer2-server[1582]: Session 1: sending message:

##

[2016/12/03 21:08:25.149409, 3] packet_send2:  packet: wrote [len=28,padding=14,comp=13,payload=13]
[2016/12/03 21:08:25.149434, 3] channel_write_common:  channel_write wrote 4 bytes
[2016/12/03 21:08:25.149463, 3] ssh_socket_unbuffered_write:  Enabling POLLOUT for socket


Sysrepo

[DBG] (cm_conn_read_cb:1060) fd 6 readable
[DBG] (cm_conn_read_cb:1073) 130 bytes of data received on fd 6
[DBG] (cm_conn_read_cb:1083) fd 6 would block
[DBG] (cm_conn_in_buff_process:1013) New message of size 126 bytes received.
[DBG] (sr_cbuff_enqueue:461) Circular buffer enqueue to position=0, current count=1.
[DBG] (rp_msg_process:3146) Threads: active=0/4, 1 requests in queue
[DBG] (rp_worker_thread_execute:2874) Thread id=140737316480768 signaled.
[DBG] (sr_cbuff_dequeue:477) Circular buffer dequeue, new buffer head=1, count=0.
[DBG] (rp_rpc_req_process:1759) Processing RPC request.
[DBG] (dm_get_data_info:1744) Module ietf-netconf-monitoring already loaded
[DBG] (sr_locking_set_lock_fd:734) File /etc/sysrepo/data/ietf-netconf-monitoring.persist has been locked
[DBG] (pm_load_data_tree:174) Persist data successfully loaded from file '/etc/sysrepo/data/ietf-netconf-monitoring.persist'.
[DBG] (sr_locking_set_unlock_close_fd:803) File /etc/sysrepo/data/ietf-netconf-monitoring.persist (fd = 12) has been unlocked
[DBG] (pm_get_subscriptions:817) Returning 0 subscriptions found in 'ietf-netconf-monitoring' persist file.
[ERR] (rp_rpc_req_process:1877) No subscription found for RPC delivery (xpath = '/ietf-netconf-monitoring:get-schema').
[DBG] (sr_cbuff_enqueue:461) Circular buffer enqueue to position=0, current count=1.
[DBG] (rp_worker_thread_execute:2862) Thread id=140737316480768 will wait.
[DBG] (cm_msg_enqueue_cb:1668) New message enqueued into CM message queue.
[DBG] (sr_cbuff_dequeue:477) Circular buffer dequeue, new buffer head=1, count=0.
[DBG] (cm_conn_out_buff_flush:505) Sending 67 bytes of data.
[DBG] (cm_conn_out_buff_flush:511) 67 bytes of data sent.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sysrepo.org/archives/sysrepo-devel/attachments/20161204/8356cf3f/attachment.html>


More information about the sysrepo-devel mailing list