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

David Christensen davidch at broadcom.com
Wed Oct 8 20:59:13 UTC 2014



> -----Original Message-----
> From: Gurucharan Shetty [mailto:shettyg at nicira.com]
> Sent: Wednesday, October 08, 2014 1:25 PM
> To: David Christensen
> Cc: Ben Pfaff; Gurucharan Shetty; discuss at openvswitch.org
> Subject: Re: [ovs-discuss] Losing Database on Reboot After Upgrade to 2.3.90
> 
> >
> > # 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
> >
> Did you try doing '/etc/init.d/openvswitch-switch stop' and
> '/etc/init.d/openvswitch-switch start'?
> 
> I did the following for an experiment with OVS 2.3.90 and Ubuntu14.04
> 
> /etc/init.d/openvswitch-switch stop
> 
> apt-get install uml-utilities
> tunctl -t p0
> 
> ifconfig p0 : shows the interface.
> 
> Added the following to 'interfaces':
> 
> allow-ovsbr0 p0
> iface p0 inet manual
>   ovs_bridge ovsbr0
>   ovs_type OVSPort
> 
> allow-ovs ovsbr0
> iface ovsbr0 inet manual
>   ovs_type OVSBridge
>   ovs_ports p0
> 
> /etc/init.d/openvswitch-switch start
>  * Starting ovsdb-server
>  * Configuring Open vSwitch system IDs
>  * Starting ovs-vswitchd
>  * Enabling remote OVSDB managers
> root at ubuntu14:~# ovs-vsctl show
> f8f874e2-d925-472b-9f9f-6cdb50013e02
>     Bridge "ovsbr1"
>         Port "ovsbr1"
>             Interface "ovsbr1"
>                 type: internal
>     Bridge "ovsbr0"
>         Port "ovsbr0"
>             Interface "ovsbr0"
>                 type: internal
>         Port "p0"
>             Interface "p0"
>     ovs_version: "2.3.90"
> 
> 
> What happens when you do the above?

I moved to a different system which hadn't been configured with an earlier
version of OVS, built and installed the 2.3.90 version, modified my
interfaces file as previously described, and now the system creates the 
devices at boot and deletes them at shutdown.  I must have made some 
other change on the original system to give me a problem. 

Thanks for the help.

Dave


More information about the discuss mailing list