Statistics
| Branch: | Tag: | Revision:

root / lib @ dcfb969a

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 105.5 kB
bdev.py 70.9 kB
bootstrap.py 29.1 kB
cli.py 99.7 kB
cmdlib.py 431.4 kB
compat.py 3.7 kB
config.py 63.7 kB
constants.py 35.9 kB
daemon.py 23.5 kB
errors.py 10.1 kB
ht.py 5.9 kB
jqueue.py 59.1 kB
jstore.py 4.6 kB
locking.py 52.5 kB
luxi.py 15.8 kB
mcpu.py 18.1 kB
netutils.py 13.6 kB
objects.py 43.6 kB
opcodes.py 45.4 kB
qlang.py 7 kB
query.py 58 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
dcfb969a 05/13/2011 05:23 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....

3dbe3ddf 05/13/2011 03:57 pm Michael Hanselmann

SharedLock: Implement downgrade from exclusive to shared mode

If a job needs to modify a resource and then wait for a result, it must
acquire the resource lock in exclusive mode. In some cases it would be
possible to only have a shared lock for waiting. Until now it was not...

9133387e 05/12/2011 07:38 pm Michael Hanselmann

gnt-debug: Use constants for iallocator direction

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

fdbe29ee 05/12/2011 07:38 pm Michael Hanselmann

gnt-debug, opcodes: Use constants for iallocator

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

2a9bc156 05/12/2011 07:37 pm Michael Hanselmann

cmdlib.IAllocator: Use lookup table for mode-specific data

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

d9f99d88 05/11/2011 06:41 pm Guido Trotter

Remove references to acquired_locks

These sneaked in from 2.4 during the merge, but this attribute is
actually gone in the master branch.

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

93384b8c 05/11/2011 05:14 pm Guido Trotter

Merge branch 'devel-2.4'

  • devel-2.4:
    Use floppy disk and a second CDROM on KVM
    Document the selection of instance kernels
    Make root_path an optional hypervisor parameter
    Some man page updates
    Add 2 new variables to the OS scripts environment
    Add --no-wait-for-sync when converting to drbd...
fba7f911 05/10/2011 07:40 pm Marco Casavecchia

Use floppy disk and a second CDROM on KVM

Hi all,
this patch will add 3 new KVM parameters and a new option.

New Parameters:
- floppy_image_path = "" -> Specify the floppy image to load as
floppy disk.
- cdrom2_image_path = "" -> Specify a second cdrom image to load on...

0aeeb6e3 05/10/2011 06:32 pm Michael Hanselmann

jqueue: Update worker thread name to include opcode summary

With this patch, the worker thread name is updated to include a short
summary of the opcode (basically its OP_ID). The base name of job queue
threads is shortened from “JobQueue” to “Jq”. Logs and the lock monitor...

ff8ab07e 05/10/2011 05:37 pm Iustin Pop

Use the new dry-run mode in cmdlib

This will hopefully detect potential LVM (or any other storage, when
they implement it) issues before committing changes just on some
nodes.

Unfortunately due to the dry_run opcode handling, we can't integrate
this into the usual handling (as we need to activate the disks before...

View revisions

Also available in: Atom