Troubleshooting - RESTConf
HTTP Error Handling
- Check if the user credentials pass through http basic auth headers are correct
- Check the user name used has NBI Read and Write privileges. Use EPN Manager’s Users, Roles page under Administration to update previleges if not set.
- Check for any errors/exceptions in restconf-nbi.log and console.log for startup issues.
List the RESTCONF API endpoints – use the module api https://{{host}}/restconf/data/ietf-yang-library:modules-state
GET on this url should list the details of apis/modules supported
Checking Logs
All EPN Manager logs are under /opt/CSCOlumos/logs
- restconf-nbi.log – for all restconf logger messages.
- console.log – for startup errors, http request logs
- xde.log – any provisioning related logs
- config.log – any config deploy logs as part of provisioning
Configuring restconf logging
- Edit
/opt/CSCOlumos/conf/restconf/restConfLog4j.properties
in the EPNM Server to add more logger packages and enable logging at DEBUG level
- restart restconf webapp to take the log configuration changes –
touch /opt/CSCOlumos/server/webapps/restconf/WEB-INF/web.xml
Testing with RESTFul Client
Any Http Client or Chrome Postman REST Client