Statistics
| Branch: | Tag: | Revision:

root / lib @ 45ba54c4

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.2 kB
bdev.py 109.4 kB
bootstrap.py 36.6 kB
cli.py 136.5 kB
compat.py 4.3 kB
config.py 88.5 kB
constants.py 64.5 kB
daemon.py 26.7 kB
errors.py 11.4 kB
hooksmaster.py 9.2 kB
ht.py 10.7 kB
jqueue.py 79.8 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.7 kB
objects.py 64 kB
opcodes.py 67.6 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.7 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
7d4ae909 12/17/2013 12:46 pm Dimitris Aragiorgis

(2.10) Export tags via GetTags() to network scripts

Use GetTags() instance method in order to export instance tags
to NIC configuration scripts and files of kvm and xen hypervisors.

Signed-off-by: Dimitris Aragiorgis <>
Signed-off-by: Thomas Thrainer <>...

45ba54c4 12/17/2013 12:46 pm Dimitris Aragiorgis

(2.10) Use HooksDict() to export network options in Xen

Remove duplicate code that exports network options to environment
variables.

Signed-off-by: Dimitris Aragiorgis <>
Signed-off-by: Thomas Thrainer <>
Reviewed-by: Thomas Thrainer <>...

22001b78 12/17/2013 12:46 pm Dimitris Aragiorgis

(2.10) RAPI: Make use of request_body in Reboot/Remove

Until now, the shutdown_timeout parameter could only be passed to
ShutdownInstance() inside kwargs, causing it to be included in the
request body. Based on that, extend RebootInstance() and
RemoveInstance() so that they can take extra arguments (e.g....

e7a77eb8 12/17/2013 12:46 pm Dimitris Aragiorgis

(2.10) Introduce --hotplug-if-possible option

This will be useful for an external entity using RAPI that
wants to modify devices of instances.

The common use case for that is:
"I want to add a NIC/disk to an instance. If it is running
then try to hotplug the device. If not, then just add it to config."...

bdf3ba80 12/17/2013 12:46 pm Dimitris Aragiorgis

(2.10) Mark cluster's IPs as externally reserved

Currently, upon network creation, nodes' and master's IPs
are reserved in the pool.

This leads to pool reservations ('X' in map) that cannot be changed
afterwards, although they may need to (e.g. in case of node...

e5370111 12/17/2013 12:46 pm Dimitris Aragiorgis

(2.10) Allow instances to obtain externally reserved IPs

The administrator should be able to assign an externally reserved IP
to a Ganeti instance manually, if desired. Currently this is not
supported. External reservations should act as holes in the pool and...

52fc37bd 12/17/2013 12:46 pm Dimitris Aragiorgis

(2.10) RAPI: Pass depends body arg (if any) to opcode

Most rlib2 classes override the default _GetDefaultData() method with
custom methods that parse a request's body and query args and return a
(body, specific_static) tuple eventually passed to FillOpCode()....

9de92521 12/17/2013 12:46 pm Dimitris Aragiorgis

(2.10) SimpleRetry on BlockDev.Remove()

Sometimes, upon disk removal, corresponding file descriptors
are kept briefly open by various processes (hypervisor, blkid, etc.).
With this patch, we retry several times before raising the appropriate
error, thus making disk removal more robust against those corner cases....

caf74756 12/17/2013 12:46 pm Dimitris Aragiorgis

(2.10) Check if hotplug is supported in CheckPrereq

Introduce new RPC hotplug_supported that invokes the corresponding
hypervisor's method which checks if hotplug is generally
supported. Call this RPC early in CheckPrereq() and abort if
hotplug is not supported. Currently only KVM hypervisor with...

1c6c4d6d 12/17/2013 12:46 pm Dimitris Aragiorgis

(2.10) drive_del after device_del in disk hot-remove

This is needed so that qemu process really releases the
corresponding file descriptor and thus we can dmsetup/lvremove
the device without errors.

Signed-off-by: Dimitris Aragiorgis <>
Signed-off-by: Thomas Thrainer <>...

View revisions

Also available in: Atom