Statistics
| Branch: | Tag: | Revision:

root / lib @ b5f0b5cc

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 117.1 kB
cmdlib.py 533.7 kB
compat.py 3.9 kB
config.py 74.6 kB
constants.py 56.3 kB
daemon.py 26.7 kB
errors.py 10.6 kB
ht.py 9.9 kB
jqueue.py 72.5 kB
jstore.py 5.6 kB
locking.py 55.7 kB
luxi.py 16 kB
mcpu.py 23.1 kB
netutils.py 18.2 kB
objects.py 57.4 kB
objectutils.py 2.5 kB
opcodes.py 58.2 kB
ovf.py 65.5 kB
qlang.py 9.8 kB
query.py 72.1 kB
rpc.py 24.3 kB
rpc_defs.py 22.4 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
b5f0b5cc 09/14/2012 05:30 pm Bernardo Dal Seno

Always_failover doesn't require --allow-failover anymore

If an administrator sets always_failover, it means that there is no need
for another explicit approval to failover instead of migrating.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Michael Hanselmann <>

cb83e4db 09/14/2012 12:22 am Bernardo Dal Seno

Remove useless lock in recreate-disks

The old primary node was being locked to do RPC, but we don't lock nodes
for RPC anymore, so the lock is useless.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Guido Trotter <>

6953756f 09/12/2012 04:14 pm René Nussbaumer

Small style adjustment

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

3d7d3a12 09/12/2012 04:14 pm René Nussbaumer

Make iallocator request types more strict

This adapts the type of some request input fields to more stricter ones.

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

776b6291 09/12/2012 04:14 pm René Nussbaumer

Rework the required_nodes field

This was used to verify the result of instance allocation. However, this
is not logic which belongs to the cmdlib rather than to the iallocator
request itself. So abstract it by its own function. And update the
ValidateResult accordingly....

52f93ffd 09/12/2012 03:48 pm Michael Hanselmann

objects, rpc: Code cleanup

objects.Disk.ComputeLDParams: Simplify structure, don't use and
overwrite local variables.

rpc.AnnotateDiskParams: Replace explicit loop.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

6ce90543 09/12/2012 01:47 pm Michael Hanselmann

RAPI client: Fix typo in docstring

Also update the copyright header.

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

c269efc3 09/12/2012 12:27 pm René Nussbaumer

Disable pylint warnings for unknown members

For some reason pylint can't determine, that the members are calculated
upon runtime and complains. This is weird as the same mechanism works on
opcode/objects. I haven't found the issue for it yet, so let's just...

3c049cd3 09/12/2012 12:27 pm René Nussbaumer

Adapt gnt-debug iallocator

Add the new multi-alloc request to the test allocation framework. For
now we just create --count identical instances. This might need further
improvements later.

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

b1e47e2d 09/12/2012 12:27 pm René Nussbaumer

Adding new multi-allocation request

Now that we've the refactoring done, we can easily add the new mode and
everything works.

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

View revisions

Also available in: Atom