[ovs-discuss] lib/rconn.c:567: assertion version >= 0 && version <= 0xff failed in run_ACTIVE()

张东亚 fortitude.zhang at gmail.com
Tue Dec 6 01:47:52 UTC 2016


Hi Ben,

Thanks a lot for your prompt and reasonably fix.

2016-12-06 3:38 GMT+08:00 Ben Pfaff <blp at ovn.org>:

> On Mon, Dec 05, 2016 at 11:21:36AM +0800, 张东亚 wrote:
> > We are now using unix stream socket (using openflowj as encoder/decoder
> of
> > OpenFlow message) to emulate ovs-ofctl behavior,  we occasionally trigger
> > the assertion above, and I have found other one have reported the same
> bug
> > in June this year.
> >
> > After I have read the code and I can now reproduce this bug manually.
> >
> > The reason is that our program may not send hello packet (due to we may
> > debugging which hang the JVM) quickly after the unix stream connection is
> > accepted by ovs-vswitchd, then the default max timeout 5s is trigger,
> since
> > no version is negotiated because ovs-vswitchd did not received hello yet,
> > it will raise the assertion.
>
> Thanks for the bug report.  I sent out a fix.  On the mailing list
> itself, it appears to be stuck in moderation, but you were CCed so
> presumably you have a copy.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20161206/e69ae673/attachment.html>


More information about the discuss mailing list