You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »


Agenda

Notes

  • Use draft reviews if there is any chance there is sensitive non-public content
  • Code coverage - use eclEmma - to view granular coverage - example https://gerrit.onap.org/r/#/c/57245/5
    • from
    • to
  • microservice | filebeat | logstash | elasticsearch | kibana pipeline observations
  • emptyDir volumes on the host VM
  • see mapping of container to uuid in kubelet/pods dir - candidate for a filebeat DaemonSet
  • # on one of the cluster vms
    root@ip-172-31-77-1:/var/lib/kubelet/pods# ls 16712945-8f46-11e8-bbfc-02a1d5a57c25/volumes/kubernetes.io~empty-dir/
    onap-logdemonode-data-filebeat  onap-logdemonode-logs
    root@ip-172-31-77-1:/var/lib/kubelet/pods# ls 16712945-8f46-11e8-bbfc-02a1d5a57c25/volumes/kubernetes.io~empty-dir/onap-logdemonode-logs/logdemonode/node/ -la
    -rw-r--r-- 1 root root        0 Jul 24 13:33 audit.log
    -rw-r--r-- 1 root root 15462147 Jul 24 14:35 debug.log
  • /var/onap/log volume on the filebeat container required to push logs to logstash
  • ubuntu@ip-172-31-77-1:~/_dev/20180719-log-137/oom/kubernetes$ kubectl exec -it onap-logdemonode-778c6d5dc6-cgdcv -n onap bash -c logdemonode-filebeat-onap
    bash-4.2$ cd /var/log/onap/logdemonode/node/
    bash-4.2$ ls -la
    -rw-r--r-- 1 root root        0 Jul 24 13:33 audit.log
    -rw-r--r-- 1 root root 11075611 Jul 24 14:29 debug.log
    -rw-r--r-- 1 root root        0 Jul 24 13:33 error.log
    -rw-r--r-- 1 root root        0 Jul 24 13:33 metrics.log
    2018-07-24T14:30:12.311Z||
    	ResponseCode=, InstanceUUID=e1243a81-20fe-4925-9db3-4df82653cee7, RequestID=0c1b6159-b717-4fba-a409-ad17f83fb47e, ServiceName=/logging-demo/rest/health/health, ResponseDescription=, InvocationID=d04bcac2-9a15-4425-bbfd-150b1f937279, Severity=, InvokeTimestamp=2018-07-24T14:30:12.311Z, PartnerName=, ClientIPAddress=10.42.0.1, ServerFQDN=dev.onap.info, StatusCode=			EXIT
  • No labels