Skip to content
Snippets Groups Projects
  1. Feb 23, 2010
  2. Feb 22, 2010
  3. Feb 04, 2010
  4. Feb 03, 2010
  5. Jan 14, 2010
    • Iustin Pop's avatar
      Move instance relocation test upper in the chain · a804261a
      Iustin Pop authored
      Currently we test each instance for relocation in checkMove; however, it
      is a little more clear if we pass only the relocatable instances to
      checkMove. The patch also slightly rewrites (indendation/style) the
      second half of the checkMove function.
      a804261a
    • Iustin Pop's avatar
      Split the balancing function in two parts · 5ad86777
      Iustin Pop authored
      Currently in the balancing function we do two thing:
      
      - take the decision where to do a new balancing round or not
      - and actually computing the balancing round
      
      This is not nice, as the two parts are conceptually separate, so this
      patch splits the decision on whether to descend or not to a new
      function.
      5ad86777
    • Iustin Pop's avatar
      Small update to the Makefile · 210ed839
      Iustin Pop authored
      210ed839
    • Iustin Pop's avatar
      Makefile: Switch from subshell to $(MAKE) -C · 0d478754
      Iustin Pop authored
      It seems that set -e does not affect subshell (only simple commands),
      and thus we don't actually get failures from make check being run in a
      subshell. Rather than trying to handle this better, we remove the
      subshell and invoke make with the required subdirectory.
      0d478754
  6. Jan 12, 2010
  7. Jan 07, 2010
  8. Dec 29, 2009
  9. Dec 28, 2009
    • Iustin Pop's avatar
      Improve the dist build rule · 0d0503b2
      Iustin Pop authored
      This changes the 'dist' rule to also do a check that the archive can
      build all the programs and passes the check test itself, and shows the
      sha1sum at the end automatically.
      0d0503b2
    • Iustin Pop's avatar
      Remove Version.hs during clean too · 1901266d
      Iustin Pop authored
      Ganeti/HTools/Version.hs is generated at build time from version (which
      is the only one shipped), so it must be removed by the clean rule.
      1901266d
    • Iustin Pop's avatar
      Fix small typo · 0ccaab44
      Iustin Pop authored
      This was found, of all things, via lintian during the Debian packaging…
      0ccaab44
  10. Dec 11, 2009
    • Iustin Pop's avatar
      Convert n1_score metric from % to count · 0c860cff
      Iustin Pop authored
      This increases the priority of fixing N+1 failures compared to balancing
      metrics.
      0c860cff
    • Iustin Pop's avatar
      Merge branch 'master' into next · 8ce618f3
      Iustin Pop authored
      * master:
        Use the oper_ram field if available
        rapi, luxi: treat drained nodes as offline
      8ce618f3
    • Iustin Pop's avatar
      Metric: count of primary instances/offline nodes · 673f0f00
      Iustin Pop authored
      This helps with evacuation/failover of instances on 2-node clusters with
      one one offline.
      673f0f00
    • Iustin Pop's avatar
      Offline instance metric: change from % to count · e4d31268
      Iustin Pop authored
      Currently we use the offline instance percentage (with range [0, 1]),
      but this is not good, since we want the evacuation of such instances to
      have a high priority; therefore we change this to a count of offline
      instances, which has higher weight than a metric with range [0, 1].
      e4d31268
    • Iustin Pop's avatar
      Use the oper_ram field if available · 6402a260
      Iustin Pop authored
      For the RAPI and LUXI backends, we can get the actual memory usage (if
      instances are running) via the oper_ram, whereas backend/memory only
      tell what the instance will use at the next boot.
      
      Not using oper_ram means that the node model is flawed and we consider
      wrong values for the instance's memory (resulting sometimes in hilarious
      values such as x_mem = -700 MB).
      6402a260
Loading