Statistics
| Branch: | Tag: | Revision:

root / Ganeti / HTools @ a070c426

Name Size
CLI.hs 13.9 kB
Cluster.hs 33.5 kB
Container.hs 2.8 kB
ExtLoader.hs 4.6 kB
IAlloc.hs 6.4 kB
Instance.hs 6.1 kB
Loader.hs 8.3 kB
Luxi.hs 5.6 kB
Node.hs 18.4 kB
PeerMap.hs 2.8 kB
QC.hs 25.7 kB
Rapi.hs 4.9 kB
Simu.hs 2.2 kB
Text.hs 5.1 kB
Types.hs 5.9 kB
Utils.hs 6.3 kB
Version.hs.in 201 Bytes

Latest revisions

# Date Author Comment
a070c426 08/25/2010 06:53 pm Iustin Pop

Switch unittest to custom hostnames

Currently, the hostnames are almost fully arbitrary chars, which breaks
the assumption that nodes/instances will be normal DNS hostnames.

This patch adds some custom generators for these hostnames, that will
allow better testing of text loader serialization/deserialization.

3bf75b7d 08/24/2010 07:30 pm Iustin Pop

Move text serialization functions to Text.hs

Currently these are in hscan, and cannot be reused easily.

0ca66853 07/27/2010 09:44 pm Iustin Pop

hail: fix error message for failed multi-evac

Currently we show the instance index, but this makes no sense outside
the current running program. Instead, we show the instance name.

b8262965 07/22/2010 04:57 pm Iustin Pop

Fix another haddock issue

691dcd2a 07/22/2010 06:03 am Iustin Pop

Remove an obsolete function and add Utils tests

223dbe53 07/22/2010 01:42 am Iustin Pop

Add some more imports to QC.hs

This is needed so that in the coverage report we list all modules, even
the ones we don't test at all, such that we get the complete results.

c3c7a0c1 07/22/2010 01:42 am Iustin Pop

Change the meaning of the N+1 fail metric

Currently, this metric tracks the nodes failing the N+1 check. While
this helps (in some cases) to evacuate such nodes, it's not a good
metric since rarely it will change during a step (only at the last
instance moving away). Therefore we replace it with the count of...

8a3b30ca 07/22/2010 01:42 am Iustin Pop

Introduce per-metric weights

Currently all metrics have the same weight (we just sum them together).
However, for the hard constraints (N+1 failures, offline nodes, etc.)
we should handle the metrics differently based on their meaning. For
example, an instance living on a primary offline node is worse than an...

2cae47e9 07/22/2010 01:42 am Iustin Pop

Allow balancing moves to introduce N+1 errors

This patch switches the applyMove function to the extended versions of
Node.addPri and addSec, and passes the override flag based on the state
of the node that we're moving away from.

3e3c9393 07/22/2010 01:42 am Iustin Pop

Introduce a relaxed add instance mode

In case an instance is living on an offline node, it doesn't make sense
to refuse moving it because that would create N+1 failures; failing N+1
is still much better than not running at all. Similarly, if the
secondary node of an instance is offline, meaning the instance doesn't...

View revisions

Also available in: Atom