[ovs-discuss] Losing Database on Reboot After Upgrade to 2.3.90

David Christensen davidch at broadcom.com
Wed Oct 8 20:09:10 UTC 2014


> > (See http://pastebin.com/C9zbNuia for full transaction history.)
> >
> >> * Are you configuring/creating your bridges using the 'interfaces'
> >> file? If so, copy paste its contents.
> >
> > auto ovsbr0
> > allow-ovs ovsbr0
> > iface ovsbr0 inet manual
> >   ovs_type OVSBridge
> >   ovs_ports ovsbr0
> The above is wrong.  You are trying to add the bridge as its own port.

Makes sense, will remove it.

> >   pre-up ifconfig $IFACE up
> >   post-down ifconfig $IFACE down
> You shoudn't use the above two lines.
> Please read /usr/share/doc/openvswitch-switch/README.Debian for
> examples.

Modified the interfaces file as follows with no difference (transaction log
doesn't show any new entries and the interfaces aren't brought up):

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

# The virtualization network interface
allow-ovsbr0 eth1
iface eth1 inet manual
  ovs_bridge ovsbr0
  ovs_type OVSPort

allow-ovs ovsbr0
iface ovsbr0 inet manual
  ovs_type OVSBridge
  ovs_ports eth1

allow-ovs ovsbr1
iface ovsbr1 inet manual
  ovs_type OVSBridge

Dave


More information about the discuss mailing list