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

Frode Nordahl frode.nordahl at canonical.com
Tue Mar 16 15:11:13 UTC 2021


On Tue, Mar 16, 2021 at 2:01 PM Ilya Maximets <i.maximets at ovn.org> wrote:
>
> 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.

Indeed it does, I had missed that commit, thank you for pointing me at
it, and sorry about the noise!

-- 
Frode Nordahl

> Best regards, Ilya Maximets.


More information about the dev mailing list