Statistics
| Branch: | Tag: | Revision:

root / lib / rpc / transport.py @ 84d9c84e

History | View | Annotate | Download (8.4 kB)

# Date Author Comment
df478a59 04/17/2014 06:59 pm Petr Pudlak

Let Python network Transport retry if endpoint is missing

If the endpoint (such as Luxid or WConfd) isn't running, don't fail
immediately. Instead retry (within the given timeout) and try to
reconnect.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

14d4d2f9 04/17/2014 06:56 pm Petr Pudlak

Add a transport that works over FDs instead a socket

This allows to set up a client using the Luxi-like protocol over a pipe,
which will be needed for job processes to communicate with their parent
process.

While at it, fix the style of calling init in AbstractStubClient....

2fd4e86d 04/02/2014 02:19 pm Jose A. Lopes

Use RPC transport to pass OS params to the metadata daemon

  • Use RPC transport to pass OS params to the metadata daemon, using
    the Luxi protocol
  • Fix comment in 'ganeti.rpc.transport'

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Hrvoje Ribicic <>

51b69fc8 02/28/2014 03:44 pm Petr Pudlak

Remove unused import in rpc/transport.py

.. which got there by mistake.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

f3aebf6f 02/28/2014 03:00 pm Petr Pudlak

Retry luxi/wconfd RPC calls if the connection is closed

Since the daemon can decide to close a client connection after a
timeout, the client needs to be able to automatically reconnect.

This patch introduces this functionality into the RPC client:
If an attempt to send data fails on 'Broken pipe', it's retried one more...

ff1012ef 12/17/2013 10:11 pm Petr Pudlak

Move Transport from luxi.py to a separate module

Also create a new module for RPC errors.
This allows it to be reused for other clients as well.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Helga Velroyen <>