Re: [ovs-discuss] Debian init script

2014-07-16 Thread Gurucharan Shetty
FYI I committed a patch (to OVS master) which takes a middle ground with an onus on the admin of the system to make the right call. I updated the documentation to give some perspective. Change can be seen here: https://github.com/openvswitch/ovs/commit/9a8b5cc1a3d941c0e33f3f5b5ac260a35a8130af On

Re: [ovs-discuss] Debian init script

2014-07-09 Thread Pavel V. Kaygorodov
I think, this tricks with "pre-up /etc/init.d/openvswitch-switch start" and "auto" order must be documented. >>> Did you read my first email and try removing things from auto? >> >> I have checked this, but there are potential problem exist: if I remove >> ovs-controlled interfaces fr

Re: [ovs-discuss] Debian init script

2014-07-09 Thread Gurucharan Shetty
> On Jul 9, 2014, at 11:37 AM, Pavel V. Kaygorodov wrote: > > Hi! > >>> I think, this tricks with "pre-up /etc/init.d/openvswitch-switch start" and >>> "auto" order must be documented. >> Did you read my first email and try removing things from auto? > > I have checked this, but there are po

Re: [ovs-discuss] Debian init script

2014-07-09 Thread Pavel V. Kaygorodov
Hi! >> I have installed openvswitch-2.3.90 on Debian wheezy, and changed >> /etc/network/interfaces. > > I am having a hard time as well integrating my openvswitch > configuration into the interface file. > > However I am still using version 1.4.2[1] on Debian wheezy, where did > you get a offi

Re: [ovs-discuss] Debian init script

2014-07-09 Thread Pavel V . Kaygorodov
Hi! >> I think, this tricks with "pre-up /etc/init.d/openvswitch-switch start" and >> "auto" order must be documented. > Did you read my first email and try removing things from auto? I have checked this, but there are potential problem exist: if I remove ovs-controlled interfaces from auto, th

Re: [ovs-discuss] Debian init script

2014-07-09 Thread Jelle de Jong
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Pavel, On 08/07/14 11:08, Pavel V. Kaygorodov wrote: > I have installed openvswitch-2.3.90 on Debian wheezy, and changed > /etc/network/interfaces. I am having a hard time as well integrating my openvswitch configuration into the interface file.

Re: [ovs-discuss] Debian init script

2014-07-09 Thread Gurucharan Shetty
> On Jul 9, 2014, at 1:13 AM, "Pavel V. Kaygorodov" wrote: > > Hi! > > Thank you for response, I have already found a eth0->eth1 mistake, but this > was not enough. > The complete solution, after a number of experiments is: > > # The order is important: eth1 must be after br0! > auto br0 eth

Re: [ovs-discuss] Debian init script

2014-07-09 Thread Pavel V. Kaygorodov
Hi! Thank you for response, I have already found a eth0->eth1 mistake, but this was not enough. The complete solution, after a number of experiments is: # The order is important: eth1 must be after br0! auto br0 eth1 br0:1 allow-ovs br0 iface br0 inet static address 192.168.111.1 netmask 25

Re: [ovs-discuss] Debian init script

2014-07-08 Thread Gurucharan Shetty
> On Jul 8, 2014, at 3:08 AM, "Pavel V. Kaygorodov" wrote: > > Hi! > > I have installed openvswitch-2.3.90 on Debian wheezy, and changed > /etc/network/interfaces: > > auto lo eth1 br0 > iface lo inet loopback > > # The primary network interface > allow-hotplug eth0 > iface eth0 inet dhcp

Re: [ovs-discuss] Debian init script

2014-07-08 Thread Gurucharan Shetty
> On Jul 8, 2014, at 3:08 AM, "Pavel V. Kaygorodov" wrote: > > Hi! > > I have installed openvswitch-2.3.90 on Debian wheezy, and changed > /etc/network/interfaces: > > auto lo eth1 br0 Remove eth1 and br0 from the above line. > iface lo inet loopback > > # The primary network interface > a

[ovs-discuss] Debian init script

2014-07-08 Thread Pavel V. Kaygorodov
Hi! I have installed openvswitch-2.3.90 on Debian wheezy, and changed /etc/network/interfaces: auto lo eth1 br0 iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet dhcp allow-ovs br0 iface br0 inet static address 192.168.111.1 netmask 255.255.255.0

Re: [ovs-discuss] Debian init script for openvswitch-controller

2013-05-28 Thread Gurucharan Shetty
On Tue, May 28, 2013 at 4:59 PM, Gurucharan Shetty wrote: > On Mon, May 27, 2013 at 8:47 AM, Maxime Brun wrote: > >> Hi, >> >> There is a problem with the restart action in openvswitch-controller >> init script. If service is not running, it failed. >> >> dh_installinit (with -R in debian/rules)

Re: [ovs-discuss] Debian init script for openvswitch-controller

2013-05-28 Thread Gurucharan Shetty
On Mon, May 27, 2013 at 8:47 AM, Maxime Brun wrote: > Hi, > > There is a problem with the restart action in openvswitch-controller > init script. If service is not running, it failed. > > dh_installinit (with -R in debian/rules) add restart action in postinst. > > If the service is not running (f

[ovs-discuss] Debian init script for openvswitch-controller

2013-05-27 Thread Maxime Brun
Hi, There is a problem with the restart action in openvswitch-controller init script. If service is not running, it failed. dh_installinit (with -R in debian/rules) add restart action in postinst. If the service is not running (first install for example), postinst terminate with error and packag