Statistics
| Branch: | Tag: | Revision:

root / qa / ganeti-qa.py @ c7e54e1d

History | View | Annotate | Download (17.5 kB)

# Date Author Comment
c7e54e1d 07/11/2012 03:22 pm Agata Murawska

QA updated to test instance removing when sec. is offline

Added test checking that it is possible to remove an instance with drbd
disk when non-primary node is offline.

Signed-off-by: Agata Murawska <>
Reviewed-by: Iustin Pop <>...

b498540e 06/05/2012 06:58 pm Iustin Pop

QA: add toggle for fewer common instance tests

Currently, the "common" instance tests (shutdown, rapi stopped
console, stopped modify, startup, rapi shutdown, rapi startup, list,
info, modify, rapi modify , console, rapi console, reinstall, rename,
rapi rename, rename and back, rapi rename and back, grow disk, reboot,...

710bc88c 06/05/2012 06:58 pm Iustin Pop

QA: stop logging SSH arguments for each invocation

Currently, this is how the QA log looks like:

Command: ssh -oEscapeChar=none -oBatchMode=yes -l root -t -oStrictHostKeyChecking=yes -oClearAllForwardings=yes -oForwardAgent=yes -oControlPath=/tmp/ganeti-qa-multiplexer.DMzkuH -oControlMaster=no node14 exit...

51131cad 05/14/2012 06:38 pm Michael Hanselmann

QA: Cleanup after commit 5fa0375e4a

Some tests had wrong assumptions on the instance status and some
needed explicit start or stop commands.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

5fa0375e 05/10/2012 02:02 pm Michael Hanselmann

QA: Decorate tests with instance checks

Start using “InstanceCheck” decorator where appropriate. Use direct call
for check in places where the instance status changes during the test.

The parameters of “TestInstanceImport” had to be re-ordered to have the...

741c6d91 05/10/2012 02:02 pm Michael Hanselmann

QA: Support passing keyword arguments to test functions

Until now this wasn't possible.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

1be35bef 05/04/2012 03:27 pm Michael Hanselmann

QA: Fix shutdown for reinstall/rename tests

The “RunTestIf” uses an AND association between the passed test names,
so the instance would be be shut down if both rename and reinstall were
enabled. Since this is not necessarily the case, OR must be used.

Signed-off-by: Michael Hanselmann <>...

26a5056d 04/26/2012 06:41 pm Iustin Pop

Add grow-disk tests in QA

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

0fdf247d 04/19/2012 09:04 pm Michael Hanselmann

Convert listing exports to query2

This solves one case where locks are acquired during LUXI queries.
Pretty late into the transition I noticed that OpBackupQuery had a
“use_locking” parameter for a long time, but didn't use it. Since
most of the other changes were already and this allows exports to...

09470dd8 03/30/2012 03:03 pm Michael Hanselmann

QA: Add tests for “gnt-job list”

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

3016bc1f 01/31/2012 07:44 am Michael Hanselmann

OpInstanceSetParams: Merge {off,on}line_inst parameters

Instead of having two separate parameters, a single boolean parameter is
used. Unfortunately we need a third state to say “no change”, so the
value can be None, True or False (similar to other parameters). There...

1e7acc3b 01/26/2012 03:34 pm Iustin Pop

Fix gnt-cluster modify check of passed options

… and add the disk_templates/vcpu_ratio new entries. Since the default
ispecs_* are dicts, we can't compare them to none.

Additionally, add a QA test for this case (empty cluster modify).

Signed-off-by: Iustin Pop <>...

4c1a464b 01/17/2012 12:08 pm Iustin Pop

Rework instance rename QA tests

After looking again at the QA speeds, it turned out that instance
rename was run 12 times via the command line and 12 times via RAPI;
outside of start/stop which we need for maintenance during QA, this is
the most used test....

92cb4940 01/05/2012 07:12 pm Andrea Spadaccini

qa: fix disk parameters tests

Fix an error in the disk parameters tests (the arguments to gnt-cluster
were not passed correctly) and move them to separate functions.

Signed-off-by: Andrea Spadaccini <>
Reviewed-by: Iustin Pop <>

5a85b99e 11/04/2011 08:09 am Michael Hanselmann

Add QA test for “gnt-debug delay”

This would have caught a bug introduced with the recent RPC changes.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

539d65ba 10/17/2011 04:58 pm Michael Hanselmann

RAPI: Fix resource for replacing disks

Commit d1c172deb4f inadvertently changes the
“/2/instances/[instance_name]/replace-disks” resource to use body
parameters. There were no QA tests and the issue wasn't noticed.

This patch re-introduces support for query parameters and adds a QA...

a7418448 09/22/2011 02:31 pm Michael Hanselmann

QA: Add tests for instance start/stop via RAPI

This would have detected the issue fixed in the previous patch.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

21bf2e2e 08/30/2011 02:00 pm Andrea Spadaccini

PEP8 for QA

- Makefile.am: added QA directory to the paths checked by pep8
- qa/: fixed the reported errors
- Makefile.am: also, added qa_group.py to qa_scripts

Signed-off-by: Andrea Spadaccini <>
Reviewed-by: Michael Hanselmann <>

b459a848 08/30/2011 11:24 am Andrea Spadaccini

DeprecationWarning fixes for pylint

In version 0.21, pylint unified all the disable-* (and enable-*)
directives to disable (resp. enable). This leads to a lot of
DeprecationWarning being emitted even if one uses the recommended
version of pylint (0.21.1, as stated in devnotes.rst)....

d0c8c01d 07/25/2011 04:55 pm Iustin Pop

Most boring patch ever

s/'/"/ in (hopefully) the right places.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

c0a146a1 07/21/2011 04:25 pm Michael Hanselmann

Implement instance failover via RAPI

No idea why this was missed before.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

6aac5aef 05/20/2011 11:11 am Iustin Pop

Merge remote branch 'origin/devel-2.4'

  • origin/devel-2.4:
    Fix errors in hooks documentation
    Clarify a bit the noded man page
    Note --no-remember in NEWS
    Switch QA over to using instance stop --no-remember
    Implement no_remember at RAPI level
    Implement no_remember at CLI level...
b998270c 05/16/2011 04:24 pm Iustin Pop

Switch QA over to using instance stop --no-remember

Instead of hardcoded Xen commands. This will make it work for all
hypervisors, instead of duplicating hypervisor functionality in QA
itself.

The timeout has been removed as gnt-instance stop itself will make...

fe508a9d 04/21/2011 04:08 pm Michael Hanselmann

QA: Add tests for node group tags

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

24fed61e 04/21/2011 02:53 pm René Nussbaumer

QA: Adding a config option to disable cluster epo

Signed-off-by: René Nussbaumer <>
Reviewed-by: Iustin Pop <>

65a884ef 04/14/2011 07:35 pm Iustin Pop

QA: also run gnt-cluster repair-disk-sizes

So that we don't happen again to break this forever without realising
it.

The patch also replaces one ' with ".

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

3e8b5a9c 04/14/2011 11:37 am Iustin Pop

QA: run the redist-conf command

This was (AFAICS) completely missing from the QA suite.

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

4fab7cab 03/15/2011 03:11 pm Michael Hanselmann

QA: Add tests for queries via RAPI

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

2932dc44 03/08/2011 12:55 pm Michael Hanselmann

QA: Improve tests for gnt-os

- Test OS lists via command line and RAPI
- Test “gnt-os diagnose” and “gnt-os info”

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

074e139f 03/08/2011 12:55 pm Michael Hanselmann

QA: Rename OS state test for clarification

Also add an additional check to ensure the OS does not exist.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

ff699aa9 02/28/2011 05:26 pm Michael Hanselmann

gnt-cluster master-failover: Undrain queue

- Move functions for drain status (tracked via file) from jqueue to jstore
- Undrain queue on master failover if necessary
- Add QA test

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

66d1f035 02/24/2011 12:28 pm René Nussbaumer

Introducing gnt-cluster epo

This is a convenience command to do an automated EPO in the possible limits of
Ganeti.

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

0220d2cf 02/18/2011 02:16 pm Guido Trotter

Add QA rapi test for instance reinstall

This tests at least the basic case, unfortunately there is no way to
check all possibilities using the provided rapi client, as that will use
the new method unless the cluster doesn't support it.

Signed-off-by: Guido Trotter <>...

b82d4c5e 01/28/2011 04:31 pm Michael Hanselmann

Add RAPI resource for instance console

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

b9e478fe 01/28/2011 12:35 pm Michael Hanselmann

Small QA fixes: groups via RAPI, cluster OOB

Add “cluster-oob” to sample configuration file. Don't run RAPI group
tests if disabled.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

3582eef6 01/12/2011 12:41 pm Iustin Pop

Run pylint over QA code too

Right now, the QA code is not covered by pylint, and this shows at
least one low-impact bug.

This patch does the necessary changes to make QA pylint-clean, and the
changes the makefile to run pylint for it.

Notable changes:
...

f7e6f3c8 01/12/2011 11:18 am Iustin Pop

QA: use a persistent SSH connection to the master

The recent additions to QA (many more tests) make QA slow if the
machine on which the QA runs is not very close to the tested nodes —
or in general, when the SSH handhaske is costly.

We discussed before about using a persistent connection, and here is...

69df9d2b 01/12/2011 10:17 am Iustin Pop

QA: Fix duplicated OOB tests

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...

f3fd2c9d 01/10/2011 06:32 pm Adeodato Simo

Add QA tests for OpAssignGroupNodes

Signed-off-by: Adeodato Simo <>
Reviewed-by: Michael Hanselmann <>

7ab8b7d7 01/06/2011 03:02 pm Adeodato Simo

qa_group.py: reimplement query tests with qa_utils

Now that group queries use query2 infrastructure, update the QA tests to
use the generic functions in qa_utils.py.

Signed-off-by: Adeodato Simo <>
Reviewed-by: Iustin Pop <>

930e77d1 12/20/2010 04:18 pm Michael Hanselmann

ganeti-qa: Wrap lines longer than 80 chars

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

1ef6e776 12/17/2010 06:42 pm Michael Hanselmann

Merge branch 'devel-2.3'

  • devel-2.3:
    QA: Run cluster-verify as part of all instance tests
    QA: Fix typo and add “not”
    ensure-dirs: Speed up when using big queues
    Fix gnt-cluster verify with diskless instances

Conflicts:
lib/cmdlib.py: Trivial
qa/ganeti-qa.py: Trivial...

d27150a9 12/17/2010 05:47 pm Michael Hanselmann

QA: Run cluster-verify as part of all instance tests

“gnt-cluster verify” looks at some per-instance information as well, so
it should be run for each instance type QA tests.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

65924a12 12/17/2010 05:45 pm Michael Hanselmann

QA: Fix typo and add “not”

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

a1de4b18 12/16/2010 09:57 am René Nussbaumer

QA: Add some basic OOB tests

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

2214cf14 12/14/2010 03:23 pm Michael Hanselmann

QA: Extend unittests for query operations, add tests for list-fields

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

4b10fb65 12/13/2010 06:33 pm Adeodato Simo

More QA tests for group operations

This adds QA tests for the SetGroupParams operation, both for CLI and
RAPI. Additionally, it adds tests for add/rename/remove groups via RAPI,
which had not been included in a previous patch series. Finally, it also
tests setting "alloc_policy" (and, for the CLI, "ndparams") at group...

288d6440 12/10/2010 06:26 pm Michael Hanselmann

QA: Improve tests for instance/node list

- Query all known fields
- Random combinations (using a PRNG with a fixed seed) of fields
- Order of result names

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

46747143 12/09/2010 02:38 pm Guido Trotter

qa: test same-name instance rename

Use the simplified command and rapi version to perform an instance
rename to the same name. This is performed anytime the rename test is
enabled, while the "other-name" rename is performed when also an
alternative name is provided....

e5c2accd 12/09/2010 02:37 pm Guido Trotter

Simplify instance rename qa test

The current instance rename qa testing function can only perform
back-and-forth renames, both for command line and rapi. In order to be
able to perform same-name rename tests we change it to be able to
perform simple renames, and then we change qa to call it to perform both...

66787da5 12/08/2010 04:59 pm Adeodato Simo

Group operations: add QA tests for add/remove/rename

This is a single function that tests all of of the following:

- creating groups
- creating groups that exist fails
- renaming an empty group
- renaming a group with nodes
- renaming to a name that already exists fails...
30131294 12/01/2010 09:40 pm Adeodato Simo

Querying node groups: add QA tests

This adds QA tests for both CLI and RAPI.

Signed-off-by: Adeodato Simo <>
Signed-off-by: Iustin Pop <>
Reviewed-by: Iustin Pop <>

7d88f255 11/30/2010 05:03 pm Iustin Pop

Further cleanups on QA

This is more of an RFC. The patch attempts to address two issues:

- running conditional tests is ugly right now
- we don't know what tests we skipped

By using the new RunTestIf, we solve both. But a significant number of
test decisions are more complex than just “is test enabled”, so those...

86c340af 11/17/2010 05:45 pm Iustin Pop

Merge branch 'devel-2.2' into devel-2.3

  • devel-2.2:
    QA: add tests for gnt-cluster modify -B
    LUSetClusterParms: fix validation of beparams

Conflicts:
lib/cmdlib.py (reverted & applied manually the change)

Signed-off-by: Iustin Pop <>...

9738ca94 11/17/2010 02:14 pm Iustin Pop

QA: add tests for gnt-cluster modify -B

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

7b4eed05 11/03/2010 04:44 pm Michael Hanselmann

QA: Run “gnt-cluster verify” while DRBD instance exists

This tests some parts of the disk information collection.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Luca Bigliardi <>

3b01286e 10/28/2010 07:56 pm Michael Hanselmann

LUExportInstance: Accept instance already shut down

To remove the instance after an export it needs to be stopped. This can
be achived using the parameter “shutdown”, or by explicitly shutting
down the instance before exporting. The latter would still require the...

cd04f8c2 10/28/2010 07:56 pm Michael Hanselmann

QA: Allow job queue test to be disabled

On my machine it takes over 30 seconds, disabling it can
speed up the QA.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

729c4377 10/25/2010 12:23 pm Iustin Pop

Fix QA mixup of node/instance tests

There are two node tests that are run from RunCommonInstanceTests, which is the
bad place—it causes these node tests to be run three times instead of once.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

d0cb68cb 10/20/2010 03:04 pm Michael Hanselmann

QA: Add test for “gnt-node modify”

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

76917d97 10/14/2010 03:29 pm Iustin Pop

Brown-bag fix for leftover comment

I did forgot this in the original patch. Sorry!!!!

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

8201b996 10/14/2010 02:53 pm Iustin Pop

Rework QA interaction with the watcher

The interaction with cron-launched watcher is a well-known failure mode of QA:

---- 2010-10-14 06:54:55.464839 time=0:00:56.764827 Test tools/move-instance

For the following tests it's recommended to turn off the ganeti-watcher cronjob....

f89d59b9 10/08/2010 03:55 pm Iustin Pop

Change QA log output

Currently, the logging in QA doesn't show the duration of the various
steps, and if it is needed one has to perform log manipulation. This
patch changes the output so that the log informatio is line based (as
opposed to block-based), such that it's easy to grep for all log lines:...

638a7266 10/07/2010 03:16 pm Iustin Pop

Try again to fix the inter-cluster move QA test

This time, we re-establish the old pri/sec nodes corretly. Unfortunately this
will require now a 3-node cluster at least for drbd instances, hence it's
somewhat suboptimal, but… The other option would be to move it simply from p:s...

677e16eb 10/06/2010 03:38 pm Iustin Pop

QA: Fix instance move tests

The instance move tests were moving the instance from node pair (A,_) to
(B, A), and left it there. This patch makes sure that the first step
moves the instance to (B,A) but the second one back to (A,B), so that
the instance is left on the same primary node....

e1df06f2 09/30/2010 03:10 am Iustin Pop

Add some trivial QA tests for the new OS states

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

1377433b 08/19/2010 06:30 pm Michael Hanselmann

QA: Run simple job queue test

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

3b7158ef 08/18/2010 02:21 pm Michael Hanselmann

RAPI client: Support modifying instances

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

bc696589 08/10/2010 07:35 pm Michael Hanselmann

gnt-backup: Don't show confusing message w/o target node

“gnt-backup export” requires the target node. Until now, the master
daemon would complain that the “parameter
'OP_BACKUP_EXPORT.target_node' fails validation”. With this patch,
an additional check is done in the client program....

7fb50870 08/10/2010 06:56 pm Michael Hanselmann

QA: Test renaming instance via RAPI

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

938bde86 07/29/2010 04:05 pm Michael Hanselmann

QA: Test instance migration via CLI and RAPI

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

452913ed 07/26/2010 05:55 pm Iustin Pop

QA: add tests for the reserved lvs feature

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

801b6a33 07/01/2010 05:31 pm Guido Trotter

Merge branch 'stable-2.1'

  • stable-2.1:
    Bump up version for 2.1.5 release
    RapiClient: fix multi-authentication in Python 2.6
    Remove rapi-user and rapi-pass from qa-sample.json
    qa: fix gnt-instance modify -t drbd
    qa: shutdown instance before trying disk convert...
2a7c3583 07/01/2010 03:13 pm Michael Hanselmann

RAPI client: Switch to pycURL

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.
...

f9f0ce7f 07/01/2010 01:20 pm Guido Trotter

qa: shutdown instance before trying disk convert

Because we have to. :)

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

