I found a workaround. In case someone else hits this problem. I can get things working if I install the Ubuntu integrated version of ovs first (2.0.2). Then, without uninstalling I install 2.5.0. Earlier I was always uninstalling whenever I switched between ovs versions. It looks like the install script for versions that are not integrated with Ubuntu is not installing all the required files/features.
Mandeep From: Guru Shetty [mailto:g...@ovn.org] Sent: Monday, March 07, 2016 9:33 AM To: Mandeep Sandhu Cc: discuss@openvswitch.org Subject: Re: [ovs-discuss] problem with ubuntu 14.04 boot integration On 4 March 2016 at 16:32, Mandeep Sandhu <mandeep.san...@calix.com<mailto:mandeep.san...@calix.com>> wrote: My setup: Ubuntu 14.04.4 LTS Kernel 3.13.0-32-generic X86_64 GNU/Linux I downloaded openvswitch 2.3.2 source and built it according to instructions here https://github.com/openvswitch/ovs/blob/master/INSTALL.md You will likely find it easier to follow this: https://github.com/openvswitch/ovs/blob/master/INSTALL.Debian.md And then follow it by reading: https://github.com/openvswitch/ovs/blob/master/debian/openvswitch-switch.README.Debian Ran the testsuite and the tests that ran were all ok, some were skipped. I need to have openvswitch started at bootup with interfaces specified in /etc/network/interfaces. The upstart init script was missing from my downloaded source. Instead it had a debian /etc/init.d/ script. I had to google for it and then copied it to /etc/init/openvswitch-switch.conf I applied the patches as instructed here https://github.com/jpfluger/examples/blob/master/ubuntu-14.04/openvswitch.md After patching I can start and stop openvswitch service using Sudo Service openvswitch-switch start|stop I added a bridge in /etc/network/interfaces auto ovs-lanbr0 allow-ovs ovs-lanbr0 iface ovs-lanbr0 inet manual ovs_type OVSBridge ovs_ports eth2 allow-ovs-lanbr0 eth2 iface eth2 inet manual ovs_bridge ovs-lanbr0 ovs_type OVSPort On restarting openvswitch I can see ovs-lanbr0 with ifconfig but ovs-vsctl show does not show any bridge On stopping openvswitch ovs-lanbr0 disappears from ifconfig. I expect ovs-lanbr0 to show up on ovs-vsctl show when openvswitch is running. Has anyone run into this problem ? Any help is appreciated. Thanks Mandeep _______________________________________________ discuss mailing list discuss@openvswitch.org<mailto:discuss@openvswitch.org> http://openvswitch.org/mailman/listinfo/discuss
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss