Statistics
| Branch: | Tag: | Revision:

root / lib @ 86a24969

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 114.6 kB
bdev.py 90.4 kB
bootstrap.py 33.3 kB
cli.py 118.1 kB
cmdlib.py 542.4 kB
compat.py 3.9 kB
config.py 74.6 kB
constants.py 53.2 kB
daemon.py 26.7 kB
errors.py 10.5 kB
ht.py 9.9 kB
jqueue.py 74.5 kB
jstore.py 5.9 kB
locking.py 55.7 kB
luxi.py 16 kB
mcpu.py 23.8 kB
netutils.py 18.6 kB
objects.py 57.4 kB
objectutils.py 2.5 kB
opcodes.py 60 kB
ovf.py 65.5 kB
pathutils.py 4.9 kB
qlang.py 9.8 kB
query.py 72.5 kB
rpc.py 24.4 kB
rpc_defs.py 22.6 kB
runtime.py 6.3 kB
serializer.py 4 kB
ssconf.py 15.8 kB
ssh.py 9.6 kB
storage.py 13.2 kB
uidpool.py 11.8 kB
vcluster.py 7.4 kB
workerpool.py 14.3 kB

Latest revisions

# Date Author Comment
86a24969 10/25/2012 08:57 pm Dato Simó

Errors.hs: improve field names for ConfigVersionMismatch

Change {exp,act}Code to {exp,act}Ver, which gives a better idea that
the integer fields represent version numbers.

Also:

- errors.py: update OpPrereqError's docstring to note that an error
code is always expected as the second argument (it was previously...
cd93a0ec 10/25/2012 06:47 pm Iustin Pop

Remove unused cache implementation

Note that this commit has no Makefile.am changes, as the files were
not actually used. So it's better to actually remove them.

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

15c118a4 10/25/2012 04:10 pm Michael Hanselmann

bdev: Remove unused import of itertools

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Michele Tartara <>

23e3c9b7 10/25/2012 03:18 pm Michael Hanselmann

bdev: Add verification for file storage paths

An earlier version of this patch series verified all paths in cmdlib in
the master daemon. With this change all that verification code is moved
to bdev to run inside the node daemon. The checks are much stricter...

aebd0e4e 10/25/2012 03:16 pm Michael Hanselmann

jqueue: Factorize code to modify job

A new function will be added to change a job's priority.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Bernardo Dal Seno <>

552328b8 10/25/2012 03:16 pm Michael Hanselmann

cli: Use callback for --priority

If the option is used elsewhere, the numeric value is directly
available.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Bernardo Dal Seno <>

bb921668 10/25/2012 03:16 pm Michael Hanselmann

jqueue: Add docstring for _DetermineJobDirectories

Somehow this was missed in commit 0422250e.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Helga Velroyen <>

42d49574 10/25/2012 03:16 pm Michael Hanselmann

jqueue: Fix comments in _SubmitJobUnlocked

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Helga Velroyen <>

c87440f5 10/25/2012 03:16 pm Michael Hanselmann

Drop SSHS_FORCE constant

It is not actually used.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Helga Velroyen <>

b183c4a8 10/23/2012 07:09 pm Iustin Pop

Improve logging of AssertionErrors

Currently, when we have an assertion error raised from cmdlib, it looks like this:

[cluster] root@node4:~# gnt-instance grow-disk instance1 0 1G
Failure: command execution error:

This is very very confusing. This patch adds a bit of traceback...

View revisions

Also available in: Atom