5d831182 06/14/2010 07:57 pm Michael Hanselmann

qa_rapi: Test inter-cluster instance move script

This test moves an instance on the same cluster and, if successful,
moves it back. While not testing a real move between two clusters,
this is certainly better than nothing.

Signed-off-by: Michael Hanselmann <>...

1c54156d 05/13/2010 07:40 pm Luca Bigliardi

Merge branch 'devel-2.1'

Conflicts:
daemons/ganeti-noded
lib/daemon.py
lib/rapi/baserlib.py
lib/rapi/rlib2.py
lib/utils.py

Signed-off-by: Luca Bigliardi <>
Reviewed-by: Michael Hanselmann <>

924e95f9 05/13/2010 04:58 pm Michael Hanselmann

QA: Test instance creation/deletion via RAPI client

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>

5e26633b 05/11/2010 09:25 pm Michael Hanselmann

Merge branch 'devel-2.1'

  • devel-2.1: (29 commits)
    RAPI client: Improve SSL error reporting
    RAPI client: Don't check node role in client
    RAPI client: Update ReplaceInstanceDisks
    RAPI client: Fix behaviour of “allocatable” storage flag
    RAPI client: Encode boolean and None query values...
2771835c 05/11/2010 06:04 pm Michael Hanselmann

RAPI QA: Use RAPI client

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

