Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When running the instructions from our Run wiki page, still errors can happened. This page will try to address some common issues we have seen that could help to successfully run all components.

Table of Contents

...

Log collection

In order to collect logs from each service you can use the following command:

Code Block
languagebash
themeMidnight
docker exec <container_name> cat <log_path>

Below there is a list with the container names follow by the log path, to replace the values in the command above. The container names correspond to the names used in the example Run page, to double check that the you are using the same names in your environment, you could use docker ps.

sdnc_container="/opt/opendaylight/data/log/karaf.log"

policy-agent-container="/var/log/policy-agent/application.log"

nonrtric-control-panel="/logs/nonrtric-controlpanel.log"

nonrtric-gateway="/var/log/nonrtric-gateway/application.log"


The below command can be used to check if there is any error in the logs, in this case for me policy-agent-container, but it could be check for every other container.

Code Block
languagebash
themeMidnight
docker exec policy-agent-container grep ERR /var/log/policy-agent/application.log

Warning can be also checked, using WARN instead or ERR in the command above.

If using A1 controller, SDNC should be used. Specifically, mariadb and sdnc_image must started correctly. 

...