1. 20 Jun, 2012 1 commit
  2. 18 Jun, 2012 1 commit
  3. 31 May, 2012 1 commit
  4. 30 May, 2012 1 commit
  5. 24 May, 2012 1 commit
  6. 23 May, 2012 1 commit
  7. 09 May, 2012 3 commits
  8. 07 May, 2012 1 commit
  9. 26 Apr, 2012 1 commit
  10. 28 Mar, 2012 2 commits
    • Michael Hanselmann's avatar
      ganeti.initd: Add “status” action · 8e2ed2e8
      Michael Hanselmann authored
      Eric Rostetter sent a patch adding a “status” action, but unfortunately
      his code was apparently specific to Red Hat. I hope this implementation
      is more distribution-agnostic; after all “status_of_proc” is part of
      LSB. Example output:
      $ /etc/init.d/ganeti status
      ganeti-noded is not running ... failed!
      ganeti-masterd is running.
      ganeti-rapi is running.
      ganeti-confd is running.
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
    • Dimitris Aragiorgis's avatar
      Update IP pool management design doc · 2ac41278
      Dimitris Aragiorgis authored
      Update IP pool managenent design doc to be consistent
      with the implementation.
       * Add new NIC parameter: 'network'
         Can be None for backwards compatibility.
       * Introduce the term 'netparams'
         The NIC inherits netparams (mode, link) as its nicparams
         if assinged to a network. Netparams are defined during
         network connection to a nodegroup.
       * Introduce the term 'Conflicting IPs'
         Ensure IPs uniqueness inside nodegroups.
       * Update 'Hooks' section.
       * Update 'Hook variables' section
       * Update 'Userland interface' to reflect the implementation
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
  11. 27 Mar, 2012 4 commits
  12. 26 Mar, 2012 1 commit
  13. 15 Mar, 2012 2 commits
  14. 27 Feb, 2012 1 commit
  15. 21 Feb, 2012 1 commit
  16. 10 Feb, 2012 1 commit
  17. 27 Jan, 2012 2 commits
  18. 26 Jan, 2012 2 commits
  19. 18 Jan, 2012 1 commit
  20. 16 Jan, 2012 1 commit
  21. 04 Jan, 2012 1 commit
  22. 22 Dec, 2011 1 commit
  23. 12 Dec, 2011 1 commit
  24. 09 Dec, 2011 1 commit
  25. 08 Dec, 2011 2 commits
    • Bernardo Dal Seno's avatar
      manpages: Fix small errors in documentation · 1cdc9dbb
      Bernardo Dal Seno authored
      Mostly typos, except for the output of "gnt-instance migrate" in an
      example, which has been updated to the current version
      Signed-off-by: default avatarBernardo Dal Seno <bdalseno@google.com>
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
    • Iustin Pop's avatar
      Cleanup hlint errors · 3603605a
      Iustin Pop authored
      First, we update the recommended hlint version to what I used to get a
      clean output (1.8.15). Most of the changes are:
      - remove unneeded parentheses
      - some simplifications (intercalate " " → unwords, maybe … id →
        fromMaybe, etc.)
      - removal of some duplicate code (in previous patches)
      There are still some warnings which I didn't clean out but plain
      - 'Eta reduce' in some specific files, because the type inference
        specialises the function on the first call, and annotating the type
        properly would be too verbose
      - use of 'first', 'comparing', and 'on', since these don't seem to be
        widely or consistently used (outside ganeti/htools, I mean)
      - use of Control.Exception.catch, as we only care about I/O errors; at
        one point yes, we will need to transition to this new API
      - 'Reduce duplication', since hlint warns even for 3 duplicate lines,
        and abstracting that away seems overkill to me
      After this patch, make hlint is clean and doesn't exit with an error
      anymore; we could enable it automatically on 'make lint' if hlint is
      detected (future patch).
      Note that we explicitly skip the THH.hs file from checking because it
      seems that hlint doesn't parse correctly for now the splice notation.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarAgata Murawska <agatamurawska@google.com>
  26. 07 Dec, 2011 1 commit
  27. 06 Dec, 2011 2 commits
    • 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.
      * 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.
      * factor the barriers handling code to a class method, for testing
      * 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.
      * translate DT level parameters to LD level ones.
      configure.ac, Makefile.am:
      * set both disk and meta barriers parameters depending on the value of
      * unit tests for the code that sets DRBD barrier parameters depending on
        the version.
      * 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>
    • Iustin Pop's avatar
      A few updates to the confd design (2.1) · 530b64e6
      Iustin Pop authored
      While the 2.1 design is old and should be “immutable”, I can't find
      documentation about the confd protocol anywhere else, so let's correct
      the design doc.
      The patch is mostly style changes, plus a clarification on the ‘query’
      field of the request, which varies *a lot* per request type.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
  28. 02 Dec, 2011 1 commit
  29. 21 Nov, 2011 1 commit