01144827 05/10/2010 12:44 pm Guido Trotter

Merge branch 'devel-2.1'

  • devel-2.1: (22 commits)
    NEWS: fix empty lines
    Fix a unittest name and docstring
    Force ssh to allocate a tty
    Fix a unittest docstring
    IsProcessAlive: retry stat() a few times
    Retry{Again,Timeout}: explain reraising
    utils.Retry: pass up timeout arguments...
8cb70e56 05/05/2010 01:20 pm Michael Hanselmann

RAPI QA: Test instance creation/removal via RAPI

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

af2ae1c0 04/16/2010 03:06 pm Iustin Pop

Merge branch 'devel-2.1'

  • devel-2.1:
    utils: Add class to split string stream into lines
    Fix cluster behaviour with disabled file storage
    Update docstrings in tools/ and enable epydoc
    Forward-port the ganeti 2.0 cfgupgrade
    Add a new tool: sanitize-config...
725ec2f1 04/12/2010 05:53 pm René Nussbaumer

QA: Make the rapi credential handling less involving

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

b701a5df 03/15/2010 05:50 pm Iustin Pop

Merge remote branch 'origin/devel-2.1'

  • origin/devel-2.1:
    Implement QA tests for disk template changes
    Update instance modify documentation
    Implement conversion from drbd to plain
    Implement conversion from plain to drbd
    Abstract check that an instance is down...
