[ovs-dev] [PATCH] python: Check for SSL as well as socet errors

Ilya Maximets i.maximets at ovn.org
Tue Mar 16 13:01:42 UTC 2021


On 3/16/21 1:39 PM, Frode Nordahl wrote:
> When connected to a OVSDB server with a SSL stream calls to
> functions dealing with sockets may raise SSL.SysCallError
> Exception in addition to the socket.error Exception.
> 
> Fixes: d90ed7d65ba8 ("python: Add SSL support to the python ovs client library")
> Reported-At: https://bugs.launchpad.net/bugs/1907686

Hi.  This issue seems to be already fixed by commit:

  d49ae39a423e ("python: Don't raise an Exception on failure to connect via SSL.")

The stack trace in the bug shows that the exception goes from
the 'check_connection_completion', so above change should handle it.

Best regards, Ilya Maximets.


More information about the dev mailing list