Skip to content
Snippets Groups Projects
  1. Jul 06, 2010
  2. Jul 02, 2010
  3. Jul 01, 2010
    • Michael Hanselmann's avatar
      RAPI client: Switch to pycURL · 2a7c3583
      Michael Hanselmann authored
      
      Currently the RAPI client uses the urllib2 and httplib modules from
      Python's standard library. They're used with pyOpenSSL in a very fragile
      way, and there are known issues when receiving large responses from a RAPI
      server.
      
      By switching to PycURL we leverage the power and stability of the
      widely-used curl library (libcurl). This brings us much more flexibility
      than before, and timeouts were easily implemented (something that would
      have involved a lot of work with the built-in modules).
      
      There's one small drawback: Programs using libcurl have to call
      curl_global_init(3) (available as pycurl.global_init) while exactly one
      thread is running (e.g. before other threads) and are supposed to call
      curl_global_cleanup(3) (available as pycurl.global_cleanup) upon exiting.
      See the manpages for details. A decorator is provided to simplify this.
      
      Unittests for the new code are provided, increasing the test coverage of
      the RAPI client from 74% to 89%.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      2a7c3583
  4. Jun 30, 2010
  5. Jun 29, 2010
  6. Jun 23, 2010
  7. Jun 14, 2010
  8. Jun 11, 2010
  9. Jun 10, 2010
  10. Jun 08, 2010
  11. Jun 04, 2010
  12. Jun 03, 2010
  13. May 28, 2010
  14. May 25, 2010
  15. May 21, 2010
  16. May 18, 2010
  17. May 17, 2010
  18. May 14, 2010
    • Guido Trotter's avatar
      ganeti-noded: add the --no-mlock option · bebf68d3
      Guido Trotter authored
      
      While mlock on noded is definitely good in most situations, there are
      some - namely my laptop - where it has no benefit, and uses precious
      non-swappable memory. To avoid this we make it optional, with a new
      --no-mlock option. Note that only the main node daemon and its http
      children are affected: the powercycle node child still uses mlock, which
      doesn't harm, since it's a short lived process happening just before
      node reboot anyway. The manpage is updated.
      
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarLuca Bigliardi <shammash@google.com>
      bebf68d3
  19. May 13, 2010
  20. May 03, 2010
  21. Apr 27, 2010
Loading