Statistics
| Branch: | Tag: | Revision:

root / lib @ f38ea602

Name Size
  build
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
__init__.py 820 Bytes
asyncnotifier.py 5.1 kB
backend.py 98.9 kB
bdev.py 64.9 kB
bootstrap.py 24.7 kB
cli.py 77.6 kB
cmdlib.py 364.3 kB
compat.py 3.7 kB
config.py 49.2 kB
constants.py 28.3 kB
daemon.py 21.2 kB
errors.py 8.9 kB
jqueue.py 47.7 kB
jstore.py 3.6 kB
locking.py 41.1 kB
luxi.py 13.3 kB
mcpu.py 20.2 kB
netutils.py 8.5 kB
objects.py 35.7 kB
opcodes.py 20.9 kB
rpc.py 43.2 kB
serializer.py 4.5 kB
ssconf.py 14.1 kB
ssh.py 7.9 kB
storage.py 12.5 kB
uidpool.py 11.8 kB
utils.py 102.1 kB
workerpool.py 9.5 kB

Latest revisions

# Date Author Comment
f38ea602 07/26/2010 05:55 pm Iustin Pop

Add modification of the reserved logical volumes

This doesn't allow addition/removal of individual volumes, only
wholesale replace of the entire list. It can be improved later, if we
ever get generic container parameters.

The man page changes replaces some tabs with spaces (hence the...

5a3ab484 07/26/2010 05:54 pm Iustin Pop

Add printing of reserved_lvs in cluster info

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

999b183c 07/26/2010 05:54 pm Iustin Pop

Introuce a new cluster parameter - reserved_lvs

This parameter, which is a list of regular expression patterns, will
make cluster verify ignore any such LVs. It will not prevent creation or
removal of such volumes by the backend code.

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

91492e57 07/26/2010 05:50 pm Iustin Pop

Change the meaning of call_node_start_master

Currently, backend.StartMaster (the function behind this RPC call) will
activate the master IP and then, if the start_daemons parameter is true,
it will also activate the master role.

While this works, it has two issues:...

e0e916fe 07/26/2010 05:45 pm Iustin Pop

Move the UsesRPC decorator from cli to rpc

This is needed because not just the cli scripts need this decorator, but
the master daemon too (and it already duplicated the code once).

In cli.py we just leave a stub, so that we don't have to modify all the
scripts to import rpc.py....

52194140 07/23/2010 08:26 pm Iustin Pop

Update the RAPI node migrate for the 'live' change

This patch adds handling of the new 'mode' parameter to the RAPI server,
while keeping compatibility with the old mode. Note that in the old mode
(when 'live' is being passed), the auto-mode doesn't work....

1f334d96 07/23/2010 08:26 pm Iustin Pop

Update the RAPI client for the migration mode

See the discussion on the previous patch about this. Basically unless we
want to a add a new 'feature' marking for the live migration parameter,
there is no simple way to handle this nicely in the client.

Given that the client was/is marked as experimental, this patch simply...

8c35561f 07/23/2010 08:26 pm Iustin Pop

Rename the OpMigrate* parameter 'live' to 'mode'

This is needed as now the parameter is no longer boolean, but tri-state.

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

783a6c0b 07/23/2010 08:26 pm Iustin Pop

Rename migration type to migration mode

This is in preparation for the rename of the opcode 'live' parameter to
'mode'.

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

2ea65c7d 07/23/2010 03:19 pm Manuel Franceschini

utils: Fix incorrect docstring

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

View revisions

Also available in: Atom