Statistics
| Branch: | Tag: | Revision:

root / lib / server @ 87ed6b79

Name Size
__init__.py 792 Bytes
masterd.py 23.9 kB
noded.py 36.3 kB
rapi.py 10.7 kB

Latest revisions

# Date Author Comment
87ed6b79 03/13/2014 02:49 pm Klaus Aehlig

Make mcpu acquire WConfD locks

So far, the mcpu acquires locks that live in memory
of masterd. This design does not fit with our jobs-as-processes
goal. So make mcpu acquire the corresponding locks in WConfD
instead.

Note that this implies changes in various other files that call...

a303027b 03/11/2014 05:09 pm Jose A. Lopes

RPC 'blockdev_image' to image devices

Add RPC 'blockdev_image' that uses 'ganeti.backend.BlockdevImage' to
dump an image to an instance's disk device, optionally downloading
that image.

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

b3590640 03/07/2014 05:22 pm Petr Pudlak

Add a new RPC server call for uploading a single file

The server side processes the request exactly the same as for
"upload_file".

Unlike "upload_file", the new call "upload_file_single" declares all
required fields without requiring additional preprocessing....

25e9f9b2 03/06/2014 05:35 pm Klaus Aehlig

Make masterd create a livelock file

...so that it can request resources from WConfd.

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

1de2b387 03/06/2014 05:35 pm Klaus Aehlig

Rename setup_queue to setup_context in masterd

...as this function sets up a much richer context than just
the job queue, including the current lock management.

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

2af8b9c9 02/10/2014 02:17 pm Klaus Aehlig

Remove explicit reference to the query socket

Now that luxid's socket is the default socket anyway, do not
pass the "query=True" parameter to GetClient. This will allow
to get rid of this keyword argument, as masterd will go away.

Signed-off-by: Klaus Aehlig <>...

3062d395 02/07/2014 11:15 am Santi Raffa

luxid: give stern warnings about debug mode

Luxid as it is can leak private and secret parameters by logging
all requests as they arrive, before any preprocessing is done.

Warn the user stern warnings about this.

Signed-off-by: Santi Raffa <>...

cb8028f3 01/15/2014 05:48 pm Jose A. Lopes

Simplify 'GetMasterInfo' RPC

RPC 'GetMasterInfo' returns several fields, namely, 'master_netdev',
'master_ip', 'master_netmask', 'master_node', and 'primary_ip_family',
of which only the 'master_node' is actually used.

In this patch:
  • remove all the other fields and keep only the 'master_node' field....
ed748771 01/08/2014 05:07 pm Helga Velroyen

Correct exception when ssconf file does not exist

After an upgrade to 2.11, the ssconf file for the master
certificates might not exist. Based on the non-existance,
noded falls back to a compatibility mode regarding dealing
with SSL certificates. The check for the ssconf file...

b3cc1646 12/20/2013 03:15 pm Helga Velroyen

Verify incoming RPCs against candidate map

From this patch on, incoming RPC calls are checked against
the map of valid master candidate certificates. If no map
is present, the cluster is assumed to be in
bootstrap/upgrade mode and compares the incoming call...

View revisions

Also available in: Atom