1. 22 Oct, 2012 2 commits
  2. 18 Oct, 2012 1 commit
  3. 17 Oct, 2012 2 commits
  4. 16 Oct, 2012 5 commits
  5. 12 Oct, 2012 3 commits
  6. 11 Oct, 2012 1 commit
  7. 10 Oct, 2012 2 commits
  8. 08 Oct, 2012 5 commits
    • Iustin Pop's avatar
      Merge ganeti-master-cleaner back into ganeti-cleaner · 46118ed2
      Iustin Pop authored
      As I wrote during/after the review on commit 2958c56e
      
      , “ganeti-cleaner:
      Separate queue cleaning code”, while I appreciated the permission
      separation, I didn't like too much the file-based approach:
      
      - it is a very simple script, and lots of the code is duplicated
        between the two; I wouldn't like to see "ganeti-vmcapable-cleaner",
        "ganeti-master-candidate-cleaner", etc. in the future
      - ganeti-master-cleaner "pollutes" the namespace, creating
        tab-completion conflicts with ganeti-masterd
      
      This patch simply merges the master-cleaner back into cleaner, while
      keeping the separate user permissions scheme, separate log files, etc.
      
      Additionally, it fixes two bugs in the unit-test (not run with set -u
      and wrong path in the master-cleaner log files test; yay for even
      worse safety than Python?).
      
      And finally, since we have now support for --help-completion, it adds
      bash completion support for this script :) (needs to be applied on top
      of my argument support patch series).
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      46118ed2
    • Iustin Pop's avatar
      Enable bash completion for Haskell daemons too · f8d01158
      Iustin Pop authored
      
      
      This requires a few tiny changes to build-bash-completion and to
      Makefile rules, but is straightforward.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      f8d01158
    • Iustin Pop's avatar
      A few cleanups in Makefile.am · dad26941
      Iustin Pop authored
      
      
      A lot of the lists in Makefile.am were not sorted properly (or at
      all); let's sort them for more sanity.
      
      Additionally, check-local used to spew this big shell block, even
      though it does emit nice messages when failing, so we don't need to
      show the code; let's silence it (@).
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      dad26941
    • Iustin Pop's avatar
      Fixup TAGS generation with newer GHC · 6b84f036
      Iustin Pop authored
      
      
      Newer GHC refuses to allow "-O" with interactive mode, so let's filter
      that out. Furthermore, sometimes you don't have a clean tree exactly
      when you need to look up something/update the tags, so let's filter
      out the "-Werror" too.
      
      And finally, we need to pass the actual exact flags (including
      nocurl, parallel, etc.) that we use for building, so let's add those
      too.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      6b84f036
    • Iustin Pop's avatar
      Rename Ganeti/HTools/Utils.hs to Ganeti/Utils.hs · 26d62e4c
      Iustin Pop authored
      
      
      This is, I believe, the last non-htools specific file that still lived
      in the htools directory; it's already widely used in non-htools code,
      so let's move it before we add more functionality to this module.
      
      All changes are related to the name change, imports fixup, etc.; there
      are no other changes in this patch.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      26d62e4c
  9. 05 Oct, 2012 1 commit
  10. 02 Oct, 2012 4 commits
  11. 28 Sep, 2012 2 commits
  12. 27 Sep, 2012 3 commits
  13. 26 Sep, 2012 2 commits
  14. 25 Sep, 2012 1 commit
  15. 24 Sep, 2012 1 commit
  16. 21 Sep, 2012 1 commit
  17. 19 Sep, 2012 1 commit
  18. 18 Sep, 2012 2 commits
  19. 12 Sep, 2012 1 commit
    • René Nussbaumer's avatar
      Refactor IAllocator code · 0fcd0cad
      René Nussbaumer authored
      
      
      The IAllocator class was handling all the requests on its own, passing
      in parameters on top level which works, but is hard to maintain and not
      flexible.
      
      With the upcoming change to the IAllocator for MultiAllocate we can't
      use the toplevel parameters anymore. Therefore, we refactor the code
      into separate classes, which just do their own stuff. It works similiar
      to Opcode containers.
      Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      0fcd0cad