- Jul 13, 2011
-
-
Iustin Pop authored
First, auto-generated files were not processed if HsColour thus the 'source' link in Haddock documentation was dangling. Second, we document the original Python constant name in the Ganeti.Constants source, so that it's easily retrievable (as opposed to undoing the name transformation). Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
Oops, this shouldn't have gone in in the first place… Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
Especially for Ganeti.Constants, which has many declarations, it doesn't make sense to check for coverage. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Jul 11, 2011
-
-
Iustin Pop authored
This reverts commits 030a9cb8 and ae082df0. There are two problems: - Makefile.am breakage, which is trivial to revert - unittest breakage, which honestly I'm not sure how to fix and how serial consoles interact with the unpause helper After the reset, the startup --paused still works but won't unpause the instance automatically (if I understood the code correctly). Furthermore, the code also fixes a style issue in hv_kvm.py (too long line) introduced by the next commit after the above two. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Jul 08, 2011
-
-
Stephen Shirley authored
The wrapper will connect to the console, and check in the background if the instance is paused, unpausing it as necessary. Signed-off-by:
Stephen Shirley <diamond@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Stephen Shirley authored
The wrapper will connect to the console, and check in the background if the instance is paused, unpausing it as necessary. Signed-off-by:
Stephen Shirley <diamond@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Jun 28, 2011
-
-
Iustin Pop authored
Just saw this while testing the migration to QuickCheck v2: while configure.ac detects that QuickCheck-2.x is not available, the test in Makefile.am was against WANT_HTOOLS (overall htools compilation), not on a more-specific WANT_HTOOLSTESTS. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Jun 17, 2011
-
-
Apollon Oikonomopoulos authored
This design covers high level network block definition and pool management. Signed-off-by:
Apollon Oikonomopoulos <apollon@noc.grnet.gr> Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Jun 10, 2011
-
-
Michael Hanselmann authored
iallocator.rst contains the Ganeti version at the top. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- May 28, 2011
-
-
Tsachy Shacham authored
Signed-off-by:
Tsachy Shacham <tsachy@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- May 25, 2011
-
-
Iustin Pop authored
It seems that abs_top_srcdir is not a good option, so I tested again with just using the same as in doc/examples/bash_completion. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
- May 24, 2011
-
-
Iustin Pop authored
Sorry, I already had PYTHONPATH exported in my env, and as I said I wasn't able to test this on buildbot. 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>
-
René Nussbaumer authored
Signed-off-by:
René Nussbaumer <rn@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Apr 13, 2011
-
-
Michael Hanselmann authored
README is not copied to the build tree. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Apr 12, 2011
-
-
Iustin Pop authored
I duplicate the BINARY= rule in the ghc invocation in order to be able to silence the if, which was confusing. Additionally, a new target for running just the htools unit-tests is provided. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Apr 08, 2011
-
-
Michael Hanselmann authored
Also add a check to Makefile's check-local target. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Apr 07, 2011
-
-
Iustin Pop authored
First, fix hs-coverage on non-pristine tree, where the index.html file already existed, and second, disallow compilation of htools binaries if configure, for some reason, didn't enable them. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
- Mar 31, 2011
-
-
Iustin Pop authored
This exports whether htools was enabled at configure-time, and adds a constant for our reference iallocator. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Mar 30, 2011
-
-
Iustin Pop authored
Expands the devnotes.rst doc and adds warnings in the Makefile. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Mar 28, 2011
-
-
Adeodato Simo authored
Signed-off-by:
Adeodato Simo <dato@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Mar 24, 2011
-
-
René Nussbaumer authored
Signed-off-by:
René Nussbaumer <rn@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
René Nussbaumer authored
I provided unittest to test the important pieces of the infrastructure. The one remaining function (ResuriveEnsure) is not easy to unittest but also not critical if it fails to operate correctly. Signed-off-by:
René Nussbaumer <rn@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Mar 23, 2011
-
-
Iustin Pop authored
This allows Apache to display the directory in a nicer way. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
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>
-
Michael Hanselmann authored
This patch adds a design document describing how jobs can be submitted from within LUs. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Iustin Pop authored
Based on Michael's suggestion, this patch partially reverts my changes. The new directories are: - doc/api/py - doc/api/hs - doc/coverage/py - doc/coverage/hs Basically the Python-specific output moves one level down (into py/) compared to the original location, and the Haskell stuff goes into hs/. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
This should be more readable now. I wanted to even use the nicer _SOURCES, but _SOURCES is special in Automake (again), so _SRCS it is. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Mar 22, 2011
-
-
Iustin Pop authored
Since we do have errors currently, this is not enabled from the main 'make lint' rule. That will get cleaned up later. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
This was a bit tricky, as the compilation from the top-dir changes the paths in the .tix/.mix files. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
Previously, Python api doc was under doc/api (which didn't match with the target rule, apidoc). After this patch, we have the following: - make py-apidoc generates Python api doc under doc/py-apidoc - make hs-apidoc generates Haskell api doc under doc/hs-apidoc - make apidoc does both (if hs-apidoc enabled at configure time) Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
Since we have two sets of coverage data, we make the naming consistent: - doc/py-coverage for Python coverage - doc/hs-coverage for Haskell coverage We also need to exclude some more dirs from the list of checked directories. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
We do it via per-target-binary .o/.hi files. There are a few other options, in the end this was chosen as different binaries can have different options/components (e.g. hail won't use RAPI, etc.) and that the unittests need different compilation options. We add a wildcard *.o/*.hi to CLEANFILES, so that it removes all per-target build artifacts. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
RAPI needs the curl module, which is a binding to the libcurl C library. This is more complex (can be compiled either against gnutls or openssl, etc.) and it's not of much help when the tools are used on the cluster itself, we disable it by default. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
Instead of bindir. We do this by adding a new allocdir variable, and redirecting hail to it. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
This patch adds some (not very nice) rules for htools compilation. Since automake only knows about some languages, and doesn't have a real extension mechanism, I cheat and declare them as "buildable scripts", instead of programs. Rationale: automake support for dir_PROGRAMS is limited to a few languages; in all cases, it assumes that translation from sources to binaries occurs in two steps, compilation and linking; it's not easy to change its assumption. In our case, where “ghc --make” does both steps, it's hard to force it into the automake model. 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>
-