7f69aabb 03/15/2010 05:46 pm Iustin Pop

Implement QA tests for disk template changes

The new test depends on the drbd type tests being enabled, and test
conversion to plain and back to drbd.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

bb3776b4 03/15/2010 04:25 pm Michael Hanselmann

Merge remote branch 'origin/devel-2.1'

  • origin/devel-2.1: (116 commits)
    Implement replacing cluster certs and keys via “gnt-cluster renew-crypto”
    cli: Add helper function to stop and start whole cluster
    cfgupgrade: Use new bootstrap function for certs and keys...
6d4a1656 03/12/2010 05:45 pm Michael Hanselmann

Implement replacing cluster certs and keys via “gnt-cluster renew-crypto”

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...

fca11dec 03/11/2010 05:19 pm René Nussbaumer

Adding qa tests for gnt-os modify

This adds basic qa tests for gnt-os modify

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

8a28f591 02/15/2010 07:04 pm Michael Hanselmann

Merge branch 'devel-2.1'

  • devel-2.1: (31 commits)
    Add unittest for utils._FingerprintFile
    Release all node locks during disk replace
    Unify a few re.compile calls in DRBD
    Auto-enable early release for offline old nodes
    Skip line-length warnings in man...
8d8d650c 02/12/2010 05:06 pm Michael Hanselmann

