1. 16 Jul, 2010 1 commit
    • Michael Hanselmann's avatar
      Convert RPC client to PycURL · 33231500
      Michael Hanselmann authored
      
      
      Instead of using our custom HTTP client, using PycURL's multi
      interface allows us to get rid of the HTTP client threadpool.
      The majority of the code is still in the ganeti.http.client
      module.
      
      A simple per-thread HTTP client pool gives cURL a chance to
      cache and retain as much information as possible (e.g. SSL certs).
      Unused HTTP clients (e.g. due to removed nodes) are deleted after
      25 requests going through the pool.
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      33231500
  2. 15 Jul, 2010 2 commits
  3. 09 Jul, 2010 2 commits
  4. 06 Jul, 2010 1 commit
  5. 02 Jul, 2010 1 commit
  6. 01 Jul, 2010 1 commit
  7. 30 Jun, 2010 2 commits
  8. 29 Jun, 2010 1 commit
  9. 17 Jun, 2010 1 commit
  10. 14 Jun, 2010 3 commits
  11. 10 Jun, 2010 1 commit
  12. 04 Jun, 2010 3 commits
  13. 28 May, 2010 1 commit
  14. 21 May, 2010 1 commit
  15. 20 May, 2010 1 commit
  16. 18 May, 2010 3 commits
  17. 17 May, 2010 1 commit
  18. 13 May, 2010 2 commits
  19. 11 May, 2010 1 commit
  20. 23 Apr, 2010 1 commit
  21. 21 Apr, 2010 3 commits
  22. 20 Apr, 2010 1 commit
  23. 19 Apr, 2010 1 commit
  24. 16 Apr, 2010 3 commits
    • Michael Hanselmann's avatar
      Add daemon for instance import and export · 2d76b580
      Michael Hanselmann authored
      
      
      This backend daemon for instance import and export will be used to
      transfer instance data to other machines. It is implemented in a generic
      way to support different ways of data input and output. The third-party
      program “socat”, which is already used by the KVM hypervisor abstraction,
      is used to connect to remote machines using SSL/TLS. After starting the
      child processes in a separate process group, the import/export daemon
      monitors their output and updates a status file regularily. This status
      file can then be read by ganeti-noded (not in this patch).
      
      Three I/O methods are supported: Raw disk, file and script. Each of these
      can be used for import and export.
      
      Similar to daemon-util, an incomplete set of tests written in Bash is
      included.
      
      Two future enhancements are planned:
      - Run parts of the command chain as a dedicated user (privilege
        separation).
      - Currently users of this daemon have to poll the status file while data
        is transferred. This is inefficient and creates unnecessary delays. By
        adding “dd” into the chain and sending it SIGUSR1 regularily, we can get
        some statistics, optimize the polling frequenc and even provide the user
        with an ETA (which isn't available with all current methods to
        import/export instance data).
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      2d76b580
    • Balazs Lecz's avatar
      Add basic unittests for uid_pool · 93be53da
      Balazs Lecz authored
      
      Signed-off-by: default avatarBalazs Lecz <leczb@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      93be53da
    • Balazs Lecz's avatar
      1338f2b4
  25. 15 Apr, 2010 2 commits