[R4.1-5]: kernel flow page in introspect does not show next page flows

Bug #1735397 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
Hari Prasad Killi
Trunk
Fix Committed
Medium
Hari Prasad Killi

Bug Description

test case serial_scripts.vrouter.test_flow_scenarios.TCPFlowEvictionTests.test_flow_on_normal_tcp_close can fail while getting kflow with evicted flows from agent introspect when required flow is in next page and next page of kflow does not show the required flows and same flow was showing via flow -l --show-evicted.

root@nodec12:~# flow -l --show-evicted |grep 120.245.37.4 -A3 -B3
(Gen: 1, K(nh):5, Action:D(Unknown), Flags:E, TCP:, QOS:-1, S(nh):0, Stats:8/596,
 SPort 0, TTL 0, Sinfo 0.0.0.0)

   333528 120.245.37.4:22 6 (2)
                         120.245.37.3:60827
(Gen: 1, K(nh):23, Action:D(Unknown), Flags:E, TCP:, QOS:-1, S(nh):0,
 Stats:29/4905, SPort 0, TTL 0, Sinfo 0.0.0.0)
--
 SPort 0, TTL 0, Sinfo 0.0.0.0)

   522624 120.245.37.3:60827 6 (2)
                         120.245.37.4:22
(Gen: 1, K(nh):23, Action:D(Unknown), Flags:E, TCP:, QOS:-1, S(nh):0,
 Stats:34/4827, SPort 0, TTL 0, Sinfo 0.0.0.0)

but this flow was not seen in agent introspect http://nodec12.englab.juniper.net:8085/Snh_KFlowReq?flow_idx=&show_evicted=1.

alok kumar (kalok)
tags: added: regression
alok kumar (kalok)
summary: - [R4.1-5]: kernel flow page in introspect does show next page flows
+ [R4.1-5]: kernel flow page in introspect does not show next page flows
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/38190
Submitter: Kumar Harsh (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/38191
Submitter: Kumar Harsh (<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/38190
Submitter: Kumar Harsh (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/38191
Submitter: Kumar Harsh (<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/38190
Submitter: Kumar Harsh (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/38191
Submitter: Kumar Harsh (<email address hidden>)

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

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

commit 29bdbf8a949c5c84e889b405bcf3fc8a5fe75345
Author: Kumar Harsh <email address hidden>
Date: Fri Dec 8 16:20:56 2017 +0530

Fix next page requests in kstate introspect
set evicted flag in next page request.

Change-Id: Id8ac59d65956275ffb0b7006d7379ae8e626b361
Closes-Bug: #1735397

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

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

commit 8d9b07f2ab7fdd10cb7d11ce62563b66077dd415
Author: Kumar Harsh <email address hidden>
Date: Fri Dec 8 16:20:56 2017 +0530

Fix next page requests in kstate introspect
set evicted flag in next page request.

Change-Id: Id8ac59d65956275ffb0b7006d7379ae8e626b361
Closes-Bug: #1735397

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.