[R4.1-5]: local_ip/service port field name in session logs in syslog is not appropriate

Bug #1735416 reported by alok kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.1
Fix Committed
Medium
Arvind
Trunk
Invalid
Medium
Arvind

Bug Description

This is sample session logged in syslog, check the field name here local_local_ip and service_service_port.
Looks like now agent is also using local_ip(seen in agent log file) and analytics is also prefixing it with local.
same for service_port.

SessionData: [ vmi = default-domain:ctest-SessionLogging-99290639:2d0ac14b-55cc-4f35-ac8a-8d20bd13693a vn = default-domain:ctest-SessionLogging-99290639:ctest-vn-79357828 ] security_policy_rule = 00000000-0000-0000-0000-000000000001 remote_vn = default-domain:ctest-SessionLogging-99290639:ctest-vn-70028635 is_client_session = 1 is_si = 0 vrouter_ip = 10.204.216.69 local_local_ip = 74.233.135.3 service_service_port = 0 protocol = 1 sampled_forward_bytes = 98 sampled_forward_pkts = 1 sampled_reverse_bytes = 98 sampled_reverse_pkts = 1 ip = 50.160.97.3 port = 2764 forward_flow_info= [ sampled_bytes = 98 sampled_pkts = 1 flow_uuid = af63661b-7ea9-44d3-b014-3b35d28f43de tcp_flags = 0 setup_time = 1512045150458989 action = pass sg_rule_uuid = a77a7e56-bfb1-4e61-a19e-d0a2a21ecfb2 nw_ace_uuid = d1df64ab-8a1f-4327-b082-2e55a2daa487 underlay_source_port = 50385 ] reverse_flow_info= [ sampled_bytes = 98 sampled_pkts = 1 flow_uuid = e0fd2b74-14e7-4a9e-9c78-93f4946161e7 tcp_flags = 0 setup_time = 1512045150458989 action = pass sg_rule_uuid = deb4e390-4017-4b87-a338-ce0ae9a0529d nw_ace_uuid = d1df64ab-8a1f-4327-b082-2e55a2daa487 underlay_source_port = 62979 ] vm = a46ad3f5-f461-4105-ab1f-4cd68335451e other_vrouter_ip = 10.204.216.69 underlay_proto = 0 ]

Tags: analytics
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.1

Review in progress for https://review.opencontrail.org/38020
Submitter: Arvind (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/38020
Committed: http://github.com/Juniper/contrail-controller/commit/9326a16eabd1e0480a629009d337c9d634f0dd31
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 9326a16eabd1e0480a629009d337c9d634f0dd31
Author: arvindvis <email address hidden>
Date: Thu Nov 30 09:49:24 2017 -0800

The change is not needed as the fiel name is changed in sandesh
itself.
Closes-Bug: #1735416

Change-Id: I561dd4a6358b68657845bdb87537599930374c12

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.