blp at nicira.com
Wed Oct 22 15:48:37 UTC 2014
Please don't drop the list.
What's in your ovs-vswitchd and ovsdb-server logs?
On Wed, Oct 22, 2014 at 09:22:47AM +0800, yue.yihua at embedway.com wrote:
> Hi, Ben,
> When i add the bridge and set its datapath type at the same time, but it is still hang.
> I use 'ps' command, ovs-dbserver and ovs-vswitchd are running.
> I just want to use userspace function but not kernel module, how can i do then?
> Thank you!
> yue.yihua at embedway.com
> From: Ben Pfaff
> Date: 2014-10-22 01:26
> To: yue.yihua at embedway.com
> CC: bugs
> Subject: Re: [ovs-discuss] Question
> On Tue, Oct 21, 2014 at 04:18:53PM +0800, yue.yihua at embedway.com wrote:
> > When i use ovs version-2.1.3,i can create bridge in userspace, but when i update to version-2.3.0,i can not create bridge, how can i resolve it?
> > Thsnk you!
> > There are my steps:
> > ovsdb-tool create /usr/local/etc/openvswitch/conf.db vswitchd/vswitch.ovsschema
> > ovsdb-server /usr/local/etc/openvswitch/conf.db --remote=punix:/usr/local/var/run/openvswitch/db.sock --pidfile --detach --log-file
> > ovs-vsctl --no-wait init
> > ovs-vswitchd --pidfile --detach unix:/usr/local/var/run/openvswitch/db.sock --log-file --verbose
> > ovs-vsctl add-br s1 /* not ok, i must type 'Ctrl+C' to break it */
> > ovs-vsctl set bridge s1 datapath_type=netdev
> > ovs-vsctl add-port s1 virbr0
> > ovs-vsctl set-controller s1 tcp:192.168.8.150:6633
> Usually, if "ovs-vsctl" hangs, it indicates that ovs-vswitchd is not
> running. In this case, though, it probably means that the kernel
> module is not loaded; that should *not* cause ovs-vsctl to hang (and
> it does not on master; I did not check on 2.1.3), but it seems like
> the most likely cause here.
> Probably, you can work around the problem here by adding the bridge
> and setting its datapath type at the same time:
> ovs-vsctl add-br s1 -- set bridge s1 datapath_type=netdev
More information about the discuss