Statistics
| Branch: | Tag: | Revision:

root / lib @ d41d07d4

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.5 kB
cmdlib.py 384.8 kB
compat.py 3.7 kB
config.py 56.5 kB
constants.py 29.6 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 48.7 kB
luxi.py 14.3 kB
mcpu.py 18.4 kB
netutils.py 13.6 kB
objects.py 38.4 kB
opcodes.py 21.7 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 105.7 kB
workerpool.py 13.3 kB

Latest revisions

# Date Author Comment
d41d07d4 12/09/2010 05:36 pm Iustin Pop

Fix disk status verification in LUClusterVerify

Commit b8d26c6 added disk status verification, but it has two
(different) bugs for not healthy nodes.

For offline nodes, we don't add at all the disk status to the
instance/node dict, with the result that the instance is not present in...

5500ca1f 12/09/2010 05:11 pm Guido Trotter

Merge branch 'stable-2.2' into stable-2.3

  • stable-2.2:
    Fix rename for file-backed instances

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

3721d2fe 12/09/2010 05:09 pm Guido Trotter

Fix rename for file-backed instances

Currently the code wrongly changes the disk logical/physical id
component representing the path from "$storage_dir/$iname/disk$seq" to
"$storage_dir/$iname/disk/$seq" (note the additional slash) breaking the
rename.

Signed-off-by: Guido Trotter <>...

29e8788e 12/01/2010 06:50 pm Michael Hanselmann

impexpd: Disable OpenSSL compression in socat if possible

This uses an option only available in patched socat versions. More
information is available from the INSTALL update included in this
patch.

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

c49b0092 11/30/2010 06:15 pm Adeodato Simo

config.py: need explicit %-formatting in errors.OpPrereqError.

Signed-off-by: Adeodato Simo <>
Reviewed-by: Michael Hanselmann <>

9aacb199 11/18/2010 03:03 pm Iustin Pop

Reinstall instance: disallow offline secondaries

Currently, reinstallation of a DRBD instance with the secondary node offline does:

node1# gnt-instance reinstall -f instance1
Waiting for job 139053 for instance1...
Thu Nov 18 01:36:09 2010 - WARNING: Could not prepare block device disk/0 on node node3 (is_primary=False, pass=1): Node is marked offline...

e2334900 11/18/2010 03:03 pm Iustin Pop

Fix breakage in OS state modify

I was using the feedback_fn function incorrectly (it doesn't
automatically expand the arguments).

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

86c340af 11/17/2010 05:45 pm Iustin Pop

Merge branch 'devel-2.2' into devel-2.3

  • devel-2.2:
    QA: add tests for gnt-cluster modify -B
    LUSetClusterParms: fix validation of beparams

Conflicts:
lib/cmdlib.py (reverted & applied manually the change)

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

52b783c2 11/17/2010 02:14 pm Iustin Pop

LUSetClusterParms: fix validation of beparams

Since the contents of the dict is validated via the ForceDictType, we can
simply require that it is a dict here. The previous check was wrong, as it was
copied from the HV checks (which also doesn't verify the leaf dict type)....

28a7318f 11/11/2010 02:16 pm Iustin Pop

Add unittests for TemporaryReservationManager

And fix an error message.

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

View revisions

Also available in: Atom