netopeer2 icon indicating copy to clipboard operation
netopeer2 copied to clipboard

There are no matching subscribers for RPC/action "/o-ran-usermgmt:chg-password".

Open pkolla09 opened this issue 3 years ago • 4 comments

Hi i am new here,please guide me where i went wrong. When i am trying use user-rpc --content /home/wifi/Netconf/Mplane-dev/o-ran-usermgmt_rpc.xml. I am getting an error in netopeer2-cli as There are no matching subscribers for RPC/action "/o-ran-usermgmt:chg-password". usrmngmt

pkolla09 avatar May 09 '22 10:05 pkolla09

You did not do anything particularly wrong. You have tried to execute the RPC /o-ran-usermgmt:chg-password that should run the specific Remote Procedure Call on the server. However, there is no subscription that would actually execute the RPC so it fails, naturally. You can use sysrepo/examples/rpc_subscribe_example /o-ran-usermgmt:chg-password to create a simple subscription that will simply print the RPC it receives.

michalvasko avatar May 09 '22 10:05 michalvasko

Hi, can you suggest me how to add output of rpc. If i am adding directly the output node "status" in to the xml, it throws an error Invalid opaque node "status" found else it throws an error Mandatory node "status" instance does not exist. output

pkolla09 avatar May 09 '22 11:05 pkolla09

Look, you really should try to learn more about 1.) YANG and 2.) NETCONF. Then, read through sysrepo docs. And only then try to actually use sysrepo/netopeer2. Otherwise you will keep having these basic problems.

michalvasko avatar May 09 '22 12:05 michalvasko

Thank you it really helped and i solved my issue.

pkolla09 avatar May 12 '22 08:05 pkolla09