Skip to content
Snippets Groups Projects
  1. Jul 26, 2010
  2. 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
    • Guido Trotter's avatar
      qa: shutdown instance before trying disk convert · f9f0ce7f
      Guido Trotter authored
      
      Because we have to. :)
      
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      f9f0ce7f
  3. Jun 14, 2010
  4. May 13, 2010
  5. May 11, 2010
  6. May 05, 2010
  7. Apr 12, 2010
  8. Mar 15, 2010
  9. Mar 12, 2010
  10. Mar 11, 2010
  11. Feb 12, 2010
  12. Feb 09, 2010
  13. Nov 25, 2009
  14. Nov 02, 2009
  15. 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
  16. Sep 05, 2008
    • Michael Hanselmann's avatar
      QA: Remove dry run mode · 26a61f87
      Michael Hanselmann authored
      It didn't work as planned because some commands depend on the return
      value or output of some operations.
      
      Reviewed-by: iustinp
      26a61f87
  17. Aug 18, 2008
  18. Aug 15, 2008
  19. Jul 15, 2008
  20. Jun 06, 2008
  21. May 13, 2008
  22. Apr 16, 2008
  23. Mar 27, 2008
  24. Mar 25, 2008
    • Iustin Pop's avatar
      Remove the option to create md/drbd7 instances · f9193417
      Iustin Pop authored
      This patch removes the options that allow to create local_raid1 or
      remote_raid1 instances. It also modifies the documentation and removes
      these disk templates from burnin and from qa.
      
      Reviewed-by: imsnah
      f9193417
  25. Feb 29, 2008
  26. Feb 14, 2008
  27. Jan 28, 2008
    • Iustin Pop's avatar
      Add QA tests for gnt-instance modify · c0f74c55
      Iustin Pop authored
      This patch adds QA tests for most of the possible parameters in the
      instance modify operation (exception being the MAC), and modifies the
      sample QA file to run this test.
      
      It also tests the no-modification test, but that is a weak one: we only
      test that the exit code is one, not that the command gave a proper
      response ("... please give at least one parameter") as opposed to a
      traceback.
      
      Reviewed-by: imsnah
      c0f74c55
  28. Dec 03, 2007
  29. Nov 19, 2007
  30. Nov 13, 2007
  31. Nov 08, 2007
  32. Nov 05, 2007
  33. Nov 02, 2007
  34. Nov 01, 2007
    • Michael Hanselmann's avatar
      Cleanup QA scripts. · b1ffe1eb
      Michael Hanselmann authored
      - Split main() function into several small ones.
      - Current work on disk failure tests. This is not yet finished.
      - Fix small typo in qa_node.py.
      
      Reviewed-by: schreiberal
      
      b1ffe1eb
  35. Oct 18, 2007
  36. Oct 15, 2007
Loading