Statistics
| Branch: | Tag: | Revision:

root / lib @ 5ae7cd11

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 100.5 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.7 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.5 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.6 kB
uidpool.py 11.8 kB
utils.py 105.7 kB
workerpool.py 13.3 kB

Latest revisions

# Date Author Comment
5ae7cd11 01/26/2011 12:06 pm Michael Hanselmann

Fix bug in “gnt-node list-storage”

LVM PV storage units would always show as allocatable, even when they
weren't. For some reason I have not been able to determine, the function
parsing the attributes (“_GetAllocatable”) was not even called and the
list opcode simply returned the attribute string as the value (e.g....

4478301b 01/20/2011 02:15 pm Michael Hanselmann

Improve import/export timeout settings

With this patch, the exporting node will retry to connect a few times.
The receiving node will make use of the master's increased timeout (see
previous patch).

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

8fd2e34c 01/20/2011 02:15 pm Michael Hanselmann

Increase remote import/export timeout

It's been shown that 60 seconds may not be enough to establish a
connection.

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

b577dac4 01/07/2011 05:47 pm Michael Hanselmann

gnt-instance info: Show disk template

The data was already there, but not shown.

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

ab92578a 01/07/2011 12:01 pm Michael Hanselmann

Remove unused import from client.gnt_instance

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

678aa6d3 01/06/2011 06:52 pm Michael Hanselmann

gnt-instance console: Improve error reporting

If the SSH command fails, this will give a more detailed error
message than before.

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

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

View revisions

Also available in: Atom