Skip to content
Snippets Groups Projects
  1. Apr 15, 2010
  2. Apr 14, 2010
  3. Mar 31, 2010
    • Iustin Pop's avatar
      Fix iallocator crash when no solutions exist · 57587760
      Iustin Pop authored
      Commit 54365762 added an un-guarded `head' call, which crashes with
      “Prelude.head: empty list” when no results exists for the per-instance
      allocation/relocation calls.
      
      This patch fixes this, and also adds another check for an unguarded
      `head' call during parsing of input data.
      (cherry picked from commit e41f4ba0)
      57587760
    • Iustin Pop's avatar
      Fix IAllocator multi-evacuate message · 934c62dc
      Iustin Pop authored
      Since Ganeti passes full host names (not common-suffix-stripped), we
      need to remove the suffix from the evac_nodes keys too. In case one node
      is not part of the cluster, it will lead to a wrong error message, but
      for now it fixes the problem.
      934c62dc
  4. Mar 09, 2010
    • Iustin Pop's avatar
      Fix iallocator crash when no solutions exist · e41f4ba0
      Iustin Pop authored
      Commit 54365762 added an un-guarded `head' call, which crashes with
      “Prelude.head: empty list” when no results exists for the per-instance
      allocation/relocation calls.
      
      This patch fixes this, and also adds another check for an unguarded
      `head' call during parsing of input data.
      e41f4ba0
  5. Feb 26, 2010
  6. Feb 25, 2010
  7. Feb 24, 2010
  8. Feb 23, 2010
  9. Feb 22, 2010
  10. Feb 04, 2010
  11. Feb 03, 2010
  12. 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
Loading