[ovs-discuss] ovs-vsctl: Error detected while setting up 'br0'. See ovs-vswitchd log for details.

Thadeu Lima de Souza Cascardo cascardo at redhat.com
Tue Sep 6 14:46:13 UTC 2016


On Tue, Sep 06, 2016 at 04:41:14PM +0200, Ashish Kurian wrote:
> Dear All,
> 
> I did not downgrade from 4.4.0-31-generic. Also the commands ovs-ctl is not
> recognised. I think downgrading to 4.3 should work. Can you advice me on
> how to downgrade to 4.3
> 

You should not downgrade. There is no need to. Did you try using the absolute
path for the ovs-ctl command? How did you call ./configure when building ovs?
That should tell us where the commands might have been installed. Did you run
make install, or only make modules_install? You can skip this last one.

Cascardo.

> Best Regards,
> Ashish Kurian
> 
> On Tue, Sep 6, 2016 at 4:35 PM, Thadeu Lima de Souza Cascardo <
> cascardo at redhat.com> wrote:
> 
> > On Tue, Sep 06, 2016 at 04:32:09PM +0200, Ashish Kurian wrote:
> > > Dear All,
> > >
> > > Some where I also read that I have to install openvswitch-datapath-source
> > > and openvswitch-brcompat. Also in another forum read that I have to
> > update
> > > the database schema. Can you advice if these are necessary and if so, how
> > > to update the database schema?
> >
> > As you are using a version of Linux of 4.3 or newer, as you mentioned,
> > there is
> > no need to install the out-of-tree datapath. Unless you really want it,
> > but I
> > would guess you don't have any particular reason to use it. Linux 4.3 is
> > recent
> > enough for OVS use. By the way, why did you downgrade from 4.4?
> >
> > Cascardo.
> >
> > >
> > > Best Regards,
> > > Ashish Kurian
> > >
> > > On Tue, Sep 6, 2016 at 4:19 PM, Ashish Kurian <ashishbnv at gmail.com>
> > wrote:
> > >
> > > > Dear All,
> > > >
> > > > After the last installation command, the following message is what I am
> > > > getting.
> > > >
> > > > 2016-09-06T14:15:55Z|00003|reconnect|INFO|unix:/usr/
> > > > local/var/run/openvswitch/db.sock: connecting...
> > > > 2016-09-06T14:15:55Z|00004|reconnect|INFO|unix:/usr/
> > > > local/var/run/openvswitch/db.sock: connected
> > > > 2016-09-06T14:15:55Z|00005|dpif_netlink|WARN|Generic Netlink family
> > > > 'ovs_datapath' does not exist. The Open vSwitch kernel module is
> > probably
> > > > not loaded.
> > > > 2016-09-06T14:15:55Z|00006|dpif|WARN|failed to enumerate system
> > > > datapaths: No such file or directory
> > > > 2016-09-06T14:15:55Z|00007|dpif|WARN|failed to create datapath
> > > > ovs-system: No such file or directory
> > > > 2016-09-06T14:15:55Z|00008|ofproto_dpif|ERR|failed to open datapath of
> > > > type system: No such file or directory
> > > > 2016-09-06T14:15:55Z|00009|ofproto|ERR|failed to open datapath br0: No
> > > > such file or directory
> > > > 2016-09-06T14:15:55Z|00010|bridge|ERR|failed to create bridge br0: No
> > > > such file or directory
> > > >
> > > >
> > > > Best Regards,
> > > > Ashish Kurian
> > > >
> > > > On Tue, Sep 6, 2016 at 4:05 PM, Thadeu Lima de Souza Cascardo <
> > > > cascardo at redhat.com> wrote:
> > > >
> > > >> On Tue, Sep 06, 2016 at 03:56:49PM +0200, Ashish Kurian wrote:
> > > >> > Dear All,
> > > >> >
> > > >> > I did try the command as "modprobe openvswitch" and it returned
> > nothing.
> > > >> > But when i tried lsmod | less, I could see openvswitch in the list.
> > Do I
> > > >> > need to reboot the system after the install?
> > > >> >
> > > >>
> > > >> No, you just need to make sure openvswitch module is loaded. It
> > should be
> > > >> loaded
> > > >> by ovs-ctl start, as far as I know.
> > > >>
> > > >> Cascardo.
> > > >>
> > > >> > Best Regards,
> > > >> > Ashish Kurian
> > > >> >
> > > >> > On Tue, Sep 6, 2016 at 3:47 PM, Thadeu Lima de Souza Cascardo <
> > > >> > cascardo at redhat.com> wrote:
> > > >> >
> > > >> > > On Tue, Sep 06, 2016 at 03:36:50PM +0200, Ashish Kurian wrote:
> > > >> > > > Dear All,
> > > >> > > >
> > > >> > > > modprobe openvswitch gives me nothing
> > > >> > > >
> > > >> > >
> > > >> > > That's not helpful. It either gives you an error, or it succeeds
> > and
> > > >> you
> > > >> > > see
> > > >> > > something with lsmod. dmesg output (the last lines right after
> > running
> > > >> > > modprobe)
> > > >> > > might be also helpful. Looking at the appointed file would also
> > help.
> > > >> > >
> > > >> > > Please, when asking for help, try to do your part.
> > > >> > >
> > > >> > > Thanks.
> > > >> > > Cascardo.
> > > >> > >
> > > >> > > > Best Regards,
> > > >> > > > Ashish Kurian
> > > >> > > >
> > > >> > > > On Tue, Sep 6, 2016 at 3:31 PM, Thadeu Lima de Souza Cascardo <
> > > >> > > > cascardo at redhat.com> wrote:
> > > >> > > >
> > > >> > > > > On Tue, Sep 06, 2016 at 02:52:23PM +0200, Ashish Kurian wrote:
> > > >> > > > > > Dear Team,
> > > >> > > > > >
> > > >> > > > > > I just reinstalled the ovs on my new ubuntu 16 and all the
> > > >> > > installation
> > > >> > > > > was
> > > >> > > > > > successful. I followed the install.md instructions.
> > > >> > > > > >
> > > >> > > > > > When I run command /sbin/lsmod I am not able to see
> > openvswitch
> > > >> in
> > > >> > > the
> > > >> > > > > > list. And when I try the command to add a bridge, I get the
> > > >> error
> > > >> > > given
> > > >> > > > > in
> > > >> > > > > > the subject.
> > > >> > > > > >
> > > >> > > > > > When I tried to debug the error, I am not able to locate the
> > > >> file
> > > >> > > > > > ovs-vswitchd log.
> > > >> > > > > >
> > > >> > > > > > Is it due to some dependency errors or something else?
> > > >> > > > > >
> > > >> > > > > > Best Regards,
> > > >> > > > > > Ashish Kurian
> > > >> > > > >
> > > >> > > > > Maybe you didn't change the default paths, and the logs ended
> > up
> > > >> at
> > > >> > > > > /usr/local/var/log/openvswitch/ovs-vswitchd.log.
> > > >> > > > >
> > > >> > > > > And what about loading the openvswitch module? What modprobe
> > > >> > > openvswitch
> > > >> > > > > gives
> > > >> > > > > you?
> > > >> > > > >
> > > >> > > > > Cascardo.
> > > >> > > > >
> > > >> > >
> > > >>
> > > >
> > > >
> >



More information about the discuss mailing list