Statistics
| Branch: | Tag: | Revision:

root / lib @ 80b898f9

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 112.8 kB
bdev.py 86.6 kB
bootstrap.py 33.2 kB
cache.py 5.4 kB
cli.py 115.5 kB
cmdlib.py 543.9 kB
compat.py 3.9 kB
config.py 74.5 kB
constants.py 54.9 kB
daemon.py 26.7 kB
errors.py 10.6 kB
ht.py 9.7 kB
jqueue.py 73.4 kB
jstore.py 4.6 kB
locking.py 55.6 kB
luxi.py 16 kB
mcpu.py 23.1 kB
netutils.py 18.2 kB
objects.py 57.8 kB
opcodes.py 58.5 kB
ovf.py 63 kB
qlang.py 9.3 kB
query.py 71.8 kB
rpc.py 24.1 kB
rpc_defs.py 21.2 kB
runtime.py 6.3 kB
serializer.py 4 kB
ssconf.py 15.6 kB
ssh.py 8.6 kB
storage.py 13.2 kB
uidpool.py 11.8 kB
workerpool.py 14.3 kB

Latest revisions

# Date Author Comment
80b898f9 06/20/2012 11:03 am Iustin Pop

Fix bug in instance net changes

_PrepareNicModification returns the invalid type, which triggers an
assert resulting in a mysterious error:

Failure: command execution error:

Without any explanation. We fix this by removing the return value from
_PrepareNicModification, and instead returning the expected type...

e0b57a5c 06/19/2012 02:02 pm Michael Hanselmann

bdev: Fix DRBD error reporting for syncer rate

The function is supposed to return a list, not a string. Without this
patch the error message ends up as “C, a, n, ', t, , c, h, a, n, g, e,
…”.

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

0fb66bb1 06/18/2012 02:48 pm Iustin Pop

Fix inconsistent punctuation in rapi docs and opcodes

While reviewing the RAPI docs (for commit 003306f9), I realised that
the punctuation used in RAPI is inconsistent, especially with regards
to definition lists.

This patch changes all such lists to not have punctuation, except for...

003306f9 06/15/2012 05:38 pm Iustin Pop

Export more information in RAPI group queries

Sadly we don't have a way to test that, for example, all
(G|N|I)Q_CONFIG fields are exported in RAPI, so for now we don't test
this; but we should, in the future.

Signed-off-by: Iustin Pop <>...

e4a4391d 06/15/2012 04:48 pm René Nussbaumer

Verify the options on diskparameters

This prevents from setting for example drbd options on the plain disk
template.

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

32be86da 06/15/2012 04:48 pm René Nussbaumer

Verify user supplied dicts against defaults

This verifies the user (especially in nested dicts) does not
provide a key which is not seen in the defaults dict for that dict.

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

ad48eacc 06/14/2012 02:18 pm Michael Hanselmann

query2: Add <, >, <=, >= comparison operators

These can be used, for example, to get jobs submitted after a certain
timestamp.

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

d8960502 06/14/2012 01:04 pm Iustin Pop

Fix creation of plain instances with --no-wait-for-sync

As reported on the devel mailing list by Christos Stavrakakis,
creation of plain instances is broken when the --no-wait-for-sync flag
is passed, because in that case WaitForSync is not called, hence...

3bc145d8 06/12/2012 04:52 pm Bernardo Dal Seno

Fixed typos, formatting, etc and added a comment

This patch only touches comments and man pages.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Iustin Pop <>

5c3d5dfd 06/12/2012 01:02 pm Iustin Pop

Fix epydoc raises L{...} usage

For epydoc raise statement, it already expects an exception which will
be hyperlinked; if passing an L{…} construct, it will instead break
the formatting (the @raise will not be recognised, but merged into the
previous paragraph)....

View revisions

Also available in: Atom