Skip to content
Snippets Groups Projects
  1. Nov 16, 2012
  2. Nov 13, 2012
  3. Oct 26, 2012
  4. Oct 22, 2012
  5. Oct 18, 2012
  6. Oct 12, 2012
  7. Oct 10, 2012
    • Iustin Pop's avatar
      Improve Haskell configure options and detection · 21a5e56c
      Iustin Pop authored
      
      This patch cleans up  the Haskell library detection and defaults.
      
      First, it makes the base compiler/libraries required, per the email discussion.
      
      It then adds two new small autoconf macros, on to check for a required
      Haskell library and one to do custom action based on test results. We
      use these macros to cleanup and simplify a bit the module detection:
      
      - rapi, confd, and split query are auto detected and enabled if _all_
        required libraries are present
      - unittests are enabled if _all_ required libraries are present
      
      The patch also updates the documentation regarding required libraries.
      
      After this patch, base Ganeti fully buildable on Debian Squeeze/Ubuntu
      Lucid.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      21a5e56c
  8. Oct 09, 2012
    • Iustin Pop's avatar
      Try to auto-enable htools-rapi and split query · 55837756
      Iustin Pop authored
      
      We try to automatically enable the htools-rapi and split query (if
      confd and htools-rapi are enabled) options. This is our intended
      default configuration, and allows easier test of the new code
      path. Further cleanups for checking whether confd can be enabled will
      come later.
      
      The move block is due to the fact that we first have to check for
      htools-rapi, and only then we can auto-enable the feature.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      55837756
  9. Oct 02, 2012
  10. Sep 28, 2012
  11. Sep 18, 2012
  12. Aug 28, 2012
  13. Jul 27, 2012
  14. Jul 24, 2012
  15. Jul 19, 2012
  16. Jul 13, 2012
  17. Jul 03, 2012
  18. Jun 25, 2012
  19. Jun 19, 2012
  20. Jun 12, 2012
  21. Jun 11, 2012
    • Iustin Pop's avatar
      Enable hlint in lint and reorganise this target · 6e4c8f68
      Iustin Pop authored
      
      Currently, the lint target does a sequential: pep8, pylint, pylint on
      the QA sources. hlint is run only when explicitly requested.
      
      This patch reorganises the lint target by:
      
      - splitting the current lint target into separate pylint (slow),
        pylint-qa (fast), pep8 (fast) targets
      - making lint itself depend on the above plus hlint
      - both pep8 and hlint are optional, based on whether the said binaries
        were detected at configure time
      
      make -j is slightly faster after this patch (1m18s → 1m7s).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      6e4c8f68
  22. Jun 01, 2012
  23. May 31, 2012
  24. May 23, 2012
  25. May 11, 2012
  26. Apr 11, 2012
  27. Mar 27, 2012
  28. Mar 23, 2012
    • Iustin Pop's avatar
      Enable selection between Python and Haskell confd · 73b0fa69
      Iustin Pop authored
      
      This patch changes configure.ac Makefile.am so that the user can pass:
      
      - --disable-confd (or --enable-confd=no) to disable it completely
      - --enable-confd=yes or --enable-confd=python to select the
        traditional implementation (this is the default setting)
      - --enable-confd=haskell to select hconfd
      
      The only "not nice" thing is that I've chosen to keep the
      hconfd.hs/hconfd name, and we rename it after install via an
      install-exec-hook. The other choice is possible too (to rename the
      source file/binary).
      
      One additional note is that if we select haskell, the _rule_ for
      creating daemons/ganeti-confd dissapears; whereas if we select python,
      the rule for htools/hconfd still exists (one can build it explicitly),
      it just is not installed. This is due to the different way in which
      the rules are declared.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      73b0fa69
    • Iustin Pop's avatar
      Fix qemu-img configure.ac check · acf70442
      Iustin Pop authored
      
      By accident, commit a002ed79 introduced the qemu-img checks in the
      htools block. I found this also by mistake while investigating
      another issue :)
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      acf70442
  29. Mar 22, 2012
  30. Mar 21, 2012
  31. Jan 19, 2012
  32. Jan 09, 2012
  33. Dec 22, 2011
  34. Dec 06, 2011
    • Andrea Spadaccini's avatar
      Add DRBD barriers disk parameters · 8a69b3a8
      Andrea Spadaccini authored
      
      Add the disk-barriers and meta-barriers parameters described in the
      design doc.
      
      constants.py:
      * add the needed LD and DT-level parameters, use the defaults provided
        at ./configure time;
      * add constants representing which barriers should be disabled and the
        set of valid options.
      
      lib/bdev.py:
      * factor the barriers handling code to a class method, for testing
        purposes;
      * implement the more granular version checking logic;
      * use the LD level parameters;
      * add stricter check on DRBD version (8.0, 8.2 or 8.3), as we do not
        support 8.4 yet.
      
      lib/cmdlib.py:
      * translate DT level parameters to LD level ones.
      
      configure.ac, Makefile.am:
      * set both disk and meta barriers parameters depending on the value of
        --enable-drbd-barriers.
      
      test/ganeti.bdev_unittest.py:
      * unit tests for the code that sets DRBD barrier parameters depending on
        the version.
      
      doc/design-resource-model.rst:
      * reword the description of meta-barriers;
      * change all disk parameters names to use dashes instead of underscores.
      
      Signed-off-by: default avatarAndrea Spadaccini <spadaccio@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      8a69b3a8
  35. Dec 02, 2011
  36. Nov 17, 2011
  37. Oct 27, 2011
Loading