Add command line options for instance removal on export

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

18337ca9 02/09/2010 01:34 pm Iustin Pop

Implement instance rename QA tests

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

8e671b7c 11/25/2009 04:36 pm Iustin Pop

QA: improve usability with cluster-init: False

When not initialising the cluster, consider all nodes are added, so that
multi-node tests (e.g. export, replace) work correctly (if there are
nodes, of course).

Signed-off-by: Iustin Pop <>...

8e1db003 11/02/2009 02:04 pm Michael Hanselmann

Add QA test for “gnt-node {list,modify,repair}-storage”

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

a5b9d725 02/05/2009 11:47 am Iustin Pop

Revive RAPI QA tests for 2.0-style RAPI

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...

26a61f87 09/05/2008 03:19 pm Michael Hanselmann

QA: Remove dry run mode

It didn't work as planned because some commands depend on the return
value or output of some operations.

Reviewed-by: iustinp

a39ec11a 08/18/2008 12:59 pm Michael Hanselmann

QA: Do not upload known_hosts file anymore

The cluster no longer keeps individual host's SSH key, but rather
aliases all of them to the cluster name.

Reviewed-by: ultrotter

ed54b47e 08/15/2008 11:43 am Michael Hanselmann

Remove QA hook functionality

To my knowledge they're used nowhere and it's at least slightly
confusing to people adding new QA checks.

Reviewed-by: ultrotter

a47f574c 07/15/2008 04:36 pm Oleksiy Mishchenko

Migrate RAPI QA to trunk.

Reviewed-by: imsnah

76f59a32 06/06/2008 12:32 pm Michael Hanselmann

Forward-port: Fix two problems in QA scripts

- Failover back to original node in instance failure test
- Exclude secondary node from list of potential nodes in
replace-disks test

Reviewed-by: iustinp