Statistics
| Branch: | Tag: | Revision:

root / lib @ c7741319

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.4 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
c7741319 04/19/2011 05:16 pm 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...

82fa9f58 04/19/2011 04:44 pm 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...

465badb3 04/19/2011 04:26 pm 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 <>

23d246d8 03/21/2011 03:19 pm 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 <>

4d330746 03/18/2011 09:45 pm 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...

2fb309ce 03/18/2011 07:31 pm Apollon Oikonomopoulos

Temporary workaround for hail to work with shared storage

Signed-off-by: Apollon Oikonomopoulos <>

a8ab4b6c 03/18/2011 07:31 pm Apollon Oikonomopoulos

Allow disk adoption during disk addition

It is now possible to allow adopting a disk during gnt-instance modify time, as
follows:

gnt-instance modify --disk add:adopt=/path/to/disk (blockdev)
or
gnt-instance modify --disk add:adopt=<lvname> (plain)

We do the same checks as during instance creation....

78f5c4dc 03/18/2011 07:24 pm Apollon Oikonomopoulos

KVM: use cache=none for shared disk templates

Disable host cache for externally mirrored disks to avoid cache incoherency.
Without this, migrations between the same two nodes may end up in disk
corruption.

This is a runtime override of cluster defaults, mostly a workaround....

36abf6f1 03/18/2011 07:24 pm Apollon Oikonomopoulos

Rename DTS_NET_MIRROR to DTS_INT_MIRROR

DTS_INT_MIRROR better contrasts DTS_EXT_MIRROR.

Signed-off-by: Apollon Oikonomopoulos <>
[: updated patch for changed context]
Signed-off-by: Iustin Pop <>
Reviewed-by: Iustin Pop <>

4d3e8d0e 03/18/2011 07:24 pm Iustin Pop

Instance failover: fix bug for INT_MIRROR cases

Patches db366d9a and aac4511a added support for EXT_MIRROR instances,
but inadvertently introduced a bug: for INT_MIRROR cases, we don't
need (actually we can't support) neither an iallocator nor a target
node....

View revisions

Also available in: Atom