02-06-2018 04:08 PM - edited 03-01-2019 04:05 AM
We use NSO to configure Junos routers. Typically if the Nortbound system sends a request that the device can't configure an RPC error is generated.
In most cases the error is easy to discern, such as a duplicate VLAN for example. However, there are times when the RPC error will respond with something like "interface xxxx could not be created from the configuration".
The error is correct, but the underlying RPC error that reveals the source of the issue from the request is not shown.
How can all RPC errors be displayed in NSO for a failed requests?
Apologies if this was already answered, I have not been able to find it if it has.
Solved! Go to Solution.
02-08-2018 03:49 PM
Ahh now I get it. I don’t think that’s possible however I will check to be sure.
-Dan
02-08-2018 03:12 PM
Hi,
Are you asking for the RPC details between NSO and the Juniper router? If so, you can try to enable NED trace for that.
Thanks,
-Dan
02-08-2018 03:34 PM
Thanks Dan,
Yes We can see all multiple errors in the Device Trace. We would like to get that information as part of the REST Response.
We have set the below flag. Not sure still we don't multiple errors in the REST response. Is there any other configuration do we need to do get all RPC errors as part of error response.
admin@ncs% show devices global-settings report-multiple-errors
report-multiple-errors true;
Thanks,
02-08-2018 03:49 PM
Ahh now I get it. I don’t think that’s possible however I will check to be sure.
-Dan
02-08-2018 10:58 PM
You'd have to check the NETCONF trace, I'm afraid :-(
Would be nice if we improved this in NSO.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide