[R4.1-36]: session bytes/pkt in sess_agg_info are always set to zero

Bug #1730586 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
Ashok Singh
Trunk
Fix Committed
Medium
Ashok Singh

Bug Description

Session bytes/pkt in sess_agg_info are always set to zero, however it should be sum of all the sessions.

This was fine in earlier builds.

2017-11-07 Tue 11:51:19:439.436 IST nodec12 [Thread 140713959024384, Pid 26350]: [SYS_INFO]: SessionEndpointObject: session_data= [ [ [ vmi = default-domain:admin:45d9f83d-6d62-4cab-993b-1a486aaea06d vn = default-domain:admin:vn1 deployment = deployment=test application = application=exchange site = site=india remote_deployment = deployment=dev remote_application = application=sql remote_site = site=svl security_policy_rule = 00000000-0000-0000-0000-000000000001 remote_vn = default-domain:admin:vn2 is_client_session = 0 is_si = 0 vrouter_ip = 10.204.216.69 sess_agg_info= [ [ [ ip = 1.1.1.4 port = 53 protocol = 17 ] [ sampled_forward_bytes = 0 sampled_forward_pkts = 0 sampled_reverse_bytes = 0 sampled_reverse_pkts = 0 logged_forward_bytes = 0 logged_forward_pkts = 0 logged_reverse_bytes = 0 logged_reverse_pkts = 0 sessionMap= [ [ [ ip = 2.2.2.3 port = 34679 ] [ forward_flow_info= [ sampled_bytes = 57 sampled_pkts = 1 flow_uuid = 6b19cded-178b-4a6f-98e6-528c5a0585f4 tcp_flags = 0 setup_time = 1510035671086560 action = pass sg_rule_uuid = 5d04b7e1-b1db-4742-9608-beda2fcbae6b nw_ace_uuid = 2b62ccdf-6e3a-496b-a52b-fa2e026e3308 underlay_source_port = 63937 ] reverse_flow_info= [ flow_uuid = 07acfb72-d0ab-4923-8305-e94790292be4 setup_time = 1510035671086560 action = pass sg_rule_uuid = 5d04b7e1-b1db-4742-9608-beda2fcbae6b nw_ace_uuid = 2b62ccdf-6e3a-496b-a52b-fa2e026e3308 ] vm = 5e02e02e-43b5-4a71-a5a6-d9facf82de4e other_vrouter_ip = 10.204.217.102 underlay_proto = 2 ], [ ip = 2.2.2.6 port = 59512 ] [ forward_flow_info= [ sampled_bytes = 57 sampled_pkts = 1 flow_uuid = 4f91d571-07e6-4aef-9a31-20ed7ffa748b tcp_flags = 0 setup_time = 1510035670349534 action = pass sg_rule_uuid = 5d04b7e1-b1db-4742-9608-beda2fcbae6b nw_ace_uuid = 2b62ccdf-6e3a-496b-a52b-fa2e026e3308 underlay_source_port = 62215 ] reverse_flow_info= [ flow_uuid = e890d28c-12ea-423d-97e3-cfe96781f593 setup_time = 1510035670349534 action = pass sg_rule_uuid = 5d04b7e1-b1db-4742-9608-beda2fcbae6b nw_ace_uuid = 2b62ccdf-6e3a-496b-a52b-fa2e026e3308 ] vm = 5e02e02e-43b5-4a71-a5a6-d9facf82de4e other_vrouter_ip = 10.204.217.102 underlay_proto = 2 ], ] ] ], ] ] ], ] ]

version: 4.1.0.0-36, ubuntu16, newton

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

Review in progress for https://review.opencontrail.org/37254
Submitter: Ashok Singh (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/37267
Submitter: Ashok Singh (<email address hidden>)

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

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

commit 84661c978202f28be35f0373220b9f6ddfc2801a
Author: Ashok Singh R <email address hidden>
Date: Tue Nov 7 16:23:10 2017 +0530

Send aggregated sampled bytes and packets in Session messages

Aggregated sampled bytes and packets were getting constructed from
logged bytes and packets instead of sampled bytes and packets.

Change-Id: Ib9d32ad075a7f7c45c231018a92876926bf218d0
Closes-Bug: #1730586

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/37267
Committed: http://github.com/Juniper/contrail-controller/commit/0f54857e8220a57eac031be73c60c31ebdf012cd
Submitter: Zuul (<email address hidden>)
Branch: master

commit 0f54857e8220a57eac031be73c60c31ebdf012cd
Author: Ashok Singh R <email address hidden>
Date: Tue Nov 7 16:23:10 2017 +0530

Send aggregated sampled bytes and packets in Session messages

Aggregated sampled bytes and packets were getting constructed from
logged bytes and packets instead of sampled bytes and packets.

Closes-Bug: #1730586
(cherry picked from commit 84661c978202f28be35f0373220b9f6ddfc2801a)

Change-Id: If287586334fd3b3bcf23e7998f16f1a59921c718

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.