Statistics
| Branch: | Tag: | Revision:

root / qa @ 288d6440

Name Size
ganeti-qa.py 13.6 kB
qa-sample.json 3 kB
qa_cluster.py 10.4 kB
qa_config.py 3.1 kB
qa_daemon.py 3.7 kB
qa_env.py 2.2 kB
qa_error.py 1 kB
qa_group.py 2.2 kB
qa_instance.py 12.2 kB
qa_node.py 6 kB
qa_os.py 4.1 kB
qa_rapi.py 12.5 kB
qa_tags.py 1.9 kB
qa_utils.py 8.8 kB

Latest revisions

# Date Author Comment
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...

75cf411a 12/08/2010 09:45 pm Adeodato Simo

Introduce constant for the name of the initial node group

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

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...
84d7e26b 12/02/2010 03:46 pm Dmitry Chernyak

Make rpc.call_lv_list() VG-aware

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

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

49ceab21 11/29/2010 08:26 pm Michael Hanselmann

QA: Fix upload of RAPI users file

After moving the users file to a directory, we must ensure the
directory exists.

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

2f4b4f78 11/29/2010 03:37 pm Iustin Pop

Simplify QA commands

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

View revisions

Also available in: Atom