Statistics
| Branch: | Tag: | Revision:

root / src / Ganeti @ 5badb3e7

Name Size
  Confd
  Cpu
  Curl
  DataCollectors
  HTools
  Hs2Py
  Hypervisor
  Monitoring
  Query
  Storage
BasicTypes.hs 8 kB
Common.hs 14.4 kB
Compat.hs 1.4 kB
Config.hs 14.5 kB
ConfigReader.hs 11.7 kB
ConstantUtils.hs 5.4 kB
Constants.hs 990 Bytes
Daemon.hs 15.6 kB
Errors.hs 6.4 kB
Hash.hs 1.8 kB
HsConstants.hs 108.4 kB
JQueue.hs 10.7 kB
JSON.hs 10.3 kB
Jobs.hs 3.3 kB
Logging.hs 4.6 kB
Luxi.hs 16.1 kB
Network.hs 3.5 kB
Objects.hs 24.3 kB
OpCodes.hs 27.1 kB
OpParams.hs 45.5 kB
Parsers.hs 1.7 kB
Path.hs 3.4 kB
PyConstants.hs.in 945 Bytes
PyValueInstances.hs 2.4 kB
Rpc.hs 18 kB
Runtime.hs 7.1 kB
Ssconf.hs 5 kB
THH.hs 46.9 kB
Types.hs 27.2 kB
Utils.hs 17.8 kB
Version.hs.in 246 Bytes

Latest revisions

# Date Author Comment
5badb3e7 11/08/2013 06:59 pm Klaus Aehlig

Add utility function tryAndLogIOError

This function allows to use 'IO a' objects in a safe
way, using the 'try' function; the outcome is reported
as a 'Result'. IOErrors are logged and the result is
'Bad', while in the case of no errors, a result-yielding...

710f5ae2 11/08/2013 06:59 pm Klaus Aehlig

Provide utility to atomically write a file

To keep our on-file data consistent at any moment, we change
file contents by atomically replacing the file with a new one.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Michele Tartara <>

dfcebee3 11/05/2013 05:41 pm Klaus Aehlig

Fix getNodeRole

In the configuration, the master node is now given
by its uuid. Therefore, compare the uuid and not the
name to find out if a given node is the master.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Michele Tartara <>

cba1fce1 11/05/2013 03:31 pm Klaus Aehlig

Merge branch 'stable-2.10' into master

  • stable-2.10
    Fix documentation
    Replace all constant definitions with re-exports
    Prepare constants for automatic reexport
    Hs2Py constants: 'hvsParameterTypes' and 'hvsParameters'
    Fix indentation that triggers PEP8 error...
4c5cb91e 11/04/2013 01:39 pm Jose A. Lopes

Fix documentation

Fix documentation in constants containing values in seconds.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Michele Tartara <>

4dddf578 11/04/2013 01:39 pm Jose A. Lopes

Hs2Py constants: 'hvsParameterTypes' and 'hvsParameters'

Add constants 'hvsParameters' and 'hvsParameterTypes' to the Haskell
to Python constant generation.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Michele Tartara <>

c407510c 10/31/2013 06:00 pm Klaus Aehlig

hsqueeze: support planing for onlining nodes

If the amount of free resources falls below a given threshold,
hsqueeze will suggest putting standby nodes back online until
the minimum of free resources is reached, or all standby nodes
are online.

Signed-off-by: Klaus Aehlig <>...

9c53f891 10/31/2013 06:00 pm Klaus Aehlig

Add an --minimal-resources option

Add a new option, to be used by hsqueeze, to specify
the amount of free resources that has to be on each
node, in order not to start onlining standby nodes.
It is given as a multiple of the standard allocation,
as specified by the instance policy....

b679628f 10/31/2013 05:59 pm Klaus Aehlig

Text Backend: correctly read data for offline nodes

With standby nodes, simply ignoring the specification of
an offline node is not sufficient any more.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Helga Velroyen <>

7839bb67 10/31/2013 05:59 pm Klaus Aehlig

Change default for target resource to 2.0

The target resources, as used by hsqueeze, are supposed to
be strictly higher than the minimal resources. However,
keeping minimal resources of less than a single instance
is not a useful reserve.

Signed-off-by: Klaus Aehlig <>...

View revisions

Also available in: Atom