[OVSDB-439] Stale connection check is failing and end up removing node from data store. Created: 15/Dec/17 Updated: 09/Jul/18 Resolved: 09/Jul/18 |
|
| Status: | Resolved |
| Project: | ovsdb |
| Component/s: | Southbound.Open_vSwitch |
| Affects Version/s: | Carbon-SR3 |
| Fix Version/s: | Oxygen-SR3, Fluorine |
| Type: | Bug | Priority: | High |
| Reporter: | Sam Hague | Assignee: | suneelu varma |
| Resolution: | Done | Votes: | 0 |
| Labels: | csit:3node, ds | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Issue Links: |
|
||||||||||||||||||||
| Sub-Tasks: |
|
||||||||||||||||||||
| Epic Link: | Clustering Stability | ||||||||||||||||||||
| Description |
|
Hello Anil, ]/node/node[\{(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)node-id=ovsdb://uuid/e9806896-8dc2-4f17-83ea-c1c957608915}]} has no owner, cleaning up the operational data store |
| Comments |
| Comment by Anil Vishnoi [ 22/Dec/17 ] |
|
This issue can be recreated with just OVSDB southbound plugin by using the following steps.
(1) Connect the ovs (set-manager) to the controller. (2) Add following iptables rule, that will disconnect the communication to the controller sudo iptables -A OUTPUT -d <CONTROLLER_IP> -j DROP
(3) Sleep for 90 seconds (4) Remove the roles and enable the communication to the controller sudo iptables -D OUTPUT -d <CONTROLLER_IP> -j DROP
This should trigger the second connection from the switch to the controller, but the previous connection is still lingering in the controller. Current code has a bug that ends up disconnecting the second connection as well.
jluhrsen this is a good CSIT test to check the connection flips between OVS and controller. |
| Comment by Anil Vishnoi [ 22/Dec/17 ] |
|
stable/carbon : https://git.opendaylight.org/gerrit/66718 |
| Comment by Jamo Luhrsen [ 05/Jan/18 ] |
|
I can't reproduce this. I have a CSIT patch in the works, but I want to make sure the CSIT
at this point I see the connection is made again and seems to stay. I must be missing BTW,I know ovs will continue to try and sometimes the ovs-vsctl show will say |
| Comment by Anil Vishnoi [ 06/Jan/18 ] |
|
Basically this issue will recreate only if there are parallel connection to the controller from the same switch. To put controller you will have to drop the traffic both ways (controller to switch and vice versa), that's the reason i was installing two rules sudo iptables -A OUTPUT -d <CONTROLLER_IP> -j DROP
You don't have to wait for connection to be gone, just wait for 60-90 seconds before removing the rules and it will get recreated consistently. |
| Comment by Jamo Luhrsen [ 28/Jun/18 ] |
|
this patch is still unmerged. what's the plan here? |
| Comment by Jamo Luhrsen [ 09/Jul/18 ] |
|
marking this done, as the patch went in back in December for carbon. I think we just didn't |