Statistics
| Branch: | Tag: | Revision:

root / lib @ f7c94c17

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  utils
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 102.4 kB
bdev.py 67.7 kB
bootstrap.py 26.4 kB
cli.py 93.9 kB
cmdlib.py 392.2 kB
compat.py 3.7 kB
config.py 59.2 kB
constants.py 32.7 kB
daemon.py 23.1 kB
errors.py 9.6 kB
ht.py 3.9 kB
jqueue.py 58.5 kB
jstore.py 3.7 kB
locking.py 48.2 kB
luxi.py 15.7 kB
mcpu.py 16 kB
netutils.py 13.6 kB
objects.py 43.2 kB
opcodes.py 36 kB
qlang.py 2.6 kB
query.py 34.3 kB
rpc.py 46.4 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
workerpool.py 13.3 kB

Latest revisions

# Date Author Comment
f7c94c17 01/20/2011 06:10 pm Apollon Oikonomopoulos

Fix disk adoption breakage

Disk adoption is currently broken by 84d7e26b, which added multiple LVM
volume group support. This patch fixes the calls to rpc.call_vg_list,
which are multi-node calls but were handled as single-node calls in
84d7e26b.

Signed-off-by: Apollon Oikonomopoulos <>...

dcb9946c 01/20/2011 02:05 pm Iustin Pop

Improve documentation for QRFS_UNAVAIL

IMHO this should have been named QRFS_NA or QRFS_UNSUPPORTED, but
UNAVAIL is good enough.

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

d63bd540 01/20/2011 02:05 pm Iustin Pop

query: Add alias support in _PrepareFieldList

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

e7e8037b 01/20/2011 02:05 pm Iustin Pop

Instance query: replace duplicates with aliases

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

93ac2fea 01/19/2011 05:52 pm Apollon Oikonomopoulos

Fix disk count check in LUSetInstanceParams

LUSetInstanceParams checked instance.nics (and not instance.disks)
against constants.MAX_DISKS.

Signed-off-by: Apollon Oikonomopoulos <>
Reviewed-by: Michael Hanselmann <>

af58707c 01/18/2011 05:55 pm Iustin Pop

query: use the actual types for BE/HV parameters

This patch exposes the VTYPE kind of BE/HV parameters, instead of
returning QFT_OTHER. The current situation makes a query like:

gnt-instance list -o name,be/memory,oper_ram

very strange looking.

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

ff4cd4d2 01/18/2011 05:55 pm Iustin Pop

query: return UNAVAIL for "wrong" HV parameters

If a HV parameter is required that does not apply for an instance,
currently the code returns None. This is bad, as it means we cannot
switch to the actual HV parameter types and validate correctly this
field....

d1c3c3b3 01/18/2011 05:55 pm Iustin Pop

query: change (debug-mode) field validation errors

Currently, the single assert just checks that the entire row is
consistent (true/false), and dumps the row and field definitions as an
accompanying message. This makes it very hard to understand what failed....

0ca7e384 01/18/2011 05:55 pm Iustin Pop

Rename a few instance field titles

The conversion to querylib introduced unique field titles, which however
did an inconsistent rename of the instance vcpus/memory fields.

This patch makes both BE_MEMORY and VCPUS be named with prefix “Config”
(which before was “Configured
”), and drops the “Runtime” (note no...

e2d188cc 01/18/2011 05:55 pm Iustin Pop

query: Change internal result computation

While looking at the query library, I realized that while we have five
field statuses, making this a 5-dimensional space, four of them are
shrunk to a single possible value (None). Hence it should be possible to
convert this into a single value space plus extra 4 special constants....

View revisions

Also available in: Atom