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