Skip to content
Snippets Groups Projects
  1. 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
  2. Jun 18, 2010
  3. Jun 14, 2010
  4. May 18, 2010
  5. May 13, 2010
  6. May 11, 2010
  7. May 05, 2010
  8. May 03, 2010
  9. Apr 23, 2010
  10. Apr 22, 2010
  11. Apr 12, 2010
  12. Mar 26, 2010
  13. Mar 17, 2010
  14. Mar 15, 2010
  15. Mar 12, 2010
  16. Mar 11, 2010
  17. Feb 12, 2010
  18. Feb 09, 2010
  19. Nov 25, 2009
  20. Nov 02, 2009
  21. Oct 02, 2009
  22. Sep 25, 2009
  23. Aug 28, 2009
  24. Aug 19, 2009
  25. Jul 24, 2009
  26. Jun 29, 2009
    • Guido Trotter's avatar
      Introduce OS api version 15 · d1a7d66f
      Guido Trotter authored
      
      Also, since Ganeti 2.1 will be compatible with both 10 and 15, change
      the OS_API_VERSION constant to be an OS_API_VERSIONS set, and update the
      places in the code that used that constat to use something else.
      
      In particular:
        - in the qa for now we just create a fake version 10 OS
        - in the os environment we use the highest common version
          (which means we need to pass in the os to OSEnvironment)
        - when loading an OS any common version will do
      
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      d1a7d66f
  27. May 11, 2009
  28. Feb 16, 2009
    • Iustin Pop's avatar
      QA: add support for burnin rename · 4dc76b24
      Iustin Pop authored
      This patch adds support for optionally doing the rename burnin test, and
      adds an example to the sample QA file. To disable, either remove or
      specify an empty rename target.
      
      Reviewed-by: imsnah
      4dc76b24
  29. Feb 10, 2009
  30. Feb 06, 2009
    • Iustin Pop's avatar
      QA: switch RAPI to https · 49b1d36e
      Iustin Pop authored
      Since we by default now use SSL for RAPI, we need to switch the QA
      tests to SSL too.
      
      Reviewed-by: amishchenko
      49b1d36e
  31. Feb 05, 2009
    • Iustin Pop's avatar
      Revive RAPI QA tests for 2.0-style RAPI · a5b9d725
      Iustin Pop authored
      This patch fixes the RAPI QA tests to work with today's RAPI code and
      also does some other minor improvements:
        - QA: only create the cluster if so configured (‘create-cluster’ key),
          this allows running parts of the QA suite against existing clusters
        - export the “hvparams” for instances in RAPI
      
      Reviewed-by: imsnah
      a5b9d725
  32. Jan 13, 2009
  33. Dec 01, 2008
Loading