| Branch: | Tag: | Revision:

root @ 57587760

Name Size
.gitattributes 21 Bytes
.gitignore 180 Bytes
AUTHORS 31 Bytes
Makefile 2.5 kB
NEWS 11.1 kB
haddock-prologue 360 Bytes
hail.1 2.6 kB
hail.hs 3.7 kB
hbal.1 25.1 kB
hbal.hs 11.7 kB
hscan.1 3.2 kB
hscan.hs 5.1 kB
hscolour.css 195 Bytes
hspace.1 12.4 kB
hspace.hs 12.4 kB 2.6 kB
test.hs 2 kB

Latest revisions

# Date Author Comment
57587760 03/31/2010 12:54 pm Iustin Pop

Fix iallocator crash when no solutions exist

Commit 5436576 added an un-guarded `head' call, which crashes with
“Prelude.head: empty list” when no results exists for the per-instance
allocation/relocation calls.

This patch fixes this, and also adds another check for an unguarded...

934c62dc 03/31/2010 12:51 pm Iustin Pop

Fix IAllocator multi-evacuate message

Since Ganeti passes full host names (not common-suffix-stripped), we
need to remove the suffix from the evac_nodes keys too. In case one node
is not part of the cluster, it will lead to a wrong error message, but
for now it fixes the problem.

12b0511d 02/22/2010 04:19 pm Iustin Pop

Add a tryEvac function

This will be used by the node evacuate IAllocator request type.

Signed-off-by: Iustin Pop <>

54365762 02/22/2010 04:19 pm Iustin Pop

Implement IAllocator node evacuate request

This patch adds the new request loading/execution (trivial), but the
actual response formatting becomes more difficult as now the response
type differs by request.

Signed-off-by: Iustin Pop <>

d06d0636 02/22/2010 04:19 pm Iustin Pop

Update the hail man page

This adds a short note for the new iallocator mode.

Signed-off-by: Iustin Pop <>

7ef4d039 02/22/2010 04:19 pm Iustin Pop

Update NEWS file for the 0.2.4 release

20c891d0 02/22/2010 04:19 pm Iustin Pop

IAllocator: move some keys into per-request data

Since not all structures will have these keys in the future, we move
them into per-structure keys.

Signed-off-by: Iustin Pop <>

23f9ab76 02/22/2010 04:19 pm Iustin Pop

Change an internal type from Maybe to list

In preparation for multiple responses, we change from Maybe to List
(both used in the container sense).

This allows us to keep the same workflow for all kind of requests.

Signed-off-by: Iustin Pop <>

1fe81531 02/22/2010 04:19 pm Iustin Pop

Move a type declaration to Node.hs

We'll need AllocElement in both Cluster and IAlloc in the future, so we
move it to Node.hs which is imported by both.

Signed-off-by: Iustin Pop <>

d1296fd9 02/22/2010 04:19 pm Iustin Pop

Document the evac mode

Signed-off-by: Iustin Pop <>

View all revisions | View revisions

Also available in: Atom