[OVSDB-399] ODL does not reconcile pre-created OVS ports Created: 30/Jan/17 Updated: 19/Oct/17 Resolved: 20/Jul/17 |
|
| Status: | Resolved |
| Project: | ovsdb |
| Component/s: | Southbound.Open_vSwitch |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Tim Rozet | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 7707 |
| Description |
|
When connecting OVS to ODL - if ports already exist that ODL would want to create, it will fail to reconcile and result in errors. This was seen in Boron. For example, if vxlan tunnel ports already exist, I see ODL create 2 more vxlan ports, instead of using the ones that already exist: [root@overcloud-novacompute-1 ~]# ovs-vsctl show Port "tun55eac6c4536" Interface "tun55eac6c4536" type: vxlan options: {key=flow, local_ip="11.0.0.26", remote_ip="11.0.0.27"} Port "tune230956df1c" Interface "tune230956df1c" type: vxlan options: {key=flow, local_ip="11.0.0.26", remote_ip="11.0.0.21"} Port "tapdf0e53b9-59" In another example, if I am using br-ex as my external network provider mapping. ODL usually will come up and create a patch port between br-ex and br-int. However, if that patch port already exists - ODL will error (in netvirt): |
| Comments |
| Comment by Michael Vorburger [ 01/Feb/17 ] |
|
From: Sam Hague <shague@redhat.com> Tim can you add the karaf logs to that bug? The logs will show exceptions in models where something is inconsistent. |
| Comment by Tim Rozet [ 01/Feb/17 ] |
|
(In reply to Michael Vorburger from comment #1) Sorry I don't have that setup anymore, and I don't have time to test it right now. I just filed it to track. Easy way to test is just setup ODL deployment, then stop ODL, disconnect switches, rm -rf $ODL/, copy new ODL there and start it, wait till netvirt is up, reconnect switches (ports will remain on switches from previous deployment), observe the bug |
| Comment by Vinh Nguyen [ 07/Jul/17 ] |
|
With the following reproduction steps, I can reproduce this issue in Boron SR3 BUT the problem is not observed in in most recent Carbon release (as of July 6 2017) 1) Start Control and Compute node 7) rm ODL directory 11) Observe, only with BORON release, the two tunnel ports for the same vxlan tunnel between control and compute node. The problem is not observed if Carbon release is used |
| Comment by Sam Hague [ 20/Jul/17 ] |
|
This works in carbon and boron will not be receiving updates. |