Skip to content
Snippets Groups Projects
  1. Sep 03, 2012
  2. Aug 28, 2012
    • Iustin Pop's avatar
      Switch Haskell test harness to test-framework · 95f6c931
      Iustin Pop authored
      This patch replaces our home-grown, and quite limited, test runner
      infrastructure with test-framework
      (http://batterseapower.github.com/test-framework/
      
      ). The rationale for
      doing so is as follows:
      
      - we will need to add support for HUnit tests, so either we add more
        custom code or we switch to an existing library
      - test-framework is mature and already packaged, at least in
        Debian/Ubuntu
      - it supports more features: parallel test running, better test
        selection, etc.
      
      As you can see, the changes are trivial, and don't touch the tests at
      all; if/when we split the QC.hs file into per-module files, then we
      could drop QCHelper too, and replace it with test-framework-th, which
      does the same, but even more automated (auto-discovery, without having
      to list the tests at all).
      
      Dependencies are updated in devnotes.rst; note that I've already added
      the hunit dependencies since we're going to use that soon.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarAgata Murawska <agatamurawska@google.com>
      95f6c931
  3. Aug 23, 2012
    • Iustin Pop's avatar
      Bump pep8 version to 1.2 · 5ae4945a
      Iustin Pop authored
      
      Debian Wheezy will ship with this version, and it has many improved checks compared to 0.6, so let's:
      
      - bump version in the docs
      - silence some new checks that are wrong due to our indent=2 instead of 4
      - fix lots of errors in the code where the indentation was wrong by 1
        or 2 spaces
      - fix a few cases of == True, False, None and replace with 'is'
      - re-indent some cases where the code is OK, but pep8 complains
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      5ae4945a
  4. Aug 14, 2012
  5. Jul 27, 2012
  6. Jul 25, 2012
  7. Jul 19, 2012
  8. Jul 06, 2012
  9. Jun 20, 2012
  10. Jun 19, 2012
    • Guido Trotter's avatar
      Allow single-homed <-> multi-homed transitions · 79829d23
      Guido Trotter authored
      
      To change the cluster from single homed to multi homed or vice versa one
      must target the master node first, and pass the --force option. All
      other nodes then will work as long as they are reachable by the master.
      
      Note that this will also prevent a node to be set to single-homed if the
      master is multi-homed, which wasn't disallowed before, and warn if a
      single-homed <-> multi-homed transition happens.
      
      Also note that it's still theoretically possible to flip a cluster
      inadvertently by changing the master node this way, and then doing a
      master failover before fixing the other nodes.
      
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      79829d23
  11. Jun 18, 2012
  12. May 31, 2012
  13. May 30, 2012
  14. May 24, 2012
  15. May 23, 2012
  16. May 09, 2012
  17. May 07, 2012
  18. Apr 26, 2012
  19. Mar 28, 2012
    • 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>
      8e2ed2e8
    • 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>
      2ac41278
  20. Mar 27, 2012
  21. Mar 26, 2012
  22. Mar 15, 2012
  23. Feb 27, 2012
  24. Feb 21, 2012
  25. Feb 10, 2012
  26. Jan 27, 2012
  27. Jan 26, 2012
  28. Jan 18, 2012
  29. Jan 16, 2012
  30. Jan 04, 2012
  31. Dec 22, 2011
Loading