Statistics
| Branch: | Tag: | Revision:

root @ 949397c8

Name Size
  Ganeti
  doc
  man
.gitattributes 21 Bytes
.gitignore 215 Bytes
AUTHORS 31 Bytes
COPYING 17.6 kB
Makefile 3.3 kB
NEWS 16.1 kB
README 4.2 kB
haddock-prologue 360 Bytes
hail.hs 3.6 kB
hbal.hs 15.2 kB
hscan.hs 4.8 kB
hspace.hs 12.5 kB
live-test.sh 4.8 kB
test.hs 2.6 kB

Latest revisions

# Date Author Comment
949397c8 12/23/2010 11:16 am Iustin Pop

Move some tiered spec functionality to Cluster.hs

This splits out a bit of code from hspace.hs and moves it into its own
function in Cluster.hs.

Signed-off-by: Iustin Pop <>
Reviewed-by: Balazs Lecz <>

afcd5a0b 12/20/2010 02:23 pm Iustin Pop

Text.hs: also read cluster tags from the data file

This means that a file with the correct information is as accurate as
the other backends (Luxi, Rapi). Serialization of tags is in the next
patch.

Signed-off-by: Iustin Pop <>
Reviewed-by: Balazs Lecz <>

716c6be5 12/20/2010 02:23 pm Iustin Pop

Text.hs: serialize cluster tags when writing data

This is the complement to the reading part. Now the live-test works
correctly against clusters with configured exclusion tags.

Signed-off-by: Iustin Pop <>
Reviewed-by: Balazs Lecz <>

1a3cc8ad 12/20/2010 02:23 pm Iustin Pop

live-test: support multi-group clusters

Since currently hbal can only work on single groups at a time, we need
to be able to specify the target group when running the live test.

Signed-off-by: Iustin Pop <>
Reviewed-by: Balazs Lecz <>

b2ba4669 12/20/2010 02:23 pm Iustin Pop

Implement a JSON instance for AllocPolicy

This will allow reading this attribute via the Rapi/Luxi backends.

Signed-off-by: Iustin Pop <>
Reviewed-by: Balazs Lecz <>

2ddabf4f 12/20/2010 02:23 pm Iustin Pop

Rapi: read the allocation policy from the cluster

Signed-off-by: Iustin Pop <>
Reviewed-by: Balazs Lecz <>

c4c37257 12/20/2010 02:23 pm Iustin Pop

Luxi: read the allocation policy from the cluster

Signed-off-by: Iustin Pop <>
Reviewed-by: Balazs Lecz <>

f4c7d37a 12/20/2010 02:23 pm Iustin Pop

Text: read/write the allocation policy

Signed-off-by: Iustin Pop <>
Reviewed-by: Balazs Lecz <>

01fec0a1 12/20/2010 02:23 pm Iustin Pop

hail: allow overriding cluster data from requests

Currently, it's not easy to generate “fake” IAllocator request files
for hail. As such, testing on simulated clusters is hard to do.

To workaround this, we change hail to also take the ‘-t’ and
‘--simulate’ options, so that we can override the cluster data read...

73206d0a 12/20/2010 02:23 pm Iustin Pop

IAllocator: respect the alloc_policy for groups

This patch changes the allocate mode to respect the alloc_policy for
groups. It does this by changing the sort key from simply the solution
score, to a tuple with two elements: the alloc policy (which is now an...

View all revisions | View revisions

Also available in: Atom