Skip to content
Snippets Groups Projects
  1. Jan 20, 2011
  2. Jan 12, 2011
    • Iustin Pop's avatar
      QA: Fix duplicated OOB tests · 69df9d2b
      Iustin Pop authored
      
      Patch f55312bd added the OOB tests to TestClusterVerify, which is not
      actually a test for cluster verify, but a runner for cluster verify
      that is called multiple times, for each instance type, etc. This led
      to running the OOB commands multiple times, which is painful
      especially as this is a slow test.
      
      The patch moves this to a separate test, that is run only once.
      
      Furthermore, the way that data files are copied around is very
      inefficient: touch + mv + chmod + mv + rm for each node (5 times
      number of nodes), whereas it could be simply: touch on master, chmod
      on master, cluster copyfile, chmod on master, cluster copyfile,
      cluster command rm, i.e. only 5 fixed ssh calls to the master. The
      code is changed as such, for increased speed.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      69df9d2b
  3. Jan 05, 2011
  4. Dec 02, 2010
    • Dmitry Chernyak's avatar
      Make rpc.call_lv_list() VG-aware · 84d7e26b
      Dmitry Chernyak authored
      
      Changes to backend.GetVolumeList():
      - now accepts a list of VGs instead of one VG
      - returns LV names in the form "vg_name/lv_name"
      
      Corresponding changes are done in: VerifyDisks, VerifyNode,
      LUCreateInstance (for both disk creation and adoption cases)
      
      Now the syntax
      "gnt-instance add ... --disk N:adopt=LV_NAME,vg=VG_NAME"
      as was described earlier in the man page works.
      
      Signed-off-by: default avatarDmitry Chernyak <dmi.chernyak@gmail.com>
      [iustin@google.com: QA changes for reserved LVs, style fixes and a few
       extra error checks, reviewed by hansmi/rn]
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      84d7e26b
  5. Nov 29, 2010
    • Michael Hanselmann's avatar
      QA: Fix upload of RAPI users file · 49ceab21
      Michael Hanselmann authored
      
      After moving the users file to a directory, we must ensure the
      directory exists.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      49ceab21
    • Iustin Pop's avatar
      Simplify QA commands · 2f4b4f78
      Iustin Pop authored
      
      Currently, 95% of the QA commands are executed in the same way: on the
      master, based on a command list and with expectancies for succes:
      
          AssertEqual(StartSSH(master['primary'],
                               utils.ShellQuoteArgs(cmd)).wait(), 0)
      
      The rest 5% are variations on this theme (maybe the command needs to
      fail, or the node is different, etc.). Based on this, we can simplify
      the code significantly if we abstract the common theme into a new
      AssertCommand() function. This saves ~250 lines of code in the QA suite,
      around 8% of the entire QA code size.
      
      Additionally, the output was very cryptic before (the famous "QA error:
      1 != 0" messages), whereas now we show a clear error message (node,
      command, exit code and failure mode).
      
      The patch replaces single quotes with double quotes in all the parts of
      the code that I touch; let me know if that's not OK…
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      2f4b4f78
  6. Nov 17, 2010
  7. Aug 19, 2010
  8. Jul 28, 2010
  9. Jul 26, 2010
  10. Jul 07, 2010
  11. Jul 05, 2010
  12. May 11, 2010
  13. May 03, 2010
  14. Apr 23, 2010
  15. Apr 12, 2010
  16. Mar 17, 2010
  17. Mar 15, 2010
    • Michael Hanselmann's avatar
      Rightname confd's HMAC key · 6b7d5878
      Michael Hanselmann authored
      
      Currently, the ganeti-confd's HMAC key is called “cluster HMAC key” or
      simply “HMAC key” everywhere. With the implementation of inter-cluster
      instance moves, another HMAC key will be introduced for signing critical
      data. They can not be the same, so this patch clarifies the purpose of the
      “cluster HMAC key” by renaming it. The actual file name is not changed.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      6b7d5878
  18. Mar 12, 2010
  19. Oct 02, 2009
  20. Aug 19, 2009
  21. 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
  22. Jan 13, 2009
  23. Dec 01, 2008
  24. Aug 15, 2008
  25. 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
  26. Feb 29, 2008
  27. Feb 14, 2008
  28. Jan 28, 2008
    • Iustin Pop's avatar
      Allow selection of hypervisor type in QA · b32f9859
      Iustin Pop authored
      This patch allows the selection of the hypervisor type for the QA
      process; this is useful when testing hypervisor-independent changes that
      don't require a Xen setup.
      
      The patch also fixes the OS name in the sample QA config file provided.
      
      Reviewed-by: imsnah
      b32f9859
  29. Nov 21, 2007
  30. Nov 08, 2007
  31. Nov 05, 2007
  32. Nov 02, 2007
  33. Sep 27, 2007
    • Michael Hanselmann's avatar
      Add more QA tests. · 283f9d4c
      Michael Hanselmann authored
      Added tests:
      - “gnt-cluster getmaster”
      - “gnt-cluster version”
      - “gnt-instance list”
      - “gnt-instance reinstall”
      
      Reviewed-by: schreiberal
      
      283f9d4c
  34. Sep 13, 2007
Loading