This patch series provides some QA for exclusive-storage. The series is
logically divided in two. The first six patches (until "QA: Cluster-verify
reports..") add checks for the new behaviors introduced by exclusive storage
(the first two patches contain only support functions, the actual checks are
in the last four patches).
Patches 7-17 contain code to run the exiting instance tests with exclusive
storage enabled. To avoid code duplication, some refactoring has been
necessary. The basic idea is to have the possibility to run the same batch
of tests with different configuration and different disk templates. The
first eight patches, 7-14 ("QA fix: TestInstanceExportWithRemove().." to
"QA: Use lists of nodes.."), is just preparatory work, and patch 16 ("QA:
Run cluster-verify..") is a small improvement. Patch 15 ("QA: Refactored
launching..") and 17 ("QA: Run instance tests..") are the core: the first
merges the logic controlling the tests of different disk templates, and the
second introduces a new loop around it to test different configurations of
the cluster.
No deployed code is touched by this series, so I've sent it for 2.7.
Bernardo Dal Seno (17):
QA: Added function to check cluster-verify result
QA: Added function to read cluster configuration fields
QA: Test for basic features of exclusive storage
QA: Uniformity check for exclusive_storage in cluster-verify
QA: Templates incompatible with exclusive storage reported
QA: Cluster-verify reports shared PVs with exclusive storage
QA fix: TestInstanceExportWithRemove() updates configuration
QA cleanup: Removed instance-disk-failure test
QA: Added disk template to config
QA: Better initialization of a global dictionary
QA: added exclusive_storage to qa_config
QA: Added functions to allocate/free N nodes at the same time
QA: Instance tests check the configuration before running
QA: Use lists of nodes as argument to instance tests
QA: Refactored launching of the various instance tests
QA: Run cluster-verify after instance tests
QA: Run instance tests with different cluster configurations
qa/ganeti-qa.py | 244 ++++++++++++++++++++++++++++++++----------------------
qa/qa-sample.json | 10 ++-
qa/qa_cluster.py | 136 +++++++++++++++++++++++++++++-
qa/qa_config.py | 90 ++++++++++++++++++--
qa/qa_instance.py | 207 ++++++++++++++-------------------------------
qa/qa_rapi.py | 37 +++++++--
qa/qa_utils.py | 40 ++++++---
7 files changed, 488 insertions(+), 276 deletions(-)
--
1.8.1
--
You received this message because you are subscribed to the Google Groups
"ganeti-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.