LGTM, thanks On Thu, 26 Mar 2015 at 16:30 'Klaus Aehlig' via ganeti-devel < [email protected]> wrote:
> Signed-off-by: Klaus Aehlig <[email protected]> > --- > lib/rpc/transport.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/lib/rpc/transport.py b/lib/rpc/transport.py > index 6112627..df3efed 100644 > --- a/lib/rpc/transport.py > +++ b/lib/rpc/transport.py > @@ -217,7 +217,8 @@ class Transport: > for try_no in range(0, retries): > try: > return fn(try_no) > - except (socket.error, errors.ConnectionClosedError) as ex: > + except (socket.error, errors.ConnectionClosedError, > + errors.TimeoutError) as ex: > on_error(ex) > # we retry on a network error, unless it's the last try > if try_no == retries - 1: > -- > 2.2.0.rc0.207.ga3a616c > >
