[CONTROLLER-895] Stats not being collected from all nodes, dangling nodes left in oper data store after mininet disconnects Created: 25/Sep/14  Updated: 19/Oct/17  Resolved: 05/May/15

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

Type: Bug
Reporter: Jan Medved 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: 2078

 Description   

Two intermittent issues are being observed with mininets with a large number of nodes:

1. Statistics are not being collected for some nodes. Everything else seems to be working fine, but a for a few nodes stats are not being collected.

2. When mininet exits, one or two nodes are left "dangling" in the oper space. Note that the inventory data (node connector, the node core data, etc.) are deleted, only statistics are left behind (most of the time just a partial set of table stats, e.g. 145 empty tables out of 254). Connecting/disconnecting mininet of the same size clears the condition. (i.e. where the dangling 'shadow' node is re-discovered, the old dangling stats are overwritten by a newly collected set of stats).



 Comments   
Comment by Jan Medved [ 25/Sep/14 ]

In addition, in large mininets bulk flow delete is leaving dangling flows in one or more nodes

Comment by Jan Medved [ 25/Sep/14 ]

Sometimes it is inventory data that is not cleaned up. For example:

{
-nodes: {
-node: [
-{
id: "openflow:56"
-node-connector: [
-{
id: "openflow:56:3"
flow-node-inventory:port-number: "3"
flow-node-inventory:supported: ""
flow-node-inventory:advertised-features: ""
flow-node-inventory:configuration: "PORT-DOWN"
flow-node-inventory:current-feature: ""
flow-node-inventory:current-speed: 0
flow-node-inventory:maximum-speed: 0
flow-node-inventory:hardware-address: "DA:6E:F5:DE:3E:C9"
flow-node-inventory:peer-features: ""
flow-node-inventory:name: "s56-eth3"
-flow-node-inventory:state: {
live: false
blocked: false
link-down: true
}
}
]
}
]
}
}

Comment by Colin Dixon [ 28/Sep/14 ]

The second half of this bug (lingering nodes in operational store) is effectively a duplicate of 2089 and 2091.

The first half (stats not being collected) could still be occurring, but it would be good if Jan could confirm that it is and, if it's, not close the bug.

Comment by Vaclav Demcak [ 02/Oct/14 ]

I hope this bug is solved by
https://git.opendaylight.org/gerrit/#/c/11664/

Comment by Carol Sanders [ 05/May/15 ]

This bug is part of the project to Move all ADSAL associated component bugs to ADSAL.

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