- May 24, 2011
-
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
With the merge of the repositories, we can now auto-generate the code for Haskell constants from the Python code. Currently this only handles the basic types (strings and integers). Handling containers such as lists and dictionaries is only possible if we would use a parser such that we recognise the element names. We could extend the convert-constants script if that becomes necessary, right now I'm looking at just the simple constants such as Iallocator modes, instance states, etc. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Apr 18, 2011
-
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Apr 14, 2011
-
-
Iustin Pop authored
It tests node add/remove secondary, rather than cluster-level N+1 checks, but it's better than nothing. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Adeodato Simo <dato@google.com>
-
Iustin Pop authored
This patch changes the add to secondary/remove from secondary code to not deduct/add the instance's memory if the instance is not auto_balanced. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Adeodato Simo <dato@google.com>
-
Iustin Pop authored
This also means _another_ change in the text format; we really should move to json… The unittests are also update for the new 9-column layout and additionally a bit of improvement is done. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Adeodato Simo <dato@google.com>
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Adeodato Simo <dato@google.com>
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Adeodato Simo <dato@google.com>
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Adeodato Simo <dato@google.com>
-
- Apr 12, 2011
-
-
Iustin Pop authored
This will mirror Ganeti's be/auto_balance one, which we need to use to properly match N+1 computations. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Apr 07, 2011
-
-
René Nussbaumer authored
This patch just cleans up the htools codebase to make it more consistent with the naming of the Ganeti codebase. Signed-off-by:
René Nussbaumer <rn@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
And default to False, like in the Python codebase. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
Iustin Pop authored
This allows extracting values from a JSON object that might miss, but have a well-defined default value. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
- Apr 06, 2011
-
-
René Nussbaumer authored
Before hbal decided on the fly if an instance is migratable or not. As we implemented failover fallback in commit d5cafd31 we can start to use that. Signed-off-by:
René Nussbaumer <rn@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Mar 23, 2011
-
-
Iustin Pop authored
OK, my previous small fix was not good. There is another issue: haddoc (the documentation generator) needs to pass the same compiler options (i.e. in our case, -DNO_CURL) to ghc. But in case of no curl, then it shouldn't scan at all the RAPI library, as that is not used in our builds. Clearly, this is not a nice thing. So this patch changes from including/excluding RAPI conditionally (in two places, the ExtLoader.hs module and in hscan.hs), to always include RAPI, and moves the curl/no curl login to RAPI itself, where it belongs. Together with passing --optghc to haddock, this makes the builds consistent both with and without RAPI. I also undo the removal of RAPI from QC.hs. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
hlint gives more suggestions, but some make the code (IMHO) harder to read. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
These are just changes from hlint suggestions. Still compiles and passes unittests. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
Since we don't test for now the RAPI backend directly, we can simply skip the import. Later we can make a conditional import if needed. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
Also add mention about it being obsolete. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Mar 22, 2011
-
-
Iustin Pop authored
Only one target wasn't ported over (the TAGS one), as hasktags is not available easily in distributions, so it doesn't make sense to enable it for all developers. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Mar 18, 2011
-
-
Iustin Pop authored
I didn't know where to put in the TOC, so I added it after the ganeti 2.3 design doc. Also, it seems that Sphinx is a bit limited in its list nesting (compared to Pandoc), so I had to rework a bit the indentation (it still doesn't generate good output, but…). Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
This moves the man pages to their right place, removes the static footer and header, and adds Makefile rules for the new .1 man pages. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Mar 17, 2011
-
-
Iustin Pop authored
This reverts commit 8bc9e04a, not needed anymore. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
In order for “git merge -s recursive -X subtree=htools” to do its magic, an (mostly empty) directory must exist in the target tree name ‘htools’. Hence we add a temp file to it before the merge, and remove it after that. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-