Statistics
| Branch: | Tag: | Revision:

root / lib @ 5d94c034

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  storage
  tools
  utils
  watcher
__init__.py 1.2 kB
asyncnotifier.py 6.1 kB
backend.py 125.9 kB
bootstrap.py 36.1 kB
cli.py 135.6 kB
cmdlib.py 615.6 kB
compat.py 4.3 kB
config.py 86.8 kB
constants.py 63.5 kB
daemon.py 26.7 kB
errors.py 11.2 kB
hooksmaster.py 9.2 kB
ht.py 10.7 kB
jqueue.py 79.7 kB
jstore.py 6 kB
locking.py 61.1 kB
luxi.py 16.4 kB
mcpu.py 17.9 kB
netutils.py 18.9 kB
network.py 7.3 kB
objects.py 63.3 kB
opcodes.py 67.3 kB
outils.py 4.3 kB
ovf.py 66 kB
pathutils.py 5.7 kB
qlang.py 9.6 kB
query.py 82.4 kB
rpc.py 26.1 kB
rpc_defs.py 24.1 kB
runtime.py 6.3 kB
serializer.py 4.5 kB
ssconf.py 11.5 kB
ssh.py 10.2 kB
uidpool.py 11.7 kB
vcluster.py 7.4 kB
workerpool.py 18.3 kB

Latest revisions

# Date Author Comment
5d94c034 05/15/2013 03:02 pm Helga Velroyen

Use os.statvfs to determine free disk space

This simplifies my previous commit (820bade90) by using os.statvfs
instead of parsing the output of 'df'.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Bernardo Dal Seno <>

820bade9 05/14/2013 10:17 pm Helga Velroyen

Backend function for file storage space reporting

This adds functionality to retrieve disk space information
for file storage. It calls the 'df' tool and parses its
output to extract the total and free amount of disk space
on the disk where the given path is located....

8f096849 05/14/2013 04:46 pm Helga Velroyen

Move 'container.py' to storage directory

Moving 'container.py' to the storage directory.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Thomas Thrainer <>

cde49218 05/14/2013 04:46 pm Helga Velroyen

Rename dir 'block' to 'storage'

Renaming the 'block' directory to 'storage', because I plan to
place code there that is related to file storage and leaving
it named 'block' would be misleading.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Thomas Thrainer <>

c23bb217 05/14/2013 04:45 pm Helga Velroyen

Rename storage.py to container.py

Renaming 'storage.py' to 'container.py'. It will be moved into the new
'storage' directory, which will come in later patches to avoid clashes of
notation.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Thomas Thrainer <>

5a9c7c34 05/09/2013 05:31 pm Bernardo Dal Seno

Refactor check for exclusive_storage in LUInstanceCreate

The order of evaluation of the conditions is changed, so it's easier to add
more (foreseen) checks for exclusive_storage.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Klaus Aehlig <>

8064c1af 05/09/2013 05:31 pm Bernardo Dal Seno

Refactor disk checks in LUInstanceSetParams

Prereq checks relative disks are grouped together and moved in a separate
method. This reduces the clutter in CheckPrereq().

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Klaus Aehlig <>

085b8e24 05/07/2013 04:07 pm Thomas Thrainer

Fix `drbdsetup show` parsing for DRBD 8.4

In DRBD 8.4, Ganeti does no longer use indexed external meta data but
flexible external metadata. Therefore, there is no longer a meta data
index in the output of `drbdsetup show`.

Signed-off-by: Thomas Thrainer <>...

47e0abee 05/06/2013 11:47 am Thomas Thrainer

Split DRBD8Dev into DRBD8 and DRBD8Dev

All functionality specific to a single DRBD8 devide is now in DRBD8Dev,
whereas functionality which is valid for the whole DRBD "installation"
on a device is collected in DRBD8.

This makes it possible to remove a couple of FIXME's and clarifies the...

5e85269f 05/06/2013 11:47 am Thomas Thrainer

Check for uniform DRBD version in node group

This check is performed during gnt-cluster verify and outputs warnings
if at least two different DRBD versions are found within a node group.
In such a case, all nodes with their installed DRBD version are
displayed....

View revisions

Also available in: Atom