[CONTROLLER-844] Bulk delete of all flows leaves flows dangling in the network Created: 17/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 |
||
| Attachments: |
|
| External issue ID: | 1920 |
| Description |
|
When a large number of flows is deleted from the config space in a single operation (e.g. a REST call with xpath 'restconf/config/opendaylight-inventory:nodes', which means delete all node configurations), the delete process stalls before all flows are deleted. Consequently, some flows are left in the network. To reproduce: 2. Start mininet with 3 nodes (OF1.0 or OF1.3 - does not matter, the issue 3. Drive 32000 flows into mininet using the attached python script: 4. Validate in mininet that flows have been programmed into the network 5. Perform the bulk delete operation using the attached python script: 6. Validate in mininet that flows have NOT been deleted (which would be |
| Comments |
| Comment by Jan Medved [ 17/Sep/14 ] |
|
Attachment flow_config_perf.py has been added with description: flow_config_perf.py |
| Comment by Jan Medved [ 17/Sep/14 ] |
|
Attachment config_cleanup.py has been added with description: config_cleanup.py |
| Comment by Jan Medved [ 17/Sep/14 ] |
|
It somehow related to the large number of flows per node. The problem does not occur with 256 nodes in mininet, where there are roughly ~125 flows per node. With 3 nodes, there are ~11000 flows per node, which seems to be a problem. |
| Comment by Jan Medved [ 17/Sep/14 ] |
|
Priority raised to blocker, since analysis indicates inherent deadlocks in the openflow plugin |
| Comment by Jan Medved [ 24/Sep/14 ] |
|
Fixed with https://git.opendaylight.org/gerrit/10294 |
| Comment by Carol Sanders [ 05/May/15 ] |
|
This bug is part of the project to Move all ADSAL associated component bugs to ADSAL. |