[OPNFLWPLUG-1083] Stats frozen after applying 2 sec delay in OF channel Created: 03/Jan/20  Updated: 06/Nov/20  Resolved: 16/Mar/20

Status: Resolved
Project: OpenFlowPlugin
Component/s: statistics-manager
Affects Version/s: None
Fix Version/s: Sodium-SR3, Magnesium

Type: Bug Priority: High
Reporter: Luis Gomez Assignee: VenkataSatya Jonnadula
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Controller does not send stats requests to switches after applying a 2 secs delay in the OF channel.

To reproduce:

1) Connect OVS switch to controller.
2) Apply 2 secs RTT delay in the VM running the OVS:

sudo tc qdisc add dev ens3 root handle 1:0 netem delay 2000ms

3) Check with wireshark or in karaf log (DEBUG org.opendaylight.openflowplugin.impl) that controller does not send stats requests to switch.

4) The problem persists even when the delay is removed:

sudo tc qdisc del dev ens3 root


 Comments   
Comment by Luis Gomez [ 03/Feb/20 ]

Good news: VenkataSatya found fix for this, he will push gerrit very soon.

Comment by Arunprakash D [ 18/Feb/20 ]

ecelgp could you please provide +1 for this, so that i can go ahead and merge it.

https://git.opendaylight.org/gerrit/c/openflowplugin/+/87522

 

From the code change perspective, it wont break anything as it is just an additional catch statement.

Comment by Luis Gomez [ 18/Feb/20 ]

Just did, the fix actually works.

Comment by Arunprakash D [ 16/Mar/20 ]

VenkataSatya all the patches are merged. please close the jira.

Generated at Wed Feb 07 20:34:09 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.