[OVSDB-389] OVSDB southbound installs tunnel ports on all connected switches Created: 20/Dec/16  Updated: 30/Oct/17  Resolved: 25/Dec/16

Status: Resolved
Project: ovsdb
Component/s: Southbound.Open_vSwitch
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Vishal Thapar Assignee: Vishal Thapar
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Text File ovsdb-trace-karaf.log    
External issue ID: 7414

 Description   

When creating tunnels ports on an OVS bridge with more than one OVS connected, the tunnel port gets replicated on all other switches. We first the issue in Netvirt CSIT like [1].

This can be easily reporduced with genius, by creating a transport zone with two DPNs, which result in 2 tunnels created on both when it should be one tunnel on each. here is a sample output:

SWITCH1:

62c67e9c-4e1e-4a29-8b7d-d6228ffd4ed9
Manager "tcp:192.168.56.1:6640"
is_connected: true
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
Bridge br-tun
Port br-tun
Interface br-tun
type: internal
Bridge br-int
Controller "tcp:192.168.56.1:6653"
is_connected: true
Controller "tcp:192.168.56.1"
fail_mode: secure
Port "tunf254f384c8a"
Interface "tunf254f384c8a"
type: vxlan
options:

{key=flow, local_ip="30.1.1.200", remote_ip="30.1.1.100"}
Port br-int
Interface br-int
type: internal
Port "tun1334ce172bd"
Interface "tun1334ce172bd"
type: vxlan
options: {key=flow, local_ip="30.1.1.100", remote_ip="30.1.1.200"}
Port "tapdb966c7d-43"
Interface "tapdb966c7d-43"
ovs_version: "2.5.0"


SWITCH2:

stack@u14-bgpvpn-ctrl-mitaka2:~/devstack$ sudo ovs-vsctl show
f6d0e0fc-3690-476c-bdb2-5457964a91d7
Manager "tcp:192.168.56.1:6640"
is_connected: true
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
Bridge br-tun
Port br-tun
Interface br-tun
type: internal
Bridge br-int
Controller "tcp:192.168.56.1:6653"
Controller "tcp:192.168.56.1"
is_connected: true
fail_mode: secure
Port "tunf254f384c8a"
Interface "tunf254f384c8a"
type: vxlan
options: {key=flow, local_ip="30.1.1.200", remote_ip="30.1.1.100"}

Port "tun1334ce172bd"
Interface "tun1334ce172bd"
type: vxlan
options:

{key=flow, local_ip="30.1.1.100", remote_ip="30.1.1.200"}

Port br-int
Interface br-int
type: internal
ovs_version: "2.5.0"

Attached curated karaf logs from this run with TRACE enabled on ovsdb.southbound.

[1] https://logs.opendaylight.org/sandbox/jenkins091/netvirt-csit-1node-openstack-newton-jamodebug-upstream-transparent-carbon/2/archives/robot-plugin/log.html



 Comments   
Comment by Vishal Thapar [ 20/Dec/16 ]

Attachment ovsdb-trace-karaf.log has been added with description: curated ovsdb.southbound TRACE logs

Comment by Vishal Thapar [ 21/Dec/16 ]

master: https://git.opendaylight.org/gerrit/#/c/49680/

Comment by Vishal Thapar [ 25/Dec/16 ]

Boron: https://git.opendaylight.org/gerrit/#/c/49730/
Validation CSIT: https://git.opendaylight.org/gerrit/#/c/49765/

Generated at Wed Feb 07 20:36:16 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.