Statistics
| Branch: | Tag: | Revision:

root / lib @ aebd0e4e

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 88.9 kB
bootstrap.py 33.3 kB
cache.py 5.4 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.6 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
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...

1facaf11 10/23/2012 07:08 pm Michael Hanselmann

tools.prepare_node_join: Fix pep8 errors

Pep8 didn't agree with the indentation.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>

d12b9f66 10/23/2012 06:32 pm Michael Hanselmann

Add initial implementation of prepare-node-join

This is a new tool as per the design document “design-ssh-setup”. It
receives a JSON data structure on its standard input and configures the
SSH daemon and root's SSH keys accordingly. Unit tests are included....

8a3c9e8a 10/23/2012 03:59 pm Michael Hanselmann

ssh.GetUserFiles: RSA support, unit tests

This patch changes “ssh.GetUserFiles” to support two different kinds of
SSH keys, RSA and DSA. Before it would always use DSA. Newly written
unit tests are included.

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

48e175a2 10/19/2012 05:55 pm Iustin Pop

Update blockdev's "info" at instance rename

Currently, we set "info" metadata on block devices at device creation
time, but we never update it, leading to stale data in case of
instance renames. This would not be a big problem in case of regular
renames (assuming this is a rare operation), but importing instances...

View revisions

Also available in: Atom