- Jan 20, 2011
-
-
Iustin Pop authored
The bug recently reported by Apollon Oikonomopoulos was missed because we don't test this command at all. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
- Jan 12, 2011
-
-
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:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Jan 05, 2011
-
-
René Nussbaumer authored
Signed-off-by:
René Nussbaumer <rn@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Dec 02, 2010
-
-
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:
Dmitry 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:
Iustin Pop <iustin@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Nov 29, 2010
-
-
Michael Hanselmann authored
After moving the users file to a directory, we must ensure the directory exists. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
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:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Nov 17, 2010
-
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Aug 19, 2010
-
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Manuel Franceschini authored
Signed-off-by:
Manuel Franceschini <livewire@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Jul 28, 2010
-
-
Iustin Pop authored
Most (all?) of our commands use dash-separator: replace-disks, verify-disks, add-tags, etc. “gnt-cluster masterfailover” is an old exception to this rule. The patch replaces it with master-failover, add a compatiblity alias, and updates the documentation for this change. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Jul 26, 2010
-
-
Iustin Pop authored
Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
- Jul 07, 2010
-
-
Iustin Pop authored
After some more investigation, only the soft reboot type fails for Xen 3.4 (due to the reboot/uptime time counter). As such, it's better to allow selective testing, since we do want to test in general these opcodes/the command line script. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Luca Bigliardi <shammash@google.com>
-
- Jul 05, 2010
-
-
Iustin Pop authored
Since we have seen cases where (repeated) reboots are not supported (e.g. Xen 3.4+), we need to be able to control this in the QA configuration. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
Iustin Pop authored
Since we have seen cases where (repeated) reboots are not supported (e.g. Xen 3.4+), we need to be able to control this in the QA configuration. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- May 11, 2010
-
-
Michael Hanselmann authored
The RAPI tests will depend on the certificate. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- May 03, 2010
-
-
Iustin Pop authored
With this, the burnin sequence on big clusters should be (much?) faster. The patch also fixes the parallel setting (before it was always enabled). Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Apr 23, 2010
-
-
Michael Hanselmann authored
Just using “echo” would use whatever umask is set in the shell, in addition to potentially showing the password in the process list. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
René Nussbaumer <rn@google.com>
-
- Apr 12, 2010
-
-
René Nussbaumer authored
Signed-off-by:
René Nussbaumer <rn@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
René Nussbaumer authored
This patch makes sure that the Ganeti RAPI credentials are setup, if any, on cluster init time. Signed-off-by:
René Nussbaumer <rn@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Mar 17, 2010
-
-
Michael Hanselmann authored
Information exchanged between different clusters via untrusted third parties (e.g. for remote instance import/export) must be signed with a secret shared between all involved clusters to ensure the third party doesn't modify the information. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Mar 15, 2010
-
-
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:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Mar 12, 2010
-
-
Michael Hanselmann authored
Recent changes to “gnt-cluster verify” made it complain on expiring SSL certificates. While it was possible to replace the SSL certificates and other cluster secrets manually before, doing so was cumbersome. Cluster certificates, keys and secrets can now be replaced easily. Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Oct 02, 2009
-
-
Michael Hanselmann authored
Signed-off-by:
Michael Hanselmann <hansmi@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Aug 19, 2009
-
-
Guido Trotter authored
This option is gone since 1ac0f5e6d2f06a5bf12815e1b92d1338af32833c, fixing the QA suite to deal with this. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Feb 16, 2009
-
-
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
-
- Jan 13, 2009
-
-
Iustin Pop authored
This patch adds burnin parameters for --parallel and --http-check options to the burnin script. Reviewed-by: ultrotter
-
- Dec 01, 2008
-
-
Michael Hanselmann authored
There are still issues, especially with "gnt-instance modify" and resetting values. However, this is a start. Reviewed-by: ultrotter
-
- Aug 15, 2008
-
-
Michael Hanselmann authored
To my knowledge they're used nowhere and it's at least slightly confusing to people adding new QA checks. Reviewed-by: ultrotter
-
- Mar 25, 2008
-
-
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
-
- Feb 29, 2008
-
-
Iustin Pop authored
Reviewed-by: imsnah
-
- Feb 14, 2008
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
- Jan 28, 2008
-
-
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
-
- Nov 21, 2007
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
- Nov 08, 2007
-
-
Michael Hanselmann authored
Reviewed-by: schreiberal
-
- Nov 05, 2007
-
-
Michael Hanselmann authored
Reviewed-by: schreiberal
-
- Nov 02, 2007
-
-
Michael Hanselmann authored
Also check whether file contents are correct for both “gnt-cluster command” and “gnt-cluster copyfile”. Reviewed-by: iustinp
-
- Sep 27, 2007
-
-
Michael Hanselmann authored
Added tests: - “gnt-cluster getmaster” - “gnt-cluster version” - “gnt-instance list” - “gnt-instance reinstall” Reviewed-by: schreiberal
-
- Sep 13, 2007
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-