[ovs-discuss] Confusing errors in response to incorrectly formed OFPGroupMod

Artem Gromov artyomgromov at gmail.com
Tue Jan 8 13:04:37 UTC 2019


Hi,
OVS sends confusing error message to incorrectly formed OFPGroupMod message
with OFPGC_ADD command and command_bucket_id set.

This condition (absence of else keyword and body) is probably the main
cause:
https://github.com/openvswitch/ovs/blob/master/lib/ofp-group.c#L2188

It should be possibly something like "bad groupmod msg" instead of this:

> 2019-01-08T11:25:17.476Z|00184|ofp_group|WARN|group command bucket id (1)
> is out of range
> 2019-01-08T11:25:17.476Z|00185|connmgr|INFO|br0<->tcp:10.0.0.6:6633:
> sending OFPGMFC_BAD_BUCKET error reply to OFPT_GROUP_MOD message


Additional details are here:
https://sourceforge.net/p/ryu/mailman/message/36511822/

-- 
regards,
Artem Gromov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20190108/88344ab3/attachment.html>


More information about the discuss mailing list