1. 01 Jul, 2010 2 commits
    • 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
  2. 14 Jun, 2010 1 commit
  3. 13 May, 2010 1 commit
  4. 11 May, 2010 1 commit
  5. 05 May, 2010 1 commit
  6. 12 Apr, 2010 1 commit
  7. 15 Mar, 2010 1 commit
  8. 12 Mar, 2010 1 commit
  9. 11 Mar, 2010 1 commit
  10. 12 Feb, 2010 1 commit
  11. 09 Feb, 2010 1 commit
  12. 25 Nov, 2009 1 commit
  13. 02 Nov, 2009 1 commit
  14. 05 Feb, 2009 1 commit
    • 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
  15. 05 Sep, 2008 1 commit
    • 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
  16. 18 Aug, 2008 1 commit
  17. 15 Aug, 2008 1 commit
  18. 15 Jul, 2008 1 commit
  19. 06 Jun, 2008 3 commits
  20. 13 May, 2008 1 commit
  21. 16 Apr, 2008 1 commit
  22. 27 Mar, 2008 1 commit
  23. 25 Mar, 2008 1 commit
    • 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
  24. 29 Feb, 2008 1 commit
  25. 14 Feb, 2008 1 commit
  26. 28 Jan, 2008 1 commit
    • 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
  27. 03 Dec, 2007 1 commit
  28. 19 Nov, 2007 1 commit
  29. 13 Nov, 2007 1 commit
  30. 08 Nov, 2007 1 commit
  31. 05 Nov, 2007 2 commits
  32. 02 Nov, 2007 1 commit
  33. 01 Nov, 2007 1 commit
    • 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
  34. 18 Oct, 2007 1 commit
  35. 15 Oct, 2007 1 commit
  36. 12 Oct, 2007 1 commit