Statistics
| Branch: | Tag: | Revision:

root / lib @ b04808ea

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 393.3 kB
compat.py 3.7 kB
config.py 59.5 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
b04808ea 01/24/2011 05:32 pm René Nussbaumer

Modify LUOobCommand to support multiple nodes

This will change the result of this LU to a query like result. A list of
tuples with information about the state of the data.

It also includes the modification to the commands calling this opcode.

Signed-off-by: René Nussbaumer <>...

e18c6c47 01/21/2011 05:36 pm Iustin Pop

Merge branch 'devel-2.4'

  • devel-2.4:
    Another fix for LUClusterVerifyDisks
    QA: also run gnt-cluster verify-disks
    Fix disk adoption breakage
    Fix typo in query2 design document
    Improve documentation for QRFS_UNAVAIL
    lvmstrap: add PV-on-partition support...
cfb084ae 01/21/2011 11:04 am René Nussbaumer

Rename QRFS_* to RS_*

This patch renames QRFS_* to RS_* fields so they can be used in other
places (i.e. LUs) without confusion, as this was initially meant for
query operations.

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

075b62ca 01/20/2011 07:43 pm Iustin Pop

Another fix for LUClusterVerifyDisks

The LVM queries should only be done for vm_capable nodes. In order to
do this, we also add a new ConfigWriter method to abstract that query.

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

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 <>...

View revisions

Also available in: Atom