| Branch: | Tag: | Revision:

root / lib @ f7c94c17

Name Size
  watcher 820 Bytes 6 kB 102.4 kB 67.7 kB 26.4 kB 93.9 kB 392.2 kB 3.7 kB 59.2 kB 32.7 kB 23.1 kB 9.6 kB 3.9 kB 58.5 kB 3.7 kB 48.2 kB 15.7 kB 16 kB 13.6 kB 43.2 kB 36 kB 2.6 kB 34.3 kB 46.4 kB 3.3 kB 4.5 kB 14.9 kB 8.6 kB 12.5 kB 11.8 kB 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

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

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