Statistics
| Branch: | Tag: | Revision:

root / qa @ e35c341e

Name Size
__init__.py 810 Bytes
ganeti-qa.py 21.6 kB
qa-sample.json 5.1 kB
qa_cluster.py 21.5 kB
qa_config.py 15 kB
qa_daemon.py 3.7 kB
qa_env.py 2.2 kB
qa_error.py 1 kB
qa_group.py 5.3 kB
qa_instance.py 24.3 kB
qa_job.py 1.1 kB
qa_network.py 2.5 kB
qa_node.py 14.8 kB
qa_os.py 6.9 kB
qa_rapi.py 22.9 kB
qa_tags.py 2 kB
qa_utils.py 20.8 kB

Latest revisions

# Date Author Comment
e35c341e 02/27/2013 03:59 pm Michael Hanselmann

qa_instance: Virtual cluster support for instance list

Use path of virtual node when retrieving ssconf's instance list.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Bernardo Dal Seno <>

ea0d8b70 02/27/2013 03:58 pm Michael Hanselmann

qa_daemon: Virtual cluster support

Use virtual node path when removing the watcher status file.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Bernardo Dal Seno <>

7160f14a 02/27/2013 03:58 pm Michael Hanselmann

qa_utils: Support virtual cluster for backup files

“qa_utils.BackupFile” is always called with the path for a normal node.
In virtual clusters the node prefix path must be added.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Bernardo Dal Seno <>

50eaa5da 02/27/2013 03:58 pm Michael Hanselmann

qa_utils: Virtual cluster support for SSH commands

In virtual clusters, all “gnt-*” and “ganeti-*” commands require
environment variables to be set for the virtual cluster root directory
and node name. The “cmd” script generated by “vcluster-setup” is a
wrapper setting those variables....

c072e788 02/27/2013 03:11 pm Michael Hanselmann

qa_config: Support callable test checks

Until now all tests depended on simple AND/OR conditions. With the
introduction of virtual cluster support, some tests can only run if
virtual clusters are not in use (e.g. not yet supported or not
possible). Instead of introducing more logic for enabling/disabling...

76fda900 02/27/2013 03:11 pm Michael Hanselmann

QA: Add config entries for virtual cluster

If these new options are set, a virtual cluster is created and used.
Virtual clusters consist of 1..N virtual nodes on a single physical (or
virtual) node. The design of virtual clusters is described in
“doc/design-virtual-clusters.rst”....

41be279f 02/20/2013 06:45 pm Michael Hanselmann

qa_config.AcquireNode: Use sort key function

Use a sort key function instead of using a comparing function (“cmp=…”).
The latter is not supported in Python 3 and using a sort key function is
easier.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Bernardo Dal Seno <>

e80edd3b 02/20/2013 06:45 pm Michael Hanselmann

qa_config: Add repr for instance/node classes

Having a readable representation makes debugging easier.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Bernardo Dal Seno <>

47aa6ec9 02/20/2013 03:38 pm Michael Hanselmann

QA: Add validation for cluster name

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Bernardo Dal Seno <>

2176724e 02/20/2013 03:38 pm Michael Hanselmann

QA: Acquire instance via method

Also make “used” a property.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Bernardo Dal Seno <>

View revisions

Also available in: Atom