| Branch: | Tag: | Revision:

root / lib @ 9711e69d

Name Size
  watcher 820 Bytes 6 kB 105 kB 70.5 kB 28.7 kB 96.4 kB 413.6 kB 3.7 kB 62.8 kB 34 kB 23.5 kB 9.6 kB 4 kB 58.5 kB 3.7 kB 48.2 kB 15.7 kB 16.1 kB 13.6 kB 43.6 kB 36.7 kB 2.6 kB 35.2 kB 46.7 kB 3.3 kB 4.5 kB 15.2 kB 8.6 kB 12.7 kB 11.8 kB 13.3 kB

Latest revisions

# Date Author Comment
9711e69d 05/13/2011 04:20 pm Apollon Oikonomopoulos

TLMigrateInstance: do not migrate to self

Check that the instance is not being migrated to its current primary node
during CheckPrereq. Otherwise migration is aborted because the instance is
already running and cleaned-up, which causes the running instance to be killed....

9d5d703e 05/10/2011 06:44 pm Apollon Oikonomopoulos

Remove self._migrater use from TLMigrateInstance

Comply with changes introduced in f1ea1be, as we forgot to completely remove
self._migrater.target_node from TLMigrateInstance.

Signed-off-by: Apollon Oikonomopoulos <>

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].


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

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 <>

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