Statistics
| Branch: | Tag: | Revision:

root / lib @ 04a8865b

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.4 kB
compat.py 3.7 kB
config.py 56.4 kB
constants.py 29.9 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.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 109.9 kB
workerpool.py 13.3 kB

Latest revisions

# Date Author Comment
04a8865b 11/23/2010 01:01 pm Lance Albertson

RAPI: implement no_install during instance creation

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

d05cf6fa 11/23/2010 12:01 pm Iustin Pop

utils._RunCmdPipe: simplify the timeout logic

There are two issues: first, it's simpler to assign directly to pt
instead of via another local variable. Second, this code doesn't make
sense:
if lt < 0:
break
pt = max(0, lt)

If lt is indeed < 0, then the code will break. Otherwise, lt ≥ 0, and...

a298fd5a 11/23/2010 12:01 pm Iustin Pop

utils._RunCmdPipe: fix poller timeout usage

This patch makes a simple timeout test (e.g. testTimeoutKill) go from
13K poll syscalls to just 6. The code didn't take into account that
RunningTimeout talks in seconds while the poller object expects
milliseconds....

fd254195 11/22/2010 09:11 pm Iustin Pop

RAPI: export the node group UUID in the node query

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

095e71aa 11/22/2010 05:18 pm René Nussbaumer

Adding oob_program in the same style as beparams

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

972a114f 11/19/2010 06:26 pm Iustin Pop

Merge branch 'devel-2.3'

  • devel-2.3:
    Updates NEWS and configure.ac for 2.3.0~rc1
    Update NEWS & configure.ac for the 2.2.2 release
    Fix documentation regarding conversion to drbd
    Fix documentation regarding conversion to drbd
    Reinstall instance: disallow offline secondaries...
c74cda62 11/19/2010 05:19 pm René Nussbaumer

Support timeouts in RunCmd

Further investigations have to be done for merging some of these bits
together with import-export daemon which uses similiar logic.

Signed-off-by: René Nussbaumer <>
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 <>...

View revisions

Also available in: Atom