Debian Codegraph @

releasenotes/notes/ovs-agent-skip-of-ops-invalid-ofport-a1b2c3d4e5f6a7b8.yaml

raw
1 ---
2 fixes:
3 - |
4 Fixed a race condition in the OVS agent where ``port_alive`` and
5 ``port_dead`` could issue OpenFlow operations with an invalid
6 ``in_port`` value when a VIF port had an unassigned or error ofport
7 (e.g. ``[]`` or ``-1``). The malformed OpenFlow message caused the
8 os-ken ``send_msg`` call to hang until the 300-second
9 ``of_request_timeout`` expired, which blocked the agent's
10 ``rpc_loop`` and prevented all subsequent port processing for the
11 remainder of the timeout period. The functions now validate the
12 ofport before performing any OpenFlow operations and log a warning
13 so the port is retried on the next iteration.