Uploaded image for project: 'Logging analytics'
  1. Logging analytics
  2. LOG-666

S3P: validate kubernetes pod/container/clusterVM name reflected in clientIPAddress/serverFQDN during cluster failover

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Won't Do
    • Icon: High High
    • None
    • None

      from 20180918 meet https://wiki.onap.org/display/DW/LOG+Meeting+Minutes+2018-09-20+-+M4+Code+Freeze?focusedCommentId=43384995&refresh=1537285056117#comment-43384995

      Put a JIRA in for this - Q: from Dave Williamson - in the context of is the field "serverFQDN" useful

      TODO: serverFQDN currently posts "localhost" when in a container - we are not getting the container name or the vm name without some code changes - but they are available to the kubernetes system and should be written out by filebeat/logstash

      2018-08-28T16:26:57.887Z||2018-08-28T16:26:57.883Z|||7741c447-cd4f-4f0a-9e7a-9abc3eebe8c1||http-nio-8080-exec-30|/logging-demo/rest/health/health|||||INFO||||localhost|0:0:0:0:0:0:0:1|||||||org.onap.demo.logging.ApplicationService|ResponseCode=, InstanceUUID=7741c447-cd4f-4f0a-9e7a-9abc3eebe8c1, RequestID=c897a12f-fa51-4450-8645-3ee907946695, ServiceName=/logging-demo/rest/health/health, ResponseDescription=, InvocationID=067ba289-9017-462a-8d68-aa2670a04205, Severity=, InvokeTimestamp=2018-08-28T16:26:57.883Z, PartnerName=, ClientIPAddress=0:0:0:0:0:0:0:1, ServerFQDN=localhost, StatusCode=||EXIT

      in above
      ServerFQDN=localhost
      ClientIPAddress=0:0:0:0:0:0:0:1
      VirtualServerName=(EMPTY)

      test a failover - especially if logstash "files" is capturing

      harvester should know vm name like "a-onap-devops" - so the java library may not need to actually capture the serverFQDN

      onap-msb-consul-df5cdcdbb-n8f5g 1/1 Running 0 29m 10.42.171.138 a-onap-devops

      verify that the first part of the id changes on a a cluster vm redeploy "df5cdcdbb-n8f5g" - specifically the df5cdcdbb part - as the n8f5g part is the part of the id that "does" vary across pod restarts on a single VM.

      all this assumes you are in ELK + logstash "files" plugin or keep "beats" + filebeat - in both cases verify server name is derived from harvester

            dmwilliamson dmwilliamson
            michaelobrien michaelobrien
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: