-
Bug
-
Resolution: Won't Do
-
Medium
-
None
-
Beijing Release
-
None
-
LOG Sprint 11
The log entries in the container log files below are not present in Kibana field "Source":
/var/log/onap/aai/aai-resources/rest/translog.log /var/log/onap/aai/aai-resources/dmaapAAIEventConsumer/metrics.log /var/log/onap/aai/rest/audit.log /var/log/onap/aai/aai-sdb/metrics.log /var/log/onap/AAI-UI/debug.log /var/log/onap/MSO/BPMN/auditmso-6668549988-2d662.log /var/log/onap/MSO/BPMN/debugmso-6668549988-2d662.log /var/log/onap/MSO/BPMN/errormso-6668549988-2d662.log /var/log/onap/MSO/SDNCAdapter/errormso-6668549988-2d662.log /var/log/onap/MSO/VnfAdapter/errormso-6668549988-2d662.log /var/log/onap/MSO/ASDCController/metricsmso-6668549988-2d662.log /var/log/onap/MSO/ASDCController/debugmso-6668549988-2d662.log /var/log/onap/MSO/ASDCController/errormso-6668549988-2d662.log /var/log/onap/MSO/ApiHandlerInfra/errormso-6668549988-2d662.log /var/log/onap/MSO/RequestDB/auditmso-6668549988-2d662.log /var/log/onap/MSO/RequestDB/errormso-6668549988-2d662.log /var/log/onap/sdc/sdc-be/audit.log /var/log/onap/vid/error.log /var/log/onap/vid/audit.log /var/log/onap/vid/metrics.log /var/log/onap/vid/application.log /var/log/onap/debug.log (component policy) /var/log/onap/error.log (component policy) /var/log/onap/network.log (component policy) /var/log/onap/policy/xacml-pdp-rest/audit.log /var/log/onap/policy/xacml-pdp-rest/debug.log /var/log/onap/policy/xacml-pdp-rest/metrics.log
The following steps can be used to identify missing log entries for log files present in the containers:
Identify containers running filebeat:
ubuntu@platform:/onap-ci-testing/oom/kubernetes$ kubectl get pods --all-namespaces -a|grep '2/2'
onap-mso mso-6668549988-2d662 2/2 Running 0 1d
...
For each of the pods above, retrieve the log files showing the files with log entries. Log files of size 0 must be ignored:
ubuntu@platform:~$ (kubectl -n onap-mso exec mso-6668549988-2d662 -it -- find /var/log/onap -type f -name "*" -exec ls -l {} \;) -rw-r--r-- 1 root root 238 Feb 8 15:47 /var/log/onap/MSO/BPMN/auditmso-6668549988-2d662.log
For each non empty log file, retrieve an example log entry:
ubuntu@platform:~$ (kubectl -n onap-mso exec mso-6668549988-2d662 -it – tail -1 /var/log/onap/MSO/BPMN/auditmso-6668549988-2d662.log) 2018-02-08T15:47:15.735Z|2018-02-08T15:47:15.736Z|trace-#|trace-#|ServerService Thread Pool -- 87||postDeploy||COMPLETE|0|Post deployment complete...|fcf274a4-2b08-4ef5-8c74-e1d2c9c6b3b6|INFO|0|10.42.35.14|1|mso-6668549988-2d662|||||||||
- mentioned in
-
Page Loading...