Statistics
| Branch: | Tag: | Revision:

root / lib @ eaf7d41d

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.8 kB
cmdlib.py 385.6 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 58.5 kB
jstore.py 3.7 kB
locking.py 48.8 kB
luxi.py 14.3 kB
mcpu.py 18.4 kB
netutils.py 13.6 kB
objects.py 38.4 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 105.7 kB
workerpool.py 13.3 kB

Latest revisions

# Date Author Comment
eaf7d41d 01/06/2011 06:42 pm Michael Hanselmann

Increase timeout for connection on remote import

The source cluster has to shut down an instance before it can be
exported. Doing so can take a while, but the default connection timeout
is only 60 seconds. Adding the shutdown timeout on the receiving cluster...

30c945d0 12/29/2010 05:48 pm Michael Hanselmann

jqueue: Fix cancelling while in waitlock in queue

Since the recent change to leave jobs in the “waitlock” status (commit
5fd6b6947), cancelling a job while it's back in the queue would break.
This patch handles these cases and adds a unittest.

Signed-off-by: Michael Hanselmann <>...

cd4c86a8 12/20/2010 11:23 pm Michael Hanselmann

cli: Extend message for LUXI timeouts

Point out that jobs already submitted continue to run.

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

28e3e216 12/20/2010 11:23 pm Michael Hanselmann

Fix timeout handling in LUXI client

If the socket can't be read in time, it raises “socket.timeout”, for
which there is special handling code. Unfortunately the exception block
was in the wrong order and “socket.error” caught it before.

Signed-off-by: Michael Hanselmann <>...

43217ac7 12/20/2010 04:33 pm Michael Hanselmann

Merge branch 'stable-2.3' into devel-2.3

  • stable-2.3:
    Prepare 2.3.1 release
    Fix disk status verification in LUClusterVerify

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

4f5c2533 12/15/2010 08:18 pm Adeodato Simo

Fix gnt-cluster verify with diskless instances

`gnt-cluster verify` was failing with KeyError if there was any
diskless instance in the cluster. This was because _CollectDiskInfo()
was not including these instances in the returned dictionary, but they
were expected to be present in LUVerifyCluster.Exec()....

5fd6b694 12/15/2010 03:42 pm Michael Hanselmann

jqueue: Keep jobs in “waitlock” while returning to queue

Iustin Pop reported that a job's file is updated many times while it
waits for locks held by other thread(s). After an investigation it was
concluded that the reason was a design decision for job priorities to...

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...

d1a0ab50 12/09/2010 05:13 pm Guido Trotter

Merge branch 'devel-2.2' into devel-2.3

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

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

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 <>

View revisions

Also available in: Atom