- Apr 14, 2010
-
-
Iustin Pop authored
* master: Fix iallocator crash when no solutions exist Fix IAllocator multi-evacuate message
-
- Mar 31, 2010
-
-
Iustin Pop authored
Commit 54365762 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 `head' call during parsing of input data. (cherry picked from commit e41f4ba0)
-
Iustin Pop authored
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.
-
- Mar 09, 2010
-
-
Iustin Pop authored
Commit 54365762 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 `head' call during parsing of input data.
-
- Feb 26, 2010
-
-
Iustin Pop authored
For some versions of haddock, this can create problems.
-
- Feb 25, 2010
-
-
Iustin Pop authored
This removes some manual checks from a few places in the code with a single list defined once.
-
Iustin Pop authored
-
Iustin Pop authored
-
Iustin Pop authored
GHC 6.12 has some new warnings, which are valid in most cases except (IMHO) printf usage.
-
Iustin Pop authored
GHC 6.12 has become more picky about unused imports, so we need to remove/tighten some of them.
-
- Feb 24, 2010
-
-
Iustin Pop authored
… via a GHC make variable.
-
- Feb 23, 2010
-
-
Iustin Pop authored
This allows hscan to work also with NO_CURL (but only for the local machine, of course).
-
Iustin Pop authored
-
Iustin Pop authored
-
Iustin Pop authored
Instead of deciding based on secondary node, use the new flag.
-
Iustin Pop authored
This updates the movable flag on instances if they have only one node (we don't rely on OpMoveInstance) or if they are set so via the command line options. This doesn't yet enable the use of the new flag.
-
Iustin Pop authored
This will be used instead of checking for no secondary and for simplifying 'do not touch' instances.
-
Iustin Pop authored
-
- Feb 22, 2010
-
-
Iustin Pop authored
-
Iustin Pop authored
This adds a short note for the new iallocator mode. Signed-off-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
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 <iustin@google.com>
-
Iustin Pop authored
This will be used by the node evacuate IAllocator request type. Signed-off-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
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 <iustin@google.com>
-
Iustin Pop authored
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 <iustin@google.com>
-
Iustin Pop authored
Since not all structures will have these keys in the future, we move them into per-structure keys. Signed-off-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
This mode restricts the list of instances to be moved to the instances living on the offline (and drained) nodes. Signed-off-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
This should be no code change, just reordering of the options. Signed-off-by:
Iustin Pop <iustin@google.com>
-
- Feb 04, 2010
-
-
Iustin Pop authored
-
Iustin Pop authored
-
- Feb 03, 2010
-
-
Iustin Pop authored
In case a secondary node is already N+1 failed, currently the node selection will accept a node that cannot start (at all) the new instance as valid. This is wrong, so we add a new simple check to prevent the case of instance's memory size being higher than the node's free (not available, which might be lower than 0 for N+1 failures) memory. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
This will make it clearer than many if…then choices.
-
- Jan 14, 2010
-
-
Iustin Pop authored
Currently we test each instance for relocation in checkMove; however, it is a little more clear if we pass only the relocatable instances to checkMove. The patch also slightly rewrites (indendation/style) the second half of the checkMove function.
-
Iustin Pop authored
Currently in the balancing function we do two thing: - take the decision where to do a new balancing round or not - and actually computing the balancing round This is not nice, as the two parts are conceptually separate, so this patch splits the decision on whether to descend or not to a new function.
-
Iustin Pop authored
-
Iustin Pop authored
It seems that set -e does not affect subshell (only simple commands), and thus we don't actually get failures from make check being run in a subshell. Rather than trying to handle this better, we remove the subshell and invoke make with the required subdirectory.
-
- Jan 12, 2010
-
-
René Nussbaumer authored
Signed-off-by:
René Nussbaumer <rn@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com> Signed-off-by:
Iustin Pop <iustin@google.com>
-
- Jan 07, 2010
-
-
Iustin Pop authored
-
Iustin Pop authored
This also updates its manpage, some information were really old.
-