Statistics
| Branch: | Tag: | Revision:

root / qa @ 63c73073

Name Size
__init__.py 810 Bytes
ganeti-qa.py 19.1 kB
qa-sample.json 4.3 kB
qa_cluster.py 17 kB
qa_config.py 6.2 kB
qa_daemon.py 3.6 kB
qa_env.py 2.3 kB
qa_error.py 1 kB
qa_group.py 5.5 kB
qa_instance.py 26.5 kB
qa_job.py 1.1 kB
qa_node.py 14.4 kB
qa_os.py 6.9 kB
qa_rapi.py 22.2 kB
qa_tags.py 2 kB
qa_utils.py 16.9 kB

Latest revisions

# Date Author Comment
1ba25bad 12/19/2012 07:26 pm Guido Trotter

Fix QA for --offline semantics modification

The previous patch series made it simpler to deal with ERROR_up offline
instances, but didn't fix qa, that had the old expectations. This fixes
that, and adds more testing about the expected behavior.

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

b8028dcf 12/19/2012 06:29 pm Michael Hanselmann

Replace frozenset with compat.UniqueFrozenset

This is not a trivial s/frozenset/compat.UniqueFrozenset/, but rather
only replaces “frozenset” where appropriate. Most of the places are
“static” information that doesn't change after the module has been
loaded....

45317e3a 12/19/2012 03:45 pm Iustin Pop

Remove some unused Python code

This patch removes code which is no longer used due to refactoring:

- http.InitSsl, last usage removed in commit 33231500 (“Convert RPC
client to PycURL”)
- rapi.baserlib.MakeParamsDict, last usage remove in commit 4e5a68f8...

05325a35 12/18/2012 04:09 pm Bernardo Dal Seno

Fixes and improvements to comments

Some fixes, added more information in a few points, removed a stale (5+
year old) TODO comment.

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

3c286190 11/20/2012 07:51 pm Dimitris Aragiorgis

Fixes to pass pep8 (make lint)

Signed-off-by: Dimitris Aragiorgis <>
Reviewed-by: Iustin Pop <>

b07afbb3 10/19/2012 05:55 pm Iustin Pop

Add a small QA check in instance renames for tags update

We also need to change the signature for _GetInstanceInfo, since we
don't have access to the instance dictionary in the rename instance
test.

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

479197d5 10/11/2012 04:49 pm Bernardo Dal Seno

QA: TestAssignNodesIncludingSplit can be disabled

The test can now be enabled/disabled with the "group-rwops" flag.

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

6f058bf2 10/11/2012 04:49 pm Bernardo Dal Seno

QA: never put a master node offline

Before, it could happen that the master node was chosen to be set offline
in the "instance-remove-drbd-offline" test. Also changed a finally clause
to make sure that an exception while making the node online doesn't break...

e85be22a 10/11/2012 04:48 pm Bernardo Dal Seno

Add option to disable iallocator use in QA

By default some QA tests use iallocators. It is now possible to disable
iallocators in QA, so that QA doesn't force having iallocators set up.
The affected tests have now alternatives pathways.

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

48967eb0 10/11/2012 12:56 pm Michael Hanselmann

qa_utils: Stop hardcoding path to /etc/hosts

- Simplified shell command for adding hosts, too
- The exception handling is also improved by re-raising any exceptions
instead of swallowing qa_error.Error

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

View revisions

Also available in: Atom