Statistics
| Branch: | Tag: | Revision:

root / lib @ 81e265f5

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 1.2 kB
asyncnotifier.py 6.1 kB
backend.py 123.9 kB
bdev.py 109.2 kB
bootstrap.py 34.7 kB
cli.py 121.6 kB
cmdlib.py 604.6 kB
compat.py 4.3 kB
config.py 85.3 kB
constants.py 60.4 kB
daemon.py 26.7 kB
errors.py 11.2 kB
hooksmaster.py 9.2 kB
ht.py 10.7 kB
jqueue.py 79.2 kB
jstore.py 6 kB
locking.py 61.1 kB
luxi.py 16.4 kB
mcpu.py 17.9 kB
netutils.py 18.6 kB
network.py 7.3 kB
objects.py 61 kB
opcodes.py 66.1 kB
outils.py 2.5 kB
ovf.py 66 kB
pathutils.py 5.7 kB
qlang.py 9.6 kB
query.py 79.6 kB
rpc.py 26.1 kB
rpc_defs.py 24 kB
runtime.py 6.3 kB
serializer.py 4.5 kB
ssconf.py 11.5 kB
ssh.py 10.2 kB
storage.py 13.2 kB
uidpool.py 11.7 kB
vcluster.py 7.4 kB
workerpool.py 18.3 kB

Latest revisions

# Date Author Comment
81e265f5 05/02/2013 10:42 am Guido Trotter

kvm: Move parameter validation before use

We had parameter validation when the runtime is generated, but in the
middle of the function. Move up, before any parameter is accessed.

Signed-off-by: Guido Trotter <>
Reviewed-by: Thomas Thrainer <>

99c7cd5b 05/02/2013 10:42 am Guido Trotter

kvm: Use -display none rather than -nographic

Newer versions of kvm (from 1.4) don't support -nographic with
-daemonize. When -display exists, use -display none instead.

This fixes Issue 389.

Signed-off-by: Guido Trotter <>
Reviewed-by: Thomas Thrainer <>

05440845 04/30/2013 10:28 am Helga Velroyen

gnt-instance: new hypervisor parameter 'vif_type'

This patch fixes issue 247. It empowers the user to specify
explicitly the vif type of a nic configuration of a Xen HVM
instance. This includes the option of setting it to '' on the
commandline, causing Ganeti to leave out the 'type' parameter...

decc7ec9 04/29/2013 10:56 am Guido Trotter

Fix unclear error when replacing a nic's ip

The current error message ends up saying something like
'192.168.5.5' != 'network1', which is sort of non-intuitive (yes, of
course they are different). Fix this by explaining better what the
erroneous condition actually is....

f38270c6 04/26/2013 04:06 pm Klaus Aehlig

In plain to drbd conversion, rename LVs back on failure

Currently, if converting an instance from plain to drbd fails after
renaming the original LVs, the instance is left in an inconsistent
state. This commit tries to undo the renaming if a failure occurs...

9b221ea4 04/22/2013 10:20 am Michele Tartara

Allow proper cleanup of partially created disks

During the creation of an instance, if the creation of disks fails, some
partially created disks might remain lying around. There is an already
implemented cleanup procedure, but it requires the disks to be listed in the...

35c48839 04/18/2013 11:13 am Michele Tartara

Set the default metavg to be equal to the cluster name

The default metavg was always set to be the constant value "xenvg".
This is OK for most cases, but if the cluster is initialized with
a default name through the --vg-name option, the metavg should change...

68d95757 04/17/2013 09:27 am Guido Trotter

Move HooksMaster out of the mcpu module

We need to do this, so that backend.py doesn't need to import mcpu, and
thus indirectly cmdlib. This reduces the size of the node daemon by
about half, which is very important as it is pinned in memory.

This solves Issue 419....

bc3427b7 04/16/2013 12:12 pm Aaron Knister

Use KB as the unit for LVM PE size

LogicalVolume.Attach in bdev.py is calling "lvs" and specifying a unit of
Megabytes that is then converted to an integer resulting in the value 0 for
small sizes.

This patch makes Ganeti use KB for the unit instead of MB....

f0583b66 04/11/2013 02:27 pm Michele Tartara

Properly update iv_name of disks while changing templates

Trasforming the disk of an instance from DRBD to plain did not properly
update the iv_name of disks, leaving it to None.

This commit modifies _ConvertDrbdToPlain to properly set the iv_name
variables....

View revisions

Also available in: Atom