Statistics
| Branch: | Tag: | Revision:

root / lib @ 6d1b57f0

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  utils
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 105 kB
bdev.py 70.5 kB
bootstrap.py 28.7 kB
cli.py 96.4 kB
cmdlib.py 413.4 kB
compat.py 3.7 kB
config.py 62.8 kB
constants.py 34 kB
daemon.py 23.5 kB
errors.py 9.6 kB
ht.py 4 kB
jqueue.py 58.5 kB
jstore.py 3.7 kB
locking.py 48.2 kB
luxi.py 15.7 kB
mcpu.py 16.1 kB
netutils.py 13.6 kB
objects.py 43.6 kB
opcodes.py 36.7 kB
qlang.py 2.6 kB
query.py 35.2 kB
rpc.py 46.7 kB
runtime.py 3.3 kB
serializer.py 4.5 kB
ssconf.py 15.2 kB
ssh.py 8.6 kB
storage.py 12.7 kB
uidpool.py 11.8 kB
workerpool.py 13.3 kB

Latest revisions

# Date Author Comment
6d1b57f0 05/05/2011 10:43 am Apollon Oikonomopoulos

TLMigrateInstance: restore live migration behavior

Commit b9187ba2 erroneously incorporated parts of the code of
TLMigrateInstance.CheckPrereq into TLMigrateInstance._RunAllocator. As a
result, all migrations performed without the use of an iallocator would end-up...

43fcf0d3 05/04/2011 04:07 pm Apollon Oikonomopoulos

kvm: check that the ISO image is there if it's a URL

Perform a simple urllib2 check on ISO images specified as URL before instance
start, so as to work around qemu bug #597575 [1].

[1] https://bugs.launchpad.net/qemu/+bug/597575

Signed-off-by: Apollon Oikonomopoulos <>

aef68e02 04/20/2011 11:22 am Apollon Oikonomopoulos

Remove 20-second sleeps from _ExecMigration

TLMigrateInstance._ExecMigration included two 10-second sleeps for unknown
reasons.

This patch removes them.

Signed-off-by: Apollon Oikonomopoulos <>

f7d61653 04/20/2011 11:22 am Apollon Oikonomopoulos

KVM: reduce 'info migrate' polling period to 1s

Signed-off-by: Apollon Oikonomopoulos <>

f1ea1bef 04/20/2011 11:20 am Apollon Oikonomopoulos

Fix parts of shared storage migration

Commit faaabe3c fixed failover behaviour for DTS_INT_MIRROR instances, however
it broke migration for DTS_EXT_MIRROR instances, by moving iallocator and node
checks from LUInstanceMigrate to TLMigrateInstance. This has the side-effect...

cc5d722f 04/20/2011 11:20 am Apollon Oikonomopoulos

Add completion suggestion for more parameters

Add suggestions for disk-, nic-, and backend-parameter completion.

Also alter autotools/build-bash-completion to ignore the new suggestion types
for the moment.

Signed-off-by: Apollon Oikonomopoulos <>

eb980c5a 04/20/2011 11:20 am Apollon Oikonomopoulos

Ignore parameter completion for bash completion

Named parameters are only handled by zsh completion for the time being.

Signed-off-by: Apollon Oikonomopoulos <>

823bfa49 04/20/2011 11:20 am Apollon Oikonomopoulos

Allow KVM to boot from HTTP

New versions of KVM support booting from HTTP-hosted ISO
images, via libcurl. This patch adds a proper check to
allow defining either a sane, absolute path or an HTTP
URL as an iso image path.

Remove "format=raw" from the cdrom device options when iso_image...

15df79ad 04/20/2011 11:20 am Iustin Pop

Prevent ssconf values from having non-string values

For whatever reason, my test cluster managed to acquire
shared_file_storage_dir with a None value, instead of empty
string. This is not flagged in masterd itself, but the node daemon
will fail in writing the value to disk, as it calls len() on the...

528140fb 04/20/2011 11:20 am Iustin Pop

Fix shared_file_storage_dir on upgrades

If the cluster was upgraded from 2.4 or earlier, this key won't exist
(it's only set to a correct value on cluster init), so we need to
properly set it to a null string (disabled).

Signed-off-by: Iustin Pop <>...

View revisions

Also available in: Atom