[CONTROLLER-449] Exception while distribution.opendaylight IT test causes thread death Created: 05/May/14  Updated: 25/Jul/23  Resolved: 07/May/14

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Tomas Olvecky Assignee: Tony Tkacik
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: 949

 Description   

java.lang.IllegalStateException: No default provider is available
at
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.table.statistics.rev131215.OpendaylightFlowTableStatisticsService$$Broker$DirectProxy.getFlowTablesStatistics(OpendaylightFlowTableStatisticsService$$Broker$DirectProxy.java)
~[na:na]
at
org.opendaylight.controller.md.statistics.manager.FlowTableStatsTracker.request(FlowTableStatsTracker.java:70)
~[na:na]
at
org.opendaylight.controller.md.statistics.manager.StatisticsRequestScheduler.requestStatistics(StatisticsRequestScheduler.java:83)
~[na:na]
at
org.opendaylight.controller.md.statistics.manager.StatisticsRequestScheduler.access$100(StatisticsRequestScheduler.java:32)
~[na:na]
at
org.opendaylight.controller.md.statistics.manager.StatisticsRequestScheduler$1.run(StatisticsRequestScheduler.java:52)
~[na:na]
at java.util.TimerThread.mainLoop(Timer.java:555) ~[na:1.7.0_55]
at java.util.TimerThread.run(Timer.java:505) ~[na:1.7.0_55] Test exited with exitValue = 1

Info from Tony:
statistics-manager should filter FlowCapableNode augmentations.
Question is why s-m tries to send RPC on non existing node.



 Comments   
Comment by Michal Rehak [ 05/May/14 ]

The cause seems to be in point where statisticsManager invokes request via routed rpc and hits md-sal exception which is caused by no corresponding provider registered.

StatisticsManager registers for dataChange correctly (hooks on FlowCapableNode augmentation under nodes/node). But the added node, extracted from notification doas not contain any augmentations.

Generated at Wed Feb 07 19:53:02 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.