Statistics
| Branch: | Tag: | Revision:

root / lib / rpc @ 84d9c84e

Name Size
  stub
__init__.py 792 Bytes
client.py 6.9 kB
errors.py 1.8 kB
node.py 32 kB
transport.py 8.4 kB

Latest revisions

# Date Author Comment
e7ec2f27 05/30/2014 03:41 pm Klaus Aehlig

Remove Ganeti Lock Manager and Monitor

...from the jobs code, as this functionality is now
carried out by wconfd. Also remove dead code resulting
from this removal.

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

43b1f49f 05/05/2014 02:22 pm Ilias Tsitsimpis

Lift the Disk objects from the Instances

This patch replaces 'instance.disks' with 'GetInstanceDisks' everywhere
in the codebase. From now on, the function 'GetInstanceDisks' from the
config file has to be used in order to get the disks of an instance.
Also the functions 'AddInstanceDisk'/'RemoveInstanceDisk' have to be...

e9ebf2d7 05/05/2014 02:22 pm Ilias Tsitsimpis

Add 'disks_info' Instance slot

Instance's 'disks' slot will contain a list of disk UUIDs. Create a new
slot named 'disks_info' which will be annotated with the disk objects'
during the RPC.

Signed-off-by: Ilias Tsitsimpis <>
Reviewed-by: Jose A. Lopes <>

45c044f4 05/05/2014 02:22 pm Ilias Tsitsimpis

Get instance secondary nodes from config

Use 'GetInstanceSecondaryNodes' to get the secondary nodes of an
instance, instead of the 'secondary_nodes'.
Annotate 'secondary_nodes' in rpc so that backend has access to it.

Signed-off-by: Ilias Tsitsimpis <>...

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...

a53772a0 02/14/2014 04:57 pm Klaus Aehlig

Merge branch 'stable-2.11' into master

  • stable-2.11
    Update design doc wrt to improved SSL design
    Test node certificate renewal in QA
    Use node UUID as client certificate serial number
    Revert "Temporarily remove SSL changes from NEWS file"
    Revert "Disabling client certificate usage"...

View revisions

Also available in: Atom