Comment 3 for bug 1797317

Revision history for this message
alok kumar (kalok) wrote :

As per Arvind:
In the vrouter entrypoint of https://review.opencontrail.org/#/c/42952/2/containers/vrouter/agent/entrypoint.sh,
the section name “SESSION_DESTINATION” has been changed to “SESSION” however this change has not got into R5.0.

Tried testing by changing SESSION_DESTINATION to SESSION, slo sessions are getting logged in syslog as well as agent file but still VN name is wrong.

2018-10-13 Sat 22:01:05:611.008 IST nodem9 [Thread 140160203036416, Pid 26997]: [SYS_INFO]: SessionEndpointObject: session_data= [ [ [ vmi = default-domain:ctest-SecurityLogging-24616497:c650dee3-40e0-4f94-a47d-05bd6f67a66d vn = default-domain:ctest-TestDetailedPolicy3Ipv4v6-65433011:vnet3 security_policy_rule = 00000000-0000-0000-0000-000000000001 remote_vn = default-domain:ctest-SecurityLogging-24616497:ctest-vn-46503389 is_client_session = 1 is_si = 0 vrouter_ip = 10.10.10.9 sess_agg_info= [ [ [ local_ip = 135.239.132.3 service_port = 0 protocol = 1 ] [ logged_forward_bytes = 98 logged_forward_pkts = 1 logged_reverse_bytes = 84 logged_reverse_pkts = 1 sessionMap= [ [ [ ip = 12.6.131.3 port = 2444 ] [ forward_flow_info= [ logged_bytes = 98 logged_pkts = 1 flow_uuid = 146b9bc9-f0ab-4d5c-9a74-34d9968f2890 tcp_flags = 0 setup_time = 1539448256049363 action = pass sg_rule_uuid = 77bffb42-eb37-452f-94a0-63220f604f93 nw_ace_uuid = 00000000-0000-0000-0000-100000000001 underlay_source_port = 62230 ] reverse_flow_info= [ logged_bytes = 84 logged_pkts = 1 flow_uuid = 359c5f66-dde3-4861-a7e0-fc8118475d0d tcp_flags = 0 setup_time = 1539448256049363 action = pass sg_rule_uuid = 77bffb42-eb37-452f-94a0-63220f604f93 nw_ace_uuid = 00000000-0000-0000-0000-100000000001 underlay_source_port = 61275 ] vm = f535026f-2bfd-4c6a-b3aa-c0dabbb0cce4 other_vrouter_ip = 10.10.10.10 underlay_proto = 2 ], ] ] ], ] ] ], ] ]

correct VN name should be default-domain:ctest-SecurityLogging-24616497:ctest-vn-90681750.

VN default-domain:ctest-TestDetailedPolicy3Ipv4v6-65433011:vnet3 was created by policy test case which is deleted and the project too.