[CONTROLLER-872] Flow state not written to node after it is removed and re-added Created: 20/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: | Srini Seetharaman | 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: | 2000 |
| Description |
|
When flows are written to a node and it offine and returns after a few mins, the flow rules are not written to the node. Even an explicit write does not help. Here are the flows written to a node on Table #50 before the node goes offline. When the node returns, these rules are not written to the node. Sometimes I see the flow LOADBALANCER_FORWARD_FLOW1_10.0.0.5 being written. Sometimes I see LOADBALANCER_REVERSE_FLOW_10.0.0.5_10.0.0.8 written. It is not deterministic. <table xmlns="urn:opendaylight:flow:inventory"> |
| Comments |
| Comment by Srini Seetharaman [ 20/Sep/14 ] |
|
This issue was noticed in the OVSDB project. Here is the DEBUG log when the flow is attempted to be rewritten on an InventoryListen.notifyNode() call when the node is added back. It says TransactionSuccess worked, but not rules written to the node. 2014-09-20 09:46:14.177 PDT [md-sal-binding-notification-182] DEBUG o.o.o.openstack.netvirt.LBaaSHandler - notifyNode: Node OF|00:00:4a:a8:82:09:59:48 update CHANGED from Controller's invente |
| Comment by Srini Seetharaman [ 20/Sep/14 ] |
|
Attached is the wireshark pcap of the OpenFlow messages. I see only the OFPFC_MODIFY for two of the flows:
|
| Comment by Srini Seetharaman [ 20/Sep/14 ] |
|
Attachment dummy1.pcap has been added with description: Pcap of OpenFlow messages |
| Comment by Srini Seetharaman [ 24/Sep/14 ] |
|
It looks like the bug is resolved. Previously, when a switch with the default OVSDB pipeline rules was disconnected by doing del-manager and del-controller, and then connected by doing set-mananger, the full rule set was not written. But, now it works fine. |
| Comment by Carol Sanders [ 05/May/15 ] |
|
This bug is part of the project to Move all ADSAL associated component bugs to ADSAL. |