Skip to content
Snippets Groups Projects
  1. Feb 03, 2010
  2. Jan 04, 2010
  3. Dec 28, 2009
  4. Nov 25, 2009
  5. Nov 02, 2009
  6. Oct 30, 2009
  7. Oct 22, 2009
  8. Oct 21, 2009
  9. Oct 13, 2009
  10. Oct 09, 2009
  11. Oct 05, 2009
  12. Sep 17, 2009
  13. Sep 16, 2009
  14. Sep 14, 2009
  15. Aug 24, 2009
  16. Aug 17, 2009
  17. Aug 05, 2009
  18. Aug 04, 2009
  19. Jul 29, 2009
  20. Jul 24, 2009
  21. Jul 19, 2009
  22. Jul 08, 2009
  23. Jul 07, 2009
  24. Jun 29, 2009
  25. Jun 15, 2009
  26. Jun 08, 2009
  27. Jun 03, 2009
  28. May 27, 2009
    • 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
  29. May 19, 2009
  30. May 06, 2009
  31. Feb 27, 2009
    • Iustin Pop's avatar
      Fix some epydoc style issues · 5fcc718f
      Iustin Pop authored
      99% of the epydoc return tags are "@return:", but each of the modified files
      had one "@returns:" line. We fix this for consistency.
      
      Reviewed-by: imsnah
      5fcc718f
Loading