1. 04 Jan, 2010 1 commit
  2. 28 Dec, 2009 1 commit
  3. 06 Nov, 2009 2 commits
  4. 02 Nov, 2009 1 commit
  5. 15 Oct, 2009 2 commits
  6. 13 Oct, 2009 1 commit
  7. 12 Oct, 2009 5 commits
  8. 17 Sep, 2009 1 commit
  9. 15 Sep, 2009 2 commits
  10. 09 Sep, 2009 1 commit
  11. 25 Aug, 2009 4 commits
  12. 24 Aug, 2009 3 commits
  13. 17 Aug, 2009 1 commit
  14. 14 Aug, 2009 1 commit
  15. 10 Aug, 2009 1 commit
  16. 04 Aug, 2009 2 commits
  17. 03 Aug, 2009 1 commit
  18. 31 Jul, 2009 1 commit
  19. 22 Jul, 2009 1 commit
  20. 07 Jul, 2009 2 commits
  21. 19 Jun, 2009 1 commit
  22. 18 Jun, 2009 1 commit
  23. 15 Jun, 2009 1 commit
  24. 27 May, 2009 1 commit
    • Iustin Pop's avatar
      Add a node powercycle command · f5118ade
      Iustin Pop authored
      
      
      This (somewhat big) patch adds support for remotely rebooting the nodes
      via whatever support the hypervisor has for such a concept.
      
      For KVM/fake (and containers in the future) this just uses sysrq plus a
      ‘reboot’ call if the sysrq method failed. For Xen, it first tries the
      above, and then Xen-hypervisor reboot (we first try sysrq since that
      just requires opening a file handle, whereas xen reboot means launching
      an external utility).
      
      The user interface is:
      
          # gnt-node powercycle node5
          Are you sure you want to hard powercycle node node5?
          y/[n]/?: y
          Reboot scheduled in 5 seconds
      
      The node reboots hopefully after sending the reply. In case the clock is
      broken, “time.sleep(5)” might take ages (but then I suspect SSL
      negotiation wouldn't work).
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      f5118ade
  25. 03 Feb, 2009 1 commit
    • Iustin Pop's avatar
      An attempt at fixing some encoding issues · 26f15862
      Iustin Pop authored
      This patch unifies the hardcoded re-encoding attempts into a single
      function in utils.py. This function is used to take either an unicode or
      str object and convert it to a ASCII-only str object which can be safely
      displayed and transmitted.
      
      We replace then the current manual re-encodings with this function. In
      mcpu we stop re-encoding the hooks output and instead we do it right at
      the hook generation in backend.py.
      
      This passes on my 'custom' lvs output with non-ASCII chars. But there
      are probably other places we will need to fix.
      
      Reviewed-by: ultrotter
      26f15862
  26. 13 Jan, 2009 1 commit
    • Iustin Pop's avatar
      Forward port the live migration from 1.2 branch · 53c776b5
      Iustin Pop authored
      This is forward port via copy (and not individual patches cherry-pick)
      of the latest code on the 1.2 branch related to the migration.
      
      The changes compared to 1.2 are the fact that we don't need the
      IdentifyDisks step anymore (the drbd rpc calls are independent now), and
      the rpc module improvements.
      
      Reviewed-by: ultrotter
      53c776b5