Statistics
| Branch: | Tag: | Revision:

root / lib @ 11bd1fac

Name Size
  build
  client
  cmdlib
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 1.2 kB
asyncnotifier.py 6.1 kB
backend.py 128.4 kB
bdev.py 110 kB
bootstrap.py 36.6 kB
cli.py 136.6 kB
compat.py 4.3 kB
config.py 88.5 kB
constants.py 64.4 kB
daemon.py 26.7 kB
errors.py 11.4 kB
hooksmaster.py 9.2 kB
ht.py 10.7 kB
jqueue.py 79.7 kB
jstore.py 6 kB
locking.py 61.1 kB
luxi.py 16.4 kB
mcpu.py 17.9 kB
netutils.py 19.1 kB
network.py 7.9 kB
objects.py 63.8 kB
opcodes.py 68.2 kB
outils.py 4.3 kB
ovf.py 66 kB
pathutils.py 5.8 kB
qlang.py 9.6 kB
query.py 82.8 kB
rpc.py 26.3 kB
rpc_defs.py 24.8 kB
runtime.py 6.8 kB
serializer.py 4.5 kB
ssconf.py 11.5 kB
ssh.py 10.3 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
11bd1fac 12/02/2013 12:36 pm Dimitris Aragiorgis

Export logical_id info to hooks env

Signed-off-by: Dimitris Aragiorgis <>

488115f3 11/28/2013 12:56 pm Dimitris Aragiorgis

Fill NIC/Disk with dummy uuid upon loading runtime

This is needed because hotplug and NIC configuration
related code expects objects with uuids.

This fixes migration issues of instances with old
runtime format. Old devices remain not hot-plug-able
due to inconsistency between valid device uuids of...

2e9ee3d8 11/28/2013 11:39 am Dimitris Aragiorgis

Remove deprecated idx slot from NIC/Disk objects

This code will run when reading old kvm runtime files created
by hot-plugging related code back in Ganeti 2.6.2

Signed-off-by: Dimitris Aragiorgis <>

6254b733 11/28/2013 10:03 am Dimitris Aragiorgis

Fix _ConfigureNIC() upon migration

In case we try to migrate old instances with kvm_nics entries
without uuid slots ends to passing None values to env dict
in RunCmd() which raises an Exception. To this end export uuid
only if not None.

Signed-off-by: Dimitris Aragiorgis <>

218e4c34 11/28/2013 09:04 am Dimitris Aragiorgis

Enable -device option for old disks upon migration

Change _GenerateDeviceKVMId() to take device index as an
extra argument. In case device has uuid and pci info
we return proper device id. In case idx is given we return
a dummy id (e.g. hotdisk-0). Otherwise we raise an Exception....

cbb42ac7 11/28/2013 08:25 am Dimitris Aragiorgis

Move disk options before nic ones in kvm command

Older versions of Ganeti did ensure that during startup
disk devices will be inserted before nic devices in PCI
configuration space. KVM inserts devices to PCI slots
depending on the order of command line options....

83e6917d 11/26/2013 04:52 pm Dimitris Aragiorgis

Fix a bug in InstanceSetParams concerning names

In case no name is passed in disk modifications we should
keep the old one. If name=none then set disk name to None.

Signed-off-by: Dimitris Aragiorgis <>

77ed6182 11/25/2013 06:39 pm Dimitris Aragiorgis

Workaround for Issue 621

Upon LUNetworkDisconnect() and LUNetworkConnect() try to acquire
all cluster's instances.

By that _LS_ACQUIRE_ALL acquire mode is set and not
_LS_ACQUIRE_EXACT and thus the deleted lock does cause any problem.

TODO: find a less greedy way to fix that....

f71dde78 11/25/2013 05:57 pm Dimitris Aragiorgis

Fix NODE/NODE_RES locking in LUInstanceCreate

Both NODE and NODE_RES locks were acquired opportunistically if so
requested by the user. LUInstanceCreate requires, however, that the
actually locked elements on NODE and NODE_RES level are the same.

This patch changes the locking of NODE_RES such that those locks are...

38f561d8 11/22/2013 04:19 pm Dimitris Aragiorgis

Do not pass None values in network scripts

RunCmd does not allow env dict to have non string values.
NIC's IP and name can be None, thus export them only if not.

Signed-off-by: Dimitris Aragiorgis <>

View revisions

Also available in: Atom