[OPNFLWPLUG-814] repetitive "Skip write statistics" WARN is flooding the karaf log Created: 07/Nov/16  Updated: 27/Sep/21  Resolved: 11/Dec/16

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: zan cohen Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 7104
Priority: High

 Description   

Karaf log is fully with Repetative Warning below:

2016-11-07 14:10:39,410 | WARN | entLoopGroup-9-5 | StatisticsGatheringUtils | 291 - org.opendaylight.openflowplugin.impl - 0.3.1.SNAPSHOT | Skip write statistics. Flow hash: -1483975337 not present in DeviceFlowRegistry



 Comments   
Comment by Jamo Luhrsen [ 09/Nov/16 ]

debugging is too cumbersome with logs flooded like this. bumping importance to High/Major, if that's ok.

Comment by Tomas Slusny [ 09/Nov/16 ]

It is caused by statistics arriving too fast, before flow is ever written to DeviceFlowRegistry. I think this WARN can be safely lowered to DEBUG, so it won't be flooding logs anymore.

Comment by Jamo Luhrsen [ 09/Nov/16 ]

(In reply to Tomas Slusny from comment #2)
> It is caused by statistics arriving too fast, before flow is ever written to
> DeviceFlowRegistry. I think this WARN can be safely lowered to DEBUG, so it
> won't be flooding logs anymore.

ok. if that's the case, here is a patch for it:
https://git.opendaylight.org/gerrit/48183

Comment by Shuva Jyoti Kar [ 10/Nov/16 ]

sounds good....

https://git.opendaylight.org/gerrit/#/q/message:%22+lower+log+level+when+stats+come+before+flow+is+written+to+deviceflowregistry%22

Comment by Jamo Luhrsen [ 11/Nov/16 ]

Zan, looks like the log level change was merged. you can mark this resolved if you have time to double check it's working on your end.

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