Statistics
| Branch: | Tag: | Revision:

root / qa / qa_node.py @ f3fd2c9d

History | View | Annotate | Download (12 kB)

# Date Author Comment
8abc36f1 01/06/2011 12:21 pm René Nussbaumer

QA: Remove 'oob_program=default' on gnt-cluster modify

On cluster level there's no 'default' because it's the highest cascading
level. Due to this 'default' is a valid value and doesn't mean to remove
the value from the dict like it does on the other levels. To overcome...

ac63b093 01/04/2011 07:18 pm Michael Hanselmann

QA: Fix out-of-band tests

- Handle situations with no non-master node
- Expand node name to make test work when configuration just has short
names (e.g. “node1” instead of “node1.example.com”)

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

abb24834 12/17/2010 06:51 pm René Nussbaumer

Adapt QA for change in behaviour

As we can't test this on master anymore (if we flag the node offline we
would change master role on master) we use the first non master node we
find in the configuration

Signed-off-by: René Nussbaumer <>
Reviewed-by: Iustin Pop <>

a1de4b18 12/16/2010 09:57 am René Nussbaumer

QA: Add some basic OOB tests

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

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

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

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)...
d0cb68cb 10/20/2010 03:04 pm Michael Hanselmann

QA: Add test for “gnt-node modify”

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

338180f5 08/25/2010 02:07 pm René Nussbaumer

Revert "Don't provide --no-ssh-key-check for QA"

This reverts commit dc092ece1bd07e9fa6ed97de8b4a3f360b26725e.

Signed-off-by: René Nussbaumer <>
Reviewed-by: Guido Trotter <>

dc092ece 08/20/2010 03:53 pm René Nussbaumer

Don't provide --no-ssh-key-check for QA

My last setup-ssh patch series removed this option. Though, this is
just a temporary fix as a patch series is coming which revert that
behaviour to the old state

Signed-off-by: René Nussbaumer <>
Reviewed-by: Guido Trotter <>

8e671b7c 11/25/2009 04:36 pm Iustin Pop

QA: improve usability with cluster-init: False

When not initialising the cluster, consider all nodes are added, so that
multi-node tests (e.g. export, replace) work correctly (if there are
nodes, of course).

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

8e1db003 11/02/2009 02:04 pm Michael Hanselmann

Add QA test for “gnt-node {list,modify,repair}-storage”

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

aca55e15 08/28/2009 06:24 pm Michael Hanselmann

Fix QA test for “gnt-node evacuate”

Before the arguments weren't valid.

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

28a90aff 08/18/2008 01:17 pm Michael Hanselmann

QA: Always accept added node's SSH key

Reviewed-by: ultrotter

ed54b47e 08/15/2008 11:43 am Michael Hanselmann

Remove QA hook functionality

To my knowledge they're used nowhere and it's at least slightly
confusing to people adding new QA checks.

Reviewed-by: ultrotter

102b115b 05/13/2008 05:26 pm Michael Hanselmann

Forward-port changes made to readd in 1.2

qa_node.py: Fix typo in message
cmdlib.py: Don't add readded node to node list
ganeti-qa.py: Make sure readd isn't done for master node

Reviewed-by: iustinp

e7c6e02b 04/16/2008 09:22 pm Michael Hanselmann

Add --readd option to “gnt-node add”

This allows us to readd a node after it failed and required a
reinstallation or replacement.

Reviewed-by: iustinp

c68d1f43 02/14/2008 05:39 pm Michael Hanselmann

Code style updates for QA code.

Reviewed-by: iustinp

f4bc1f2c 12/03/2007 04:03 pm Michael Hanselmann

Various code style fixes for strings.

- When line wrapping is needed, move spaces to the next line.
- Remove embedded line breaks from error messages.

Reviewed-by: schreiberal

e42b5307 11/08/2007 01:51 pm Michael Hanselmann

Insert hook calls.

Reviewed-by: schreiberal

b1ffe1eb 11/01/2007 03:54 pm Michael Hanselmann

Cleanup QA scripts.

- Split main() function into several small ones.
- Current work on disk failure tests. This is not yet finished.
- Fix small typo in qa_node.py.

Reviewed-by: schreiberal

d7e49c13 10/12/2007 06:41 pm Michael Hanselmann

Small wording changes and fix checks.

Reviewed-by: iustinp

4b62db14 10/12/2007 05:33 pm Michael Hanselmann

Test “gnt-node evacuate” and “gnt-node failover” in QA.

Reviewed-by: schreiberal

cec9845c 09/13/2007 03:46 pm Michael Hanselmann

Split QA script into different modules.

Reviewed-by: iustinp