[ovs-discuss] duplicate port names in DB

Gregor Schaffrath grsch at net.t-labs.tu-berlin.de
Tue May 3 09:07:24 UTC 2011


Hi all.

Is there documentation on the database available?

I've got a problem with redundant entries in my ovsdb... Is there a way to find out which entry is the right one? 

root at snexp:~# ovs-vsctl list-ifaces xenbr2
May 03 09:51:23|00002|vsctl|WARN|eth1: database contains duplicate port name
May 03 09:51:23|00003|vsctl|WARN|eth1: database contains duplicate port name
May 03 09:51:23|00004|vsctl|WARN|eth1: database contains duplicate port name
May 03 09:51:23|00005|vsctl|WARN|eth1: database contains duplicate port name
May 03 09:51:23|00006|vsctl|WARN|eth0: database contains duplicate port name
May 03 09:51:23|00007|vsctl|WARN|eth2: database contains duplicate port name
eth0
eth2

NB: I've got a bit of a weird setup (Xen-Dom0 virtualized on KVM machine - running linux-2.6.18.8-xen and openvswitch-1.1.0pre2), which might be responsible for this issue... could it be that a mac address change (which might happen upon reboot) triggers insertion of a 'new' interface into the DB?

Best regards,
	Gregor.

P.S.: Another question would be whether use of the ovsdb is compulsory in post-1.0.0 versions of openvswitch, or whether there's a way to keep using the configuration file used for 0.9x-versions.




More information about the discuss mailing list