When following the instructions in the Run pagein Docker, sometimes errors can happened. This page tries to provide some hints of how to solve some errors.
Table of Contents |
---|
Log collection
In order to collect logs from each service you can use the following command:
...
where a1controller is the name of the container and the path of the log is /opt/opendaylight/data/log/karaf.log
Did the A1 Policy Management Service start correctly?
Volume not mounted properly
2021-10-29 07:23:04.878 DEBUG 1 --- [ parallel-2] o.o.c.o.a.dmaap.DmaapMessageConsumer : InfiniteFlux.onRequest 1
2021-10-29 07:23:04.879 DEBUG 1 --- [ parallel-2] o.o.c.o.a.dmaap.DmaapMessageConsumer : fetchFromDmaap, no action DMAAP not configured
...
Code Block | ||||
---|---|---|---|---|
| ||||
docker run --rm -v <absolute-path-to-file>/application_configuration.json:/opt/app/policy-agent/data/application_configuration.json -p 8081:8081 -p 8433:8433 --network=nonrtric-docker-net --name=policy-agent-container nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-policy-agent:2.23.10 |