[ovs-discuss] [Open vSwitch 1.1.0-pre1] ovs-vsctl hangs with ovs-vsctl set-controller <bridge> tcp:<ip>

Vishal Swarankar vishal.swarnkar at gmail.com
Wed Sep 8 06:11:23 UTC 2010


Hi Ben,

I just installed the latest available open vswitch from
http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=snapshot;sf=tgz;h=HEAD.

The asser issue is not coming, but if I use ovs-controller with --with-flows
option, ovs-controller quits within few seconds with these logs.

Sep 08 11:29:54|00001|vlog|INFO|opened log file
/usr/local/var/log/openvswitch/ovs-controller.log
Sep 08 11:29:54|00002|controller|ERR|controller.log: connect: Address family
not supported by protocol
Sep 08 11:30:01|00003|poll_loop|DBG|[POLLIN] on fd 6:
Sep 08 11:30:01|00004|rconn|DBG|tcp:172.16.10.62:58693: entering ACTIVE
Sep 08 11:30:01|00005|vconn|DBG|tcp:172.16.10.62:58693: sent (Success):
hello (xid=0x658dc):
Sep 08 11:30:01|00006|vconn|DBG|tcp:172.16.10.62:58693: received: hello
(xid=0xeeef1):
Sep 08 11:30:01|00007|vconn|DBG|tcp:172.16.10.62:58693: negotiated OpenFlow
version 0x01 (we support versions 0x01 to 0x01 inclusive, peer no later than
version 0x01)
Sep 08 11:30:01|00008|vconn|DBG|tcp:172.16.10.62:58693: sent (Success):
features_request (xid=0xb3597):
Sep 08 11:30:01|00009|vconn|DBG|tcp:172.16.10.62:58693: sent (Success):
set_config (xid=0xcd44e): miss_send_len=128

Although I dont see any error message but ovs-controller simply quits. Is
--with-flows option not supported yet ?

thanks
Vishal

On Wed, Sep 8, 2010 at 10:30 AM, Ben Pfaff <blp at nicira.com> wrote:

> OK, that's a known bug in that case.  It was fixed soon after the release
> of
> 1.1.0-pre1.  If you get the latest from Git "master", it will have that
> fix,
> and this will also be fixed in 1.1.0-pre2.
>
> On Tue, Sep 7, 2010 at 9:50 PM, Vishal Swarankar
> <vishal.swarnkar at gmail.com> wrote:
> > I can find an assert assert(size <= ofpbuf_headroom(b)) in ofpbuf.c in
> > vswitcd logs. I will come up with more info.
> >
> > thnx
> >
> > On Wed, Sep 8, 2010 at 9:35 AM, Vishal Swarankar <
> vishal.swarnkar at gmail.com>
> > wrote:
> >>
> >> My SUT crashed yesterday. Once it comes up, I will follow the same steps
> >> again and post the logs here.
> >>
> >> thanks
> >> Vishal
> >>
> >> On Wed, Sep 8, 2010 at 9:25 AM, Ben Pfaff <blp at nicira.com> wrote:
> >>>
> >>> On Tue, Sep 7, 2010 at 8:37 PM, Vishal Swarankar
> >>> <vishal.swarnkar at gmail.com> wrote:
> >>> > I have tried this multiple time with Open vSwitch 1.1.0-pre1 (Sep
> 01/10
> >>> > release).
> >>> >
> >>> > Steps to repro:
> >>> >
> >>> > 1) follow INSTALL.LINUX steps to install vswitch ( ovsdb-server,
> >>> > ovs-vswitchd is running and bridge is installed using ovs-vsctl ).
> >>> >
> >>> > 2) Run ovs-controller on the same machine
> >>> >     sudo ovs-controller -v --with-flows
> /home/vishal/newVMs/flow-rules
> >>> > --log-file controller.log ptcp:
> >>> >
> >>> > 3) Run ovs-vsctl to setup Of controller for vswitch
> >>> >     sudo ovs-vsctl set-controller <bridge> tcp:<ip>
> >>> >
> >>> > This command never returns back and when I do ps -eaf | grep
> vswitchd,
> >>> > I
> >>> > dont find vswitchd running.
> >>>
> >>> Did ovs-vswitchd die?  Can you turn on core dumps and pass along a
> >>> backtrace?
> >>> Can you pass along what ovs-vswitchd, ovsdb-server, and ovs-vsctl wrote
> >>> to
> >>> the system log?
> >>>
> >>> Thanks,
> >>>
> >>> Ben.
> >>
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20100908/e8175051/attachment-0001.html>


More information about the discuss mailing list