Statistics
| Branch: | Tag: | Revision:

root / lib @ 2cfbc784

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 113 kB
bdev.py 87 kB
bootstrap.py 33.4 kB
cache.py 5.4 kB
cli.py 116.3 kB
cmdlib.py 551.3 kB
compat.py 3.9 kB
config.py 74.6 kB
constants.py 55.1 kB
daemon.py 26.7 kB
errors.py 10.5 kB
ht.py 9.7 kB
jqueue.py 72.6 kB
jstore.py 5.6 kB
locking.py 55.6 kB
luxi.py 16 kB
mcpu.py 23.1 kB
netutils.py 18.2 kB
objects.py 57.9 kB
opcodes.py 58.8 kB
ovf.py 64.7 kB
qlang.py 9.3 kB
query.py 72.8 kB
rpc.py 24.2 kB
rpc_defs.py 21.3 kB
runtime.py 6.3 kB
serializer.py 4 kB
ssconf.py 15.6 kB
ssh.py 8.6 kB
storage.py 13.2 kB
uidpool.py 11.8 kB
workerpool.py 14.3 kB

Latest revisions

# Date Author Comment
2cfbc784 08/02/2012 03:46 pm Iustin Pop

Fix uses of OpPrereqError without code info

A while back, we did cleanup the code and ensured (manually) that use
of OpPrereqError includes an errors.ECODE_* field as second
argument. Since we cannot automate the check for this, it turns out
that more and more such usage has crept over the years, including in...

38db4e7c 07/25/2012 09:52 pm Adam Ingrassia

Front-end and doc to use allocator in recreate-disks

The recreate-disks command no longer requires an explicit list of nodes.

Signed-off-by: Adam Ingrassia <>
Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Iustin Pop <>

3d091af0 07/25/2012 09:38 pm Bernardo Dal Seno

Allocator support in recreate-disks LU

This affects only the backend.

Signed-off-by: Adam Ingrassia <>
Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Iustin Pop <>

01eb03bd 07/25/2012 09:37 pm Adam Ingrassia

Added method to call an allocator for recreate-disks

Ideally this should have used relocation mode, but to due lacking of
support in current allocators, allocation mode has been used instead.

Signed-off-by: Adam Ingrassia <>
Signed-off-by: Bernardo Dal Seno <>...

bb0d8ddc 07/25/2012 02:24 pm Adam Ingrassia

Support for checking the group of only the primary node

_CheckInstanceNodeGroups behaves in the old way with the default value
of the new parameter.

Signed-off-by: Adam Ingrassia <>
Signed-off-by: Iustin Pop <>
Reviewed-by: Iustin Pop <>

7fe73c6f 07/20/2012 03:14 pm Iustin Pop

Make error classes more consistent

This removes "pass" from a few definitions, making all errors
consistent.

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

7cb42171 07/20/2012 12:29 pm Nikita Staroverov

Add support for -cpu option in KVM

This adds supports for the (non-validated) cpu parameter to KVM.

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

7803e37c 07/19/2012 03:51 pm Iustin Pop

Merge branch 'stable-2.6'

  • stable-2.6: (21 commits)
    Release Ganeti 2.6.0 rc4
    Prepare NEWS for Ganeti 2.6.0rc4
    Add some rudimentary node group ipolicy checks
    Fix setting ipolicy on node groups
    Fix --no-headers for the new list-drbd command
    Add a simple QA test for gnt-node list-drbd...
8b057218 07/19/2012 03:15 pm René Nussbaumer

Fix setting ipolicy on node groups

On node groups we don't have the std field. However, the InstancePolicy
object always verifies that the std value is within a given range. As we
fill it up with defaults if not set (as it happens to be on node groups)
and the min value is higher than the default std value (taken from...

2da31181 07/19/2012 12:22 pm Iustin Pop

Fix --no-headers for the new list-drbd command

Sorry, I forgot that with GenerateTable this needs to be handled
manually. Fixed now and tested in both ways.

(But to be honest, this should be abstracted in GenerateTable, instead
of the 'if' test in all its callers.)...

View revisions

Also available in: Atom