Statistics
| Branch: | Tag: | Revision:

root / lib @ e695efbf

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 100.1 kB
bdev.py 66.7 kB
bootstrap.py 27.1 kB
cli.py 82.7 kB
cmdlib.py 387.2 kB
compat.py 3.7 kB
config.py 57.1 kB
constants.py 30.1 kB
daemon.py 23.1 kB
errors.py 9.6 kB
ht.py 3.7 kB
jqueue.py 57.6 kB
jstore.py 3.7 kB
locking.py 47.5 kB
luxi.py 14.3 kB
mcpu.py 18.4 kB
netutils.py 13.6 kB
objects.py 40 kB
opcodes.py 21.8 kB
rpc.py 45.8 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 109.9 kB
workerpool.py 13.3 kB

Latest revisions

# Date Author Comment
e695efbf 11/27/2010 07:29 pm Iustin Pop

Add missing paramter and unittests for this case

While git-am'ing the blockdev_prefix patch, I modified the hv_xen.py
file but forgot to amend the patch :(, so here it is.

Furthermore, to detect such inconsistencies in the future, a unittest is
added that cross-checks the default parameters in constants.py and the...

525011bc 11/27/2010 06:11 pm Maciej Bliziński

Adding blockdev_prefix to hypervisor options

Allows to install Red Hat based systems, for example Oracle Linux.
Tested with OEL.

The hypervisor by default offers a device named 'sda'. If the SCSI
module is already loaded, the disk device can't be created due to naming...

cb6a0296 11/26/2010 09:39 pm Iustin Pop

RPC call_node_info: change protocol

Currently, the call_node_info RPC does always check both the VG free
space and the hypervisor information. However, in ⅔ of the uses, we only
care about one or the other. Therefore, we change it so that if any of
the passed parameters is None, we don't perform the respective check. We...

88a32957 11/26/2010 06:36 pm Iustin Pop

Cluster rename: skip offline nodes

This only tries to upload the ssh_known_hosts_file to the online nodes,
eliminating a timeout and warning for offline nodes.

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

3c2b6a98 11/26/2010 11:05 am René Nussbaumer

The default value for ndparams should be None not {}

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

f6ffab5a 11/26/2010 11:05 am René Nussbaumer

Fix missed CheckArguments on ndparams for SetNodeParams

In the previous patch where I modified LUSetNodeParams to take ndparams
into account I missed this additional check of parameters in the Logical
Unit. This patch adds ndparams to the recognized parameter lists which...

38156f68 11/25/2010 06:00 pm Iustin Pop

Fix per-vg checks in instance disk conversion

Since we now have just two possibilities (plaint to drbd or drbd to
plain), we can assume (+an assert) that we come from LVM and access
directly logical_id0 for the VG on which it is stored.

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

6180d6bb 11/25/2010 01:45 pm Dmitry Chernyak

Removed _CheckNodesFreeDisk function

Was substituted by _CheckNodesFreeDiskPerVG.

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

03941a26 11/25/2010 01:41 pm Dmitry Chernyak

Make instance creation VG-aware

Also should work disk growing, instance moving and prerequisite checks.

Signed-off-by: Dmitry Chernyak <>
[: small style fixes]
Signed-off-by: Iustin Pop <>
Reviewed-by: Iustin Pop <>

10e2de91 11/25/2010 01:28 pm Dmitry Chernyak

Introduced VG-aware disk space checks

Implemented _CheckNodesFreeDiskPerVG and _ComputeDiskSizePerVG functions
for VG-aware iterations.

Signed-off-by: Dmitry Chernyak <>
[: some style fixes (long lines, etc.)]
Signed-off-by: Iustin Pop <>...

View revisions

Also available in: Atom