Statistics
| Branch: | Tag: | Revision:

root / qa @ 2214cf14

Name Size
ganeti-qa.py 13.9 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 3.2 kB
qa_instance.py 12.3 kB
qa_node.py 6.2 kB
qa_os.py 4.1 kB
qa_rapi.py 13.8 kB
qa_tags.py 1.9 kB
qa_utils.py 9.9 kB

Latest revisions

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

90e99856 12/13/2010 06:33 pm Adeodato Simo

Add the "alloc_policy" attribute to node groups

This can be set at group creation time and via OpSetGroupParams. The default
is "preferred", and existing node groups from previous Ganeti version will
get the attribute set to this value.

Signed-off-by: Adeodato Simo <>...

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

View revisions

Also available in: Atom