1. 02 Nov, 2009 1 commit
  2. 30 Oct, 2009 1 commit
  3. 22 Oct, 2009 1 commit
  4. 21 Oct, 2009 1 commit
  5. 13 Oct, 2009 1 commit
  6. 09 Oct, 2009 1 commit
  7. 05 Oct, 2009 1 commit
  8. 17 Sep, 2009 1 commit
  9. 16 Sep, 2009 1 commit
  10. 14 Sep, 2009 1 commit
  11. 24 Aug, 2009 1 commit
  12. 17 Aug, 2009 1 commit
  13. 05 Aug, 2009 2 commits
  14. 04 Aug, 2009 2 commits
  15. 29 Jul, 2009 2 commits
  16. 24 Jul, 2009 1 commit
  17. 19 Jul, 2009 1 commit
  18. 08 Jul, 2009 1 commit
  19. 07 Jul, 2009 2 commits
  20. 29 Jun, 2009 1 commit
  21. 15 Jun, 2009 6 commits
  22. 08 Jun, 2009 1 commit
  23. 03 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. 19 May, 2009 1 commit
  26. 06 May, 2009 1 commit
  27. 27 Feb, 2009 1 commit
    • 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
  28. 24 Feb, 2009 1 commit
    • Iustin Pop's avatar
      Remove the extra_args parameter in instance start · 07813a9e
      Iustin Pop authored
      This patch removes the extra_args parameter and instead switches the
      instance to the HV_KERNEL_ARGS hypervisor option.
      
      This is a big change, but it's a needed cleanup, this extra parameter on
      all RPC calls is not generic and we also need to have a persistent value
      here.
      
      Reviewed-by: imsnah
      07813a9e
  29. 09 Feb, 2009 1 commit
    • Iustin Pop's avatar
      RpcResult: add a new payload field · f2def43a
      Iustin Pop authored
      For results which use the (status, payload) response type, it's easier
      to define a ‘payload’ field on the result holding the payload than to
      extract it using “data[1]” in the caller code.
      
      Reviewed-by: ultrotter
      f2def43a
  30. 23 Jan, 2009 1 commit
    • Iustin Pop's avatar
      Fill the 'call' attribute of offline rpc results · 84b45587
      Iustin Pop authored
      When creating ‘fake’ results for offline nodes, we currently don't pass
      the call attribute. This complicates debugging, so even though this
      should not matter in practice, it's better to fix it.
      
      Reviewed-by: imsnah
      84b45587
  31. 21 Jan, 2009 1 commit
    • Iustin Pop's avatar
      Log the rpc call name in the RPC errors message · 1b8acf70
      Iustin Pop authored
      Currently the rpc module logs the error description and target node in
      rpc calls logging, as such:
      
        2009-01-21 00:50:01,456:  pid=1051/Thread-21 ERROR RPC error from node
          node1.example.com: Connection failed (111: Connection
          refused)
      
      but this doesn't help to understand which call caused this (here it's an
      offline node which should not be contacted at all).
      
      This patch adds the logging of the call too, so cases like the above can
      be debugged easier.
      
      Reviewed-by: imsnah, ultrotter
      1b8acf70