-
Epic
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
More informative error messages on 'execute'/'flow_{put/get/del}' actions.
-
False
-
-
False
-
-
rhel-net-ovs-dpdk
-
100% To Do, 0% In Progress, 0% Done
-
ssg_networking
This epic tracks all the effort needed to deliver the solution related to the feature request described below.
Old ticket: https://bugzilla.redhat.com/show_bug.cgi?id=1944144
--8<--
Get the error string from the kernel in a netlink reply, not just an errno. "Invalid argument" is not useful at all if we have no idea which of the dozen flow matches and actions was rejected by kernel.
Maybe we use netlink ext ack for this? The out of tree module has some of this already.
Talk to Ilya to get more details.
--8<--
See also
BZ2059162
which is a duplicate of this BZ:
We recently added to OVS support to actually print extended ack
messages received from the kernel:
https://github.com/openvswitch/ovs/commit/4a6a4734622e42367faf39cd3938bc8a57786282
but I'm not sure if anyone started to add more messages to the kernel
itself.
In general, we need to find all the places where execute/put/get/del
requests returns an error inside the kernel and add some meaningful
extack message to the netlink reply at that point. It's kind of a
lot of work, but it should be very beneficial for anyone who tries
to debug this kind of in-kernel problem or miscommunication between
OVS kernel and userspace.