Statistics
| Branch: | Tag: | Revision:

root / qa @ 241cea1e

Name Size
__init__.py 810 Bytes
ganeti-qa.py 23.3 kB
qa-sample.json 4.9 kB
qa_cluster.py 28.2 kB
qa_config.py 7.8 kB
qa_daemon.py 3.6 kB
qa_env.py 2.3 kB
qa_error.py 1 kB
qa_group.py 5.6 kB
qa_instance.py 26.6 kB
qa_job.py 1.1 kB
qa_node.py 15.2 kB
qa_os.py 6.9 kB
qa_rapi.py 23.2 kB
qa_tags.py 2 kB
qa_utils.py 19 kB

Latest revisions

# Date Author Comment
fa84c8a4 03/11/2013 08:57 pm Bernardo Dal Seno

Add QA for instance creation with policy violation

When instance policy is violated, creation fails.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Guido Trotter <>

ab4832d1 03/11/2013 08:57 pm Bernardo Dal Seno

Add QA for policy-instance interactions

Violations on policy changes are checked.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Guido Trotter <>

b3f3aa3d 03/11/2013 08:57 pm Bernardo Dal Seno

Add QA for cluster policies

qa_cluster.TestClusterSetISpecs() is exported as it will be used in future
tests.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Guido Trotter <>

6ea2bb8c 03/11/2013 08:56 pm Bernardo Dal Seno

Fix restoring default instance specs in group policies

"default" was not accepted as a valid input value for instance specs in
group policies, due to a bug introduced in 2cc673a3e (and released with
2.6.0). Added QA for this and another similar case.

Signed-off-by: Bernardo Dal Seno <>...

3c87d614 03/04/2013 05:18 pm Iustin Pop

Fix QA with disabled file storage

Currently QA tries to use “gnt-node list-storage” with all storage
types, but when file storage is disabled this will fail.

The patch changes it so that if file storage is disabled, we test that
indeed fails, and otherwise we include it in the regular tests....

becf9d5c 02/12/2013 02:05 pm Michael Hanselmann

QA: Support additional arguments for initialization

In some scenarios it can be useful to add more arguments to “gnt-cluster
init”, such as “--no-drbd-storage”, if DRBD is not installed.

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

3b0db9e3 02/12/2013 02:02 pm Michael Hanselmann

qa_utils: Fix order of arguments passed to _AssertRetCode

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

250a9404 02/11/2013 04:21 pm Bernardo Dal Seno

"exclusive_storage" cannot be changed on single nodes

There's never been support for a configuration where nodes in the same node
group have different values of the exclusive_storage flag. This patch
disables the possibility to change the flag for individual nodes....

93146c8c 02/05/2013 06:15 pm Iustin Pop

Redirect output for gnt-* list/list-fields commands

This enabled the redirection; QA output after this patch should become
much much smaller (on a 'quick' QA, we are left with ~0.5MB output on
stdout and 64MB redirected output).

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

afd5ca04 02/05/2013 06:15 pm Iustin Pop

Add function to execute QA commands with redirected output

Some QA commands generate non-trivial output: for a full QA, the gnt-*
list commands generate more than 300MB of data. To make the QA logs
more parseable by humans, we need support for redirecting output of...

View revisions

Also available in: Atom