1. 01 Jun, 2015 1 commit
  2. 24 Mar, 2015 1 commit
    • Klaus Aehlig's avatar
      Add an RPC to prepare cluster destruction · 0c26d1ed
      Klaus Aehlig authored
      To avoid subtle races when destroying a cluster, we need to make
      sure that the cluster destroy LU is the last LU ever executed.
      That LU gets the BGL exclusively; however, it needs the daemons
      for it to proceed, so the daemons will still be running at its
      finish, thus causing the race. (Also note, that the watcher might
      restart stopped daemons at any time.) Therefore, the last thing
      that LU will do is to transfer the BGL to WConfD itself; WConfD
      will also modify the configuration to a no-master state, thus
      making sure it will refuse to restart.
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarPetr Pudlak <pudlak@google.com>
      0c26d1ed
  3. 05 Mar, 2015 1 commit
  4. 15 Sep, 2014 1 commit
  5. 10 Jul, 2014 1 commit
  6. 07 Jul, 2014 2 commits
  7. 25 Jun, 2014 1 commit
  8. 06 Jun, 2014 1 commit
  9. 04 Jun, 2014 3 commits
  10. 29 May, 2014 1 commit
  11. 26 May, 2014 1 commit
  12. 20 May, 2014 1 commit
  13. 12 May, 2014 1 commit
  14. 11 Apr, 2014 1 commit
  15. 04 Apr, 2014 2 commits
  16. 27 Mar, 2014 2 commits
  17. 18 Mar, 2014 1 commit
  18. 13 Mar, 2014 1 commit
  19. 11 Mar, 2014 1 commit
  20. 03 Mar, 2014 5 commits
  21. 26 Feb, 2014 1 commit
  22. 14 Feb, 2014 1 commit
  23. 13 Dec, 2013 1 commit
  24. 08 Nov, 2013 1 commit
  25. 10 Sep, 2013 1 commit
  26. 29 Aug, 2013 1 commit
    • Jose A. Lopes's avatar
      Setup constant generation infrastructure · 1b2adaa6
      Jose A. Lopes authored
      Setup a transitional Haskell to Python constant generation
      infrastructure.  This infrastructure is transitional and Python
      constants will not be migrated to Haskell all at once.  Instead, some
      constants will be incrementally pulled from Python and moved to
      Haskell.  This is a list of the relevant modules in this
      infrastructure:
      
      * Ganeti.HsConstants: contains the Haskell constants that are used
        both in Haskell (once re-exported through Ganeti.Constants) and
        generated in Python
      
      * Ganety.Hs2Py.ListConstants: contains the list of Haskell constants
        to be generated in Python; these constants are defined in the
        previous module and the list is automatically generated by the
        Makefile
      
      * hs2py-constants: Haskell program that outputs the actual constant
        definitions in Python; this task cannot be performed by 'hs2py' just
        yet because this programs depends on the 'Constants' module. But
        once all the constants have migrated to Haskell, then
        'hs2py-constants' and 'hs2py' can be merged.
      Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      1b2adaa6
  27. 27 Dec, 2012 1 commit
    • Iustin Pop's avatar
      Move htest/ files under the test/ tree · 83846468
      Iustin Pop authored
      htest/data becomes test/data/htools (basically reverting commit
      8feabc89), and htest/* becomes test/hs/*.
      
      Most changes beside the rename are trivial s/…/…, with the exception
      of autotools/run-in-tempdir, which needed some more changes now that
      test/ is not just Python files:
      
      - test/py is still being copied
      - test/hs moves from individual symlinks to entire dir symlink
      - test/data is symlinked in its entirety
      
      Checked with make distcheck, pep8 and pylint, so at least VPATH builds
      are OK.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      83846468
  28. 06 Dec, 2012 1 commit
    • Iustin Pop's avatar
      Fix build breakage in Jobs.hs test code · 3516b09a
      Iustin Pop authored
      Commit 3bdbe4b3 (“Jobs.hs: move OpStatus and JobStatus ADTs to
      Types.hs”) removed the TemplateHaskell language pragma from
      htest/Test/Ganeti/Jobs.hs due to a hlint warning, but that is bad: it
      means the testSuite call is no longer interpreted as a splice, so it results in:
      
        Parse error: naked expression at top level
      
      With newer GHCs. To fix this, we restore the pragma, and add an hlint
      ignore.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      3516b09a
  29. 05 Dec, 2012 1 commit
  30. 05 Sep, 2012 2 commits