1. 20 Jul, 2010 1 commit
  2. 19 Jul, 2010 1 commit
    • Iustin Pop's avatar
      Introduce git reference/tag tracking for debugging · 84a12e40
      Iustin Pop authored
      This patch adds a new vcs-version file that is generated via git (and
      can be adapted if VCS is changed) and then embebbded as VCS_VERSION in
      the constants module.
      This means two things:
      - local modifications without committing to git (or when using a tar.gz
        archive + mods) will not be reflected
      - version is fixed at the time of the last make regen-vcs-version (dist time,
        or devel/upload which calls this)
      Thus this is more geared at developers rather than end users.
      The patch:
      - adds rules for generating the vcs-version file
      - adds a dist-hook for re-generating the file (if possible) and copying
        the updated version to the distdir
      - modifies devel/upload to re-generate the file before upload
      The output of --version will look like:
      gnt-cluster (ganeti v2.2.0beta0-184-gebca7e6) 2.2.0~beta0
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
  3. 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
      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>
  4. 15 Jul, 2010 2 commits
  5. 09 Jul, 2010 2 commits
  6. 06 Jul, 2010 1 commit
  7. 02 Jul, 2010 1 commit
  8. 01 Jul, 2010 1 commit
  9. 30 Jun, 2010 2 commits
  10. 29 Jun, 2010 1 commit
  11. 17 Jun, 2010 1 commit
  12. 14 Jun, 2010 3 commits
  13. 10 Jun, 2010 1 commit
  14. 04 Jun, 2010 3 commits
  15. 28 May, 2010 1 commit
  16. 21 May, 2010 1 commit
  17. 20 May, 2010 1 commit
  18. 18 May, 2010 3 commits
  19. 17 May, 2010 1 commit
  20. 13 May, 2010 2 commits
  21. 11 May, 2010 1 commit
  22. 23 Apr, 2010 1 commit
  23. 21 Apr, 2010 3 commits
  24. 20 Apr, 2010 1 commit
  25. 19 Apr, 2010 1 commit
  26. 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
      Two future enhancements are planned:
      - Run parts of the command chain as a dedicated user (privilege
      - 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>
    • 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>
    • Balazs Lecz's avatar