[ovs-dev] Implementation of Packet-Out in Bundles

Ben Pfaff blp at ovn.org
Thu Mar 3 18:16:48 UTC 2016


On Thu, Mar 03, 2016 at 05:54:42PM +0000, André Mantas wrote:
> Hi again.
> 
> For now, I'm testing the implementation with a floodlight controller that
> opens a bundle, adds a packet_out message and tries to commit the bundle.
> I'm using mininet to start a simple topology with 1 switch and 2 hosts and
> connect the switch to the remote controller. I followed INSTALL.md to start
> ovs before running the mininet script.
> 
> Everything works like before if the controller does not send a packet_out
> in a bundle. However, when I try to send the packet_out to the bundle, the
> switch disconnects from the controller after the commit request message is
> sent and all ovs-ofctl commands fail on that bridge.
> 
> To debug, I added some VLOG_INFO calls in handle_bundle_add and
> do_bundle_commit functions. The prints (found in /var/log/syslog) are below
> together with the output of "ovs-ofctl snoop s1"
> 
> Looks like adding the message to the bundle and committing the bundle is ok
> but something happens afterwards?
> Where would be a good place to look for the problem?

Usually when I get an unexpected connection close while debugging, it
means that ovs-vswitchd crashed.  I recommend enabling core dumps and
then running GDB on the core.  "valgrind" is also a good approach.



More information about the dev mailing list