Statistics
| Branch: | Tag: | Revision:

root / lib @ 622444e5

Name Size
  build
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 99.1 kB
bdev.py 66.7 kB
bootstrap.py 27.1 kB
cli.py 81.3 kB
cmdlib.py 371.5 kB
compat.py 3.7 kB
config.py 54.9 kB
constants.py 29.5 kB
daemon.py 23.1 kB
errors.py 9.5 kB
ht.py 3.7 kB
jqueue.py 57.6 kB
jstore.py 3.7 kB
locking.py 48.7 kB
luxi.py 13.7 kB
mcpu.py 18.4 kB
netutils.py 13.6 kB
objects.py 38.1 kB
opcodes.py 21.3 kB
rpc.py 44.9 kB
runtime.py 3.3 kB
serializer.py 4.5 kB
ssconf.py 14.9 kB
ssh.py 8.6 kB
storage.py 12.5 kB
uidpool.py 11.8 kB
utils.py 105.7 kB
workerpool.py 13.3 kB

Latest revisions

# Date Author Comment
622444e5 10/26/2010 12:47 pm Iustin Pop

Export node group data in iallocator

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

acd34ea7 10/26/2010 12:47 pm Iustin Pop

Split IAllocator._ComputeClusterData

The node and instance computations were all in this big function; we
separate them out for more clarity.

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

a03fcb26 10/26/2010 12:13 pm René Nussbaumer

Putting the pieces together and invoke the wipe in cmdlib

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

271b7cf9 10/26/2010 12:13 pm René Nussbaumer

Adding RPC call for blockdev_wipe

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

da63bb4e 10/26/2010 12:12 pm René Nussbaumer

Second iteration over backend.BlockdevWipe

This patch now uses dd entirely to wipe the disk, make it
much easier to wipe in blocks so we can give interactive feedback
about the status.

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

f2165b8a 10/25/2010 01:47 pm Iustin Pop

Simplify and extend the instance OS env

Some parameters were missing (uuid, c/mtime). We simplify the export
method; unfortunately we cannot simply iterate over slots since the
mapping is not 1:1.

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

eb180fe2 10/22/2010 06:23 pm Iustin Pop

ConfigWriter: prevent using a foreign config

If the configuration file doesn't denote this node as master, we prevent
startup. This would have detected our previous race condition more
easily, hence we add it as a permanent check.

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

21004460 10/22/2010 06:23 pm Iustin Pop

Fix bootstrap.MasterFailover race with watcher

This fixes a recently diagnosed race condition between master failover
and the watcher.

Currently, the master failover first stops the master daemon, checks
that the IP is no longer reachable, and then distributes the updated...

bd407597 10/22/2010 06:23 pm Iustin Pop

ConfigWriter: protect against multiple writers

This should fix the case where there are two masters that both try to
distribute the configuration file to the cluster. The first one that does so,
will "win" the ownership of the config.data.

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

8f065ae2 10/22/2010 06:23 pm Iustin Pop

backend.Upload: switch to utils.SafeWriteFile

This allows serialization of updates to a given file, with respect to
other cooperating writers.

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

View revisions

Also available in: Atom