Statistics
| Branch: | Tag: | Revision:

root / lib @ 91492e57

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.2 kB
cmdlib.py 363.9 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.6 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
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 <>

089e5e50 07/22/2010 08:33 pm Iustin Pop

Merge branch 'devel-2.1' into master

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

6e04dc39 07/22/2010 08:21 pm Iustin Pop

Fix issue when changing the disk template to drbd

If we pass the current primary node, the conversion will fail horribly
with LVM creation errors. Instead, we catch and check for this
condition in CheckPrereq.

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

600535f0 07/21/2010 12:34 pm Manuel Franceschini

Always set commonName in X509 certificates

Due to the current switch of the RPC client to PycURL, a bug with newer
versions of libcurl surfaced. When the 'Subject' or 'Issuer' of
'server.pem' were empty, SSL handshake failed.

This patch changes the certificate generation functions such that they...

View revisions

Also available in: Atom