Statistics
| Branch: | Tag: | Revision:

root / lib @ 2d90608c

Name Size
  http
  hypervisor
  rapi
__init__.py 791 Bytes
backend.py 82.1 kB
bdev.py 58 kB
bootstrap.py 18.6 kB
cli.py 31.4 kB
cmdlib.py 252.8 kB
config.py 40.2 kB
constants.py 14.4 kB
daemon.py 8.1 kB
errors.py 6.1 kB
jqueue.py 40.4 kB
jstore.py 3.7 kB
locking.py 29.7 kB
luxi.py 10.8 kB
mcpu.py 13.1 kB
objects.py 26.1 kB
opcodes.py 16 kB
rpc.py 33.4 kB
serializer.py 1.7 kB
ssconf.py 7.8 kB
ssh.py 7.2 kB
utils.py 56.1 kB
workerpool.py 9 kB

Latest revisions

# Date Author Comment
2d90608c 09/25/2009 04:01 pm Iustin Pop

Change config upgrade to be explicit

Currently the config upgrade is done at each object instantiation, that
means that ganeti-noded will run UpgradeConfig on all objects received
remotely (instances, disks, nics). This is not so good, so this patch
changes it so that only the ConfigWriter runs this method at...

59b76636 09/25/2009 03:22 pm Iustin Pop

Merge commit 'origin/next'

  • commit 'origin/next': (74 commits)
    Fix gnt-node modify online help
    Fix gnt-job info entry in gnt-job(8)
    locking: Don't swallow exceptions
    Add check for duplicate MACs in instance add
    scripts/gnt-node: fix a help string...
470ce2ee 09/11/2009 06:29 pm Michael Hanselmann

locking: Don't swallow exceptions

This is an indentation bug.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>

87e43988 09/08/2009 06:22 pm Iustin Pop

Add check for duplicate MACs in instance add

Currently LUAddInstance doesn't check for duplicate MACs, and it fails
during the Exec() phase when trying to add the instance to the config
(ConfigWriter checks for this). This patch copies the code from
LUModifyInstance (which already does it)....

009e73d0 09/07/2009 04:38 pm Iustin Pop

Optimise multi-job submit

Currently, on multi-job submits we simply iterate over the
single-job-submit function. This means we grab a new serial, write and
replicate (and wait for the remote nodes to ack) the serial file, and
only then create the job file; this is repeated N times, once for each...

c118d1f4 08/31/2009 01:32 pm Michael Hanselmann

Return cluster tags from LUQueryClusterInfo

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Olivier Tharan <>

93962b80 08/25/2009 04:20 pm Iustin Pop

rapi: export more static node information

Currently not all static node information is exported over rapi, and
this makes it less complete than gnt-node list. This patch attempts to
reduce the difference.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

67d101d4 08/21/2009 12:35 pm Iustin Pop

Fix /proc/drbd parsing in presence of gaps

In case there are gaps in /proc/drbd related to the minors sequence,
this can lead to empty lines (see the attached data file). In this case,
we currently fail to parse the file correctly.

The patch fixes this by skipping empty lines in...

a9fe7232 08/20/2009 01:42 pm Guido Trotter

Pass the correct signal to handlers

Mainloop currently calls all handlers with the signal number harcoded to
sigchild. Fixing this.

Signed-off-by: Guido Trotter <>
Reviewed-by: Olivier Tharan <>

b775c337 08/19/2009 12:47 pm Iustin Pop

repair-size: ensure child disks have sane sizes

While this patch doesn't do a full match of on-disk size to config-size
for child devices, it does a sanity check (for DRBD only) that the child
size is not less than the DRBD size. While this would be a strange...

View revisions

Also available in: Atom