[ovs-discuss] duplicate port names in DB

Ben Pfaff blp at nicira.com
Tue May 3 13:43:52 UTC 2011


On Tue, May 03, 2011 at 02:37:53PM +0200, Gregor Schaffrath wrote:
> I found out that the duplicate entries do not stem from a MAC address issue, but from the fact that I use the std. debian /etc/network/interfaces file to set up my bridges... 
> It seems that the bridges are not eliminated from the DB upon shutdown, but the ports are added to the DB once more when the network script adds them to supposedly freshly created bridges.
> (mind that brctl still reports a correct setup, but the DB now contains duplicate Port entries)
> Is this behaviour intended? Is it a known bug?

Are you using ovs-brcompatd, then?  We don't test with ovs-brcompatd
much anymore, and I don't recommend using it.  You are better off using
ovs-vsctl to manipulate the database.

It may be time to remove ovs-brcompatd.

> Nonetheless, my question remains whether one can find out which entry is the correct one in the case of duplicate entries.

When ovs-vsctl gives that warning, it means that there is no correct
entry.



More information about the discuss mailing list