Statistics
| Branch: | Tag: | Revision:

root / lib @ ac96953d

Name Size
  build
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 97.8 kB
bdev.py 66.7 kB
bootstrap.py 26.4 kB
cli.py 81 kB
cmdlib.py 367.3 kB
compat.py 3.7 kB
config.py 53.8 kB
constants.py 29.4 kB
daemon.py 23.1 kB
errors.py 9.5 kB
ht.py 3.7 kB
jqueue.py 57.6 kB
jstore.py 3.7 kB
locking.py 48.7 kB
luxi.py 13.7 kB
mcpu.py 18.4 kB
netutils.py 13.6 kB
objects.py 38.1 kB
opcodes.py 21.3 kB
rpc.py 44.5 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 103.3 kB
workerpool.py 13.3 kB

Latest revisions

# Date Author Comment
ac96953d 10/13/2010 04:54 pm Michael Hanselmann

Fix compatibility with Pyinotify 0.8

I didn't know why the code previously used
“pyinotify.EventsCodes.ALL_FLAGS” instead of using the flags from
“pyinotify.EventsCodes” directly. Turns out that Pyinotify 0.8 has them
in “pyinotify”, not “pyinotify.EventsCodes”....

e543a42f 10/13/2010 03:18 pm Michael Hanselmann

Extract base class from SingleFileEventHandler

The base class can contain code useful to other inotify users.
As it is “SingleFileEventHandler” can not be used in ganeti-rapi,
therefore it'll use its own small inotify handler class based
on this base class....

2287b920 10/13/2010 03:18 pm Michael Hanselmann

http.auth.ReadPasswordFile: Don't read file directly

Reading the file before this function allows for better error
reporting.

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

62e0e880 10/13/2010 02:44 pm Iustin Pop

Move the parameter types to their own module

This is for cleanup, and for later reuse in other parts of the code
(outside of LUs).

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

4b63dc7a 10/13/2010 02:42 pm Iustin Pop

"Fix" handling of old software versions on startup

Currently, masterd startup with old software versions is very confusing
for users: we present two tracebacks, with a message in the middle about
"version mismatch". This can lead to users believing that all that needs...

90224407 10/13/2010 12:59 pm Iustin Pop

Export more information via LUQueryInstances/RAPI

Currently, the custom instance parameters (hv, be, nicp) are only
queryable via LUQueryInstanceData. LUQueryInstance returns only the
filled parameters, thus its users (especially RAPI) have no way to know...

bd631b02 10/12/2010 06:25 pm Iustin Pop

Show instance state in instance console failures

The current message is not entirely clear, as it doesn't show the reason
why the instance is not running.

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

614244bd 10/12/2010 04:32 pm Iustin Pop

Fix epydoc errors

And sorry!

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

9e49dfc5 10/12/2010 03:48 pm Michael Hanselmann

jqueue: Fix bug when cancelling jobs

If a job was cancelled while it was waiting for locks, an assertion
would've failed. This patch fixes the problem and provides a unit
test to check for this situation.

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

320d1daf 10/12/2010 03:48 pm Michael Hanselmann

jqueue: Resume jobs from “waitlock” status (2nd try)

Commit 5ef699a0e had to roll back an earlier attempt at implementing
this. With the improved job queue processer, this is finally possible.

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

View revisions

Also available in: Atom