Agenda
- New committers: Geora Barsky, Shane Daniel, Prudence Au - we are now at 7
- Kubernetes demo of logging demo RI that uses the AOP wrapper of the Java SLF4J library
- working but will be slightly refactored before merging https://gerrit.onap.org/r/#/c/57171/
- documented in ONAP Application Logging Specification v1.2 (Casablanca)#AddingFilebeattoanONAPKubernetesPOD and ONAP Development#DeveloperDeployment
- Casablanca Scope
- JIRA Board
- Clamp, Logging and Pomba syncing on common ELK charts - found filebeat data dir typo (filebeat worked around it) - https://gerrit.onap.org/r/#/c/57225/
- Acumos and ONAP syncing
- Sonar 88.7 from 80.7% (previously 90.7%) - build servers were down yesterday - https://sonar.onap.org/dashboard?id=org.onap.logging-analytics%3Alogging-analytics
- use "run-sonar" to kick it in - verify that there was no hudson timeout - run again if so - https://jenkins.onap.org/view/logging-analytics/job/logging-analytics-sonar/
- logging spec implementation
- Logging Casablanca Scope
- (all projects) logging deployment infrastructure integrity - - LOG-487Getting issue details... STATUS
- (all projects) logging messages are in spec and leverage library - - LOG-178Getting issue details... STATUS
- security - aaf has just enabled certificate generation - - LOG-409Getting issue details... STATUS
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