Statistics
| Branch: | Tag: | Revision:

root / qa @ 82ce55fa

# Date Author Comment
82ce55fa 01/09/2014 02:03 pm Hrvoje Ribicic

Use options for turning functionality on/off

Two command-line options are added: one for confirming that the test
has been started intentionally, and one for showing the method
invocation output, which is useful, but not always needed.

Signed-off-by: Hrvoje Ribicic <>...

dd2bc9b6 01/09/2014 02:03 pm Hrvoje Ribicic

Add job cancellation workload

To examine if jobs can be cancelled correctly, provide workload related
to this as well.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Helga Velroyen <>

b896bb66 01/09/2014 02:03 pm Hrvoje Ribicic

Add cluster parameter change workload

One of the few leftover unused RAPI methods is the cluster modify
method. This patch tests it by setting and unsetting various safe
values.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Helga Velroyen <>

17733ecb 01/09/2014 02:03 pm Hrvoje Ribicic

Make an instance move workload that works in 2.6

The instance move workload present before this patch works on 2.11, but
fails on 2.6. The 2.11 workload will still be useful should any later
version of Ganeti use it as reference, but a 2.6 workload has to be...

9578de1c 01/09/2014 02:03 pm Hrvoje Ribicic

Add instance move workload

Through the use of functions provided by the rapi QA, all the requests
related to instance moves can be exercised.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Helga Velroyen <>

66743fe3 01/09/2014 02:03 pm Hrvoje Ribicic

Allow the skipping of checks for inter-cluster move test

The inter-cluster instance move test is very interesting for the RAPI
compatibility tests, as it uses many RAPI requests that are otherwise
hard to exercise. It uses no command-line functionality apart from...

e5351ee9 01/09/2014 02:03 pm Hrvoje Ribicic

Make the finish function return the error status explicitly

The earlier version of the Finish function assumed that checking if the
value of the response is None would suffice to check if any errors have
occurred. This is not, and this patch adjusts the function to expose...

c2e22e7b 01/09/2014 02:03 pm Hrvoje Ribicic

Add migration and failover workload

This patch introduces additional calls adding migration and failover
RAPI operations, moving a DRBD-disk template instance between nodes.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Helga Velroyen <>

396c5dfb 01/09/2014 02:03 pm Hrvoje Ribicic

Add tracking of used client methods

As a helper or a warning to anyone extending the RAPI client, the
client wrapper now warns of unused methods or method arguments.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Helga Velroyen <>

82a8bf3e 01/09/2014 02:02 pm Hrvoje Ribicic

Add network workload

This patch exercises the network RAPI commands.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Helga Velroyen <>

4236968a 01/09/2014 02:02 pm Hrvoje Ribicic

Add miniature query filtering workload

As query filtering was not a part of the previous workloads, this patch
adds a single example of its use.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Helga Velroyen <>

9749bd5e 01/09/2014 02:02 pm Hrvoje Ribicic

Add per-resource query workload

The query requests are done to receive data about a certain resource
type. With tests for all the resources barring networks in place, the
query workloads can be added at the point where the existence of enough
resources in the system can be confirmed, making the results of the...

1086027a 01/09/2014 02:02 pm Hrvoje Ribicic

Add group-related workload

This patch further extends the RAPI workload by exercising all the
group-related functionality.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Helga Velroyen <>

6b710ec0 01/09/2014 02:02 pm Hrvoje Ribicic

Add node-related workload

This patch further expands the workload by performing various node
operations.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Helga Velroyen <>

89d52c9a 01/09/2014 02:02 pm Hrvoje Ribicic

Add warning about the RecreateInstanceDisks invocation

A test relying on RAPI alone cannot exercise the RecreateInstanceDisks
functionality properly - simply because it cannot damage an instance
to the point where its disks would be missing and in need of...

a9e3e04d 01/09/2014 02:02 pm Hrvoje Ribicic

Add various single instance operations

To further expand the number of RAPI methods in the workload, the
single instance operations are added in this patch. An instance is
created, deleted, shutdown, restarted, reinstalled, renamed, and
has its disks activated and deactivated and grown....

9f22ba9a 01/09/2014 02:02 pm Hrvoje Ribicic

Add tag method testing

This patch adds a generic way to test tagging of various entities via
RAPI. More tags testing will be added as other entitt tests are added.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Helga Velroyen <>

b87948f5 01/09/2014 02:02 pm Hrvoje Ribicic

Add helper function that waits for jobs to finish

Some RAPI calls result in the creation of a long-running job,
returning a job id to be used to extract the results later. To reduce
the amount of boilerplate, introduce a simple function to do the
waiting....

94981c7a 01/09/2014 02:02 pm Hrvoje Ribicic

Add simple retrieval operations to workload

This patch expands the RAPI workload with simple Get* commands.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Helga Velroyen <>

56803e14 01/09/2014 02:02 pm Hrvoje Ribicic

Add the first version of the RAPI workload script

The RAPI workload script supplies work for the RAPI compatibility
tests. The initial version does very little, but can be expanded
as needed.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Helga Velroyen <>

a784d28c 01/09/2014 02:02 pm Hrvoje Ribicic

Make the qa_rapi setup method return the RAPI client

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Helga Velroyen <>

fcd2359a 01/09/2014 02:02 pm Hrvoje Ribicic

Move RAPI secret lookup to qa_rapi

The RAPI secret lookup is a helper function used by the Ganeti QA to
retrieve the RAPI password of an already setup cluster. As this could
be useful to other utilities performing QA, move it to the qa_rapi
module.

Signed-off-by: Hrvoje Ribicic <>...

d3737aca 01/07/2014 02:48 pm Petr Pudlak

Catch exceptions when calling curses.setupterm() in QA

If it's running on a non-standard terminal, such as
rxvt-unicode-256color, the call fails with an exception. Instead, catch
the exception and proceed without coloring warnings/errors.

Signed-off-by: Petr Pudlak <>...

b5ae26cd 12/20/2013 11:33 am Klaus Aehlig

Fix types for queries in QA

Due to the actual implementation of the '?' operator
in our query language, it happily accepted essentially
any value that was not 0 or False as being true. However,
it was always only specified to work on boolean values.
Therefore, our QA shouldn't test for this unspecified...

5a904197 12/17/2013 06:12 pm Santi Raffa

Gluster: add the Shared File storage type

The shared file and gluster disk templates should not report their disk
space information like file does, because they do not behave the same.

If a cluster pulls from the same, shared source of storage then it is...

b0e8ed3f 12/17/2013 04:59 pm Santi Raffa

gnt-cluster verify: demote orphan volume error to warning

Ganeti checks for orphan volume by making sure that it knows about all
volumes on disk; any additional orphan volume, even if created by the
administrator, causes a failure in gnt-cluster verify. Given that...

cfb3116d 11/28/2013 05:37 pm Helga Velroyen

Activate QA for rapi queries via luxi

This patch enables QA testing for rapi queries for the
newly transformed queries from python to haskell
(groups, instances, nodes, export, and networks). So far,
the QA did not distinguish between resources that cannot be...

86a4a625 11/26/2013 06:34 pm Helga Velroyen

Use the generic query field test for network QA

Instead of just using sporadic 'gnt-network list' commands,
use the more exhaustive generic query test functions for
list and list-fields.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Hrvoje Ribicic <>

689fb902 11/26/2013 02:13 pm Helga Velroyen

Add gnt-network list to network QA

The QA for networks so far did not cover network queries
and as such issues with those could not be discovered.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Hrvoje Ribicic <>

e5398c3a 11/22/2013 03:48 pm Petr Pudlak

Add patching QA configuration files on buildbots

In order to work, it is necessary:
  • Write a JSON Patch to file "qa/qa-patch.json" in a source repository.
    (And be careful not to commit it!) The file must conform to RFC6902
    and describes what changes should be done to the QA JSON...
a02dbfca 11/20/2013 05:05 pm Petr Pudlak

Add an IPv6 check for the QA test of custom SSH ports

If any of the nodes involved would be reached through IPv6, the test is
skipped. This is because the required testing setup using "iptables" is
suiteble only for IPv4 and doesn't work for IPv6 connections....

6c005975 11/18/2013 02:53 pm Petr Pudlak

Show running times of whole test blocks

Similarly to simple tests, test blocks are now demarcated (in boldface)
and measured.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Jose A. Lopes <>

2129c5ff 11/18/2013 02:53 pm Petr Pudlak

Add more color options to QA

Allow combination of colors, background colors, bold, reverse video,
etc.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Jose A. Lopes <>

1490a90c 11/18/2013 02:53 pm Petr Pudlak

Add more thorough check for terminal color support to QA

It uses `tput` to check if the current terminal has enough colors.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Jose A. Lopes <>

02911a56 11/14/2013 05:40 pm Petr Pudlak

Add a simple QA test for a group with a custom SSH port

The test is turned on by setting `"group-custom-ssh-port": true` in
the config.

Unlike `"ssh-port": ...` in "options", this is a single test that
doesn't affect the rest of the tests.

Signed-off-by: Petr Pudlak <>...

b337aeb4 11/14/2013 05:40 pm Petr Pudlak

Export `NodeAdd` and `NodeRemove` from qa_node

This is needed for testing SSH ports so that we can remove a node from
a group, add it to a group with a custom SSH port, and then undo the
change.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Hrvoje Ribicic <>

e44b72bb 11/14/2013 05:40 pm Petr Pudlak

Allow QA node acquisition and group creation using `with`

For acquiring nodes use `with AcquireManyNodes(num): ...`. The nodes
will be released automatically.
For creating a new group use `with NewGroupCtx() as group: ...`. The
group will be removed automatically....

ec7b6d63 11/14/2013 05:40 pm Petr Pudlak

Update QA to test custom SSH ports

This patch adds the `ssh-port` option. If set to a non-standard port,
the QA script sets up the default node group with this port, and before
running tests it adds `iptable` rules to all nodes so that the nodes
see each other's SSH servers as running on this port....

24c530df 11/14/2013 03:10 pm Jose A. Lopes

Add QA tests for instance shutdown detection

Add QA tests for instance shutdown detection with Xen PVM and HVM
hypervisors.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Hrvoje Ribicic <>

a09639d1 11/11/2013 10:29 pm Santi Raffa

Remove hardcoded references to File, SharedFile templates

DTS_FILEBASED is a constant that exists and this commit makes sure
that it is used whenever sensible, rather than resorting to hardcoding
the pair of templates in very many files.

Signed-off-by: Santi Raffa <>...

d5a9b556 11/04/2013 12:57 pm Petr Pudlak

Add visual/color marks to the QA script

  • Use different visual marks at the beginning of lines (such as "<<<<" for
    starting a test and ">>>>" for finishing it)
  • Show more specifically if a test fails/passes.
  • If stdout is a terminal, use colors to distinguish different messages...
c5c8d092 10/31/2013 06:39 pm Petr Pudlak

Add the function name to textual descriptions of tests

It makes it a bit easier to find the corresponding functions.

Signed-off-by: Petr Pudlak <>
Signed-off-by: Klaus Aehlig <>
Reviewed-by: Klaus Aehlig <>

bb133242 10/31/2013 12:46 pm Klaus Aehlig

Merge branch 'stable-2.10' into master

  • stable-2.10
    Remove FIXME + update man pages wrt iallocator
    Don't check for master netdev when using OVS
    Fix TypeError in backend/ConfigureOVS
    Create Open vSwitch on Master during Cluster init
    SimpleRetry on BlockDev.Remove()...
e15a00dc 10/24/2013 12:27 pm Dimitris Aragiorgis

Minor changes regarding hotplug support

  • Mention restrictions in NEWS
    - RBD userspace access mode
    - In case of a downgrade instances should suffer a reboot to be migrateable
  • Bypass interactive verification in NIC modifications via --force option
    - Mention it in man page...
e61c0f24 10/24/2013 12:27 pm Dimitris Aragiorgis

Extend qa to test hotplug support

Only if default hypervisor is KVM try all hotplug related actions.

Signed-off-by: Dimitris Aragiorgis <>
Signed-off-by: Thomas Thrainer <>
Reviewed-by: Thomas Thrainer <>

93208049 10/22/2013 05:44 pm Klaus Aehlig

QA: run all the instances during upgrade

The parameter 'upgrade-instances' was meant that one instance of
each of these templates is left alive over the upgrade procedure.
Threfore, breaking after the first suitable template is found is
not helpful.

Signed-off-by: Klaus Aehlig <>...

c2c2e891 10/21/2013 07:29 pm Klaus Aehlig

Merge branch 'stable-2.10' into master

  • stable-2.10
    (no new changes)
  • stable-2.9
    Start NEWS entry for 2.9.0 rc4
  • stable-2.8
    Version bump for 2.8.1
    Verify that ConfD is running after master-failover
    daemon-util: handle luxid in {start,stop}_master()...
b72af2b3 10/21/2013 07:07 pm Klaus Aehlig

Merge branch 'stable-2.9' into stable-2.10

  • stable-2.9
    Start NEWS entry for 2.9.0 rc4
  • stable-2.8
    Version bump for 2.8.1
    Verify that ConfD is running after master-failover
    daemon-util: handle luxid in {start,stop}_master()
    Fix typo in storage.FileStorage docstring...
d80e2abe 10/18/2013 02:02 pm Santi Raffa

Fix lint on qa_cluster.py

pep8 wants two blank lines after TestUpgrade. The previous commit gave
it one. This commit gives it the second.

Signed-off-by: Santi Raffa <>
Reviewed-by: Helga Velroyen <>

9c3dcbbf 10/17/2013 07:16 pm Klaus Aehlig

Fix end-of-line whitespace

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Helga Velroyen <>

94f06b98 10/17/2013 06:16 pm Klaus Aehlig

Run the cluster upgrade test in qa, if enabled

The test is not run directly after the cluster related tests,
but only after basic istance creation is verified, as this test
also creates instances.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Helga Velroyen <>

aa104b5e 10/17/2013 06:16 pm Klaus Aehlig

Add QA routine to test 'gnt-cluster upgrade'

The subtle points of upgrading a cluster can only be found in
QA, so add a method to do so. A prerequisite is, that both
versions are installed on the test cluster. To have a realistic
scenario, instances are created on both versions....

37889387 10/17/2013 06:16 pm Klaus Aehlig

QA: Factor out the list of available instance test

The knowledge about which instance creating tests are
available is best kept in the module on istances. Moreover,
it is not only used by RunInstanceTests, but will
also be needed by the upgrade test.

Signed-off-by: Klaus Aehlig <>...

eac094c8 10/17/2013 04:07 pm Klaus Aehlig

Merge branch 'stable-2.8' into stable-2.9

  • stable-2.8
    Version bump for 2.8.1
    Verify that ConfD is running after master-failover
    daemon-util: handle luxid in {start,stop}_master()
    Fix typo in storage.FileStorage docstring
    Fix path for serial file...
c9e52e4c 10/16/2013 07:38 pm Helga Velroyen

Verify that ConfD is running after master-failover

This patch adds additional 'gnt-node list' commands to
the testing of 'gnt-cluster master-failover' in order to
test if ConfD (or LuxiD) is still running after a
master-failover.

Signed-off-by: Helga Velroyen <>...

847a7b02 10/11/2013 02:13 pm Helga Velroyen

QA: remove subsumed QA test wrt disk templates

This patch removes a QA test that was supposed to test
that unused disk templates can be disabled safely. The
test is now subsumed by unit tests and thus we remove it
here. Besides that, it was actually testing the wrong...

d48c944b 10/09/2013 01:40 pm Helga Velroyen

Use 'DTS_LVM' when possible

This patch replaces all usages of the utility function
'GetLvmDiskTemplate' by the new 'DTS_LVM' constant
to make it consistant with the usage of other DTS_*
constants.

Additionally, it provides a unit tests to ensure
consistancy between DTS_LVM and the mapping of disk...

317a3fdb 09/27/2013 02:24 pm Michele Tartara

Fix indentation for newer lints

Newer versions of pylint are more strict regarding indentation rules. This
commit fixes a couple of indentations that they consider wrong.

Signed-off-by: Michele Tartara <>
Reviewed-by: Jose A. Lopes <>

42e85303 09/25/2013 04:49 pm Klaus Aehlig

Merge branch 'stable-2.9' into master

  • stable-2.9
    Including missing RST files in packaging
    Update supported lint tools version numbers
    Fix some wrong indentations in the code
    Disable parenthesis indentation check
    Fix an improperly escaped string...
b8669a69 09/25/2013 01:49 pm Jose A. Lopes

Hs2Py constants: update Python references

Update references to constants that were previously in the generated
'lib/_autoconf.py' and since the previous patch have been included in
the Hs2Py constant generation.

Signed-off-by: Jose A. Lopes <>...

e0e44476 09/25/2013 10:55 am Michele Tartara

Fix some wrong indentations in the code

Fix all instances of pep8's error: "E128 continuation line under-indented for
visual indent".

Signed-off-by: Michele Tartara <>
Reviewed-by: Guido Trotter <>

fa0a1365 09/25/2013 10:52 am Michele Tartara

Fix an improperly escaped string

Mark a string representing a "sed" command including a regular expression as a
raw string, so that the entire escaping is performed by "sed" itself.

Signed-off-by: Michele Tartara <>
Reviewed-by: Klaus Aehlig <>

aac832d2 09/25/2013 10:52 am Michele Tartara

Make QaConfig a proper container

Newer pylint versions complain that QaConfig is not a proper container because
it does not implement the len(), delitem() and setitem() methods.
This commit implements them.

Signed-off-by: Michele Tartara <>...

5d9d1aff 09/23/2013 06:34 pm Klaus Aehlig

Provide PYTHONPATH to burnin

One feature of the new private-module layout is that a python
script cannot simply 'import ganeti'. The reason is that the
interfaces to these modules are not stable and hence should not
be used outside Ganeti. However, this is what the burnin test...

0c5f1b13 09/12/2013 03:23 pm Thomas Thrainer

Merge branch 'stable-2.9' into master

  • stable-2.9
    Fix bridging in net-common
    Sync build_chroot with buildbot slack role
    Auto-upgrade of disks' config wrt LD-renaming
    Fix tests regarding DISK_LD_DEFAULTS
    Fixing renaming of DISK_LD_DEFAULTS
    Replace LD_* constants with DT_* constants...
cd3b4ff4 08/28/2013 06:19 pm Helga Velroyen

Replace LD_* constants with DT_* constants

LD_* constants are basically like DT_* constants, except
for that both file and shared file were mapped to file.
In order to not having to maintain three slightly different
sets of disk-related constants (DT, LD and ST), we merge...

2de59e2c 08/28/2013 06:19 pm Helga Velroyen

QA: fix file storage QA wrt ipolicy

Ipolicy-allowed disk templates are now dependend on the
cluster-wide enabled disk-templates. The QA for file
storage did not consider this updated logic so far.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Guido Trotter <>

2c88200b 08/27/2013 04:50 pm Helga Velroyen

CLI: actually remove the --no-drbd-storage option

This removes the '--no-drbd-storage' option completely
from the command line interface. The hugepages design
doc still had a left-over reference to --no-lvm-storage,
which is removed in this patch as well....

38969795 08/27/2013 04:50 pm Helga Velroyen

cluster init/modify: set helper without DRBD being enabled

The logic around the DRBD usermode helper so far was that
setting it was only possible when DRDB was not explicitely
disabled. This patches changes it in a way that it is
consistent to how Ganeti handles the volume group name....

a25f44a4 08/27/2013 04:50 pm Helga Velroyen

QA: adapt changes wrt DRBD usermode helper

This adjusts and extends the QA for 'gnt-cluster modify'
with respect to the changes regarding the DRBD
usermode helper.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Thomas Thrainer <>

dc3dcdaf 08/27/2013 09:32 am Jose A. Lopes

Add 'SF_NODE' to 'VALID_STORAGE_FIELDS'

Constant 'SF_NODE' is a storage field and, therefore, should be in
'VALID_STORAGE_FIELDS'. This patch fixes this and also reference to
these constants, namely, in 'cmdlib' and 'qa'.

Signed-off-by: Jose A. Lopes <>...

c2266ec8 08/27/2013 09:31 am Jose A. Lopes

Remove storage field duplication in 'qa'

QA was adding 'SF_TYPE' to a list containing all storage fields (i.e.,
'VALID_STORAGE_FIELDS'). However, 'SF_TYPE' is already part of
'VALID_STORAGE_FIELDS', which means this element was occurring twice
in the list....

ae3ab08b 08/09/2013 11:30 am Helga Velroyen

QA: make ipolicy test respect enabled disk templates

This makes the 'gnt-cluster modify --ipolicy-*' tests
respect the enabled disk templates on the QA cluster.
If the required disk templates are not enabled, the
test is skipped.

Signed-off-by: Helga Velroyen <>...

eb161df2 08/08/2013 06:48 pm Helga Velroyen

QA: adjust tests wrt to ipolicy disk templates

This adjusts the cluster QA with respect to the new checks
between the ipolicy disk templates and the enabled disk
templates.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Thomas Thrainer <>

ae591749 07/29/2013 03:30 pm Helga Velroyen

Use exact option name --enabled-disk-templates consistently

It is possible to use both, --enabled-disk-template
(singular) or --enabled-disk-tempaltes (plural),
but the usage of it has been documented and used in QA
inconsistently. This is fixed by this patch now....

bab4f56a 07/29/2013 03:27 pm Helga Velroyen

QA: skip lvm-based tests if lvm disabled

QA tests should make sure not to be run if the necessary
environment for them is not present. This patch fixes that
for a couple of tests that fail to check that before being
executed.

Signed-off-by: Helga Velroyen <>...

b24b52d9 07/29/2013 03:27 pm Helga Velroyen

QA: test for --{shared,}-file-storage-dir

This adds tests for 'gnt-cluster modify' wrt to the
options --shared-file-storage-dir=... and
--file-storage-dir. It also separates the two directories'
specification in the QA configuration.

Signed-off-by: Helga Velroyen <>...

d8e55568 07/23/2013 05:15 pm Helga Velroyen

Rename VALID_STORAGE_TYPES to STORAGE_TYPES

For consistency, this patch renames 'VALID_STORAGE_TYPES'
to 'STORAGE_TYPES', because the set of valid disk
templates is also just names 'DISK_TEMPLATES'.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Guido Trotter <>

615551b2 07/23/2013 05:15 pm Helga Velroyen

Rename disk_template/storage_type map + cleanup

This patch renames the mapping of disk templates to storage
types to MAP_DISK_TEMPLATE_STORAGE_TYPE, which is a more
expressive name since it indicates that it is a mapping and
does not have the inconsistent usage of singular and plural...

3039e2dc 07/23/2013 03:29 pm Helga Velroyen

gnt-cluster {init, modify} --file-storage-dir

This patch implements consistent usage and behavior of
the --file-storage-dir option in 'gnt-cluster init'
and 'gnt-cluster modify'. It includes a bunch of unit
tests as well.

Additionally, it enables the previously written unit...

f9b76ed4 07/22/2013 01:54 pm Helga Velroyen

Prepare QA for shared file storage

This prepares the QA for running tests regarding
shared file storage.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Thomas Thrainer <>

489c9037 07/17/2013 07:55 pm Klaus Aehlig

Merge branch 'stable-2.8' into stable-2.9

  • stable-2.8
    Rename queryd to luxid
    Document the rapi client not to have a QueryNetworks method
    Enable unit tests again
    Document ganeti-queryd
    Add ganeti-queryd to QA env test
    Add queryd daemon (split from confd)...
3695a4e0 07/17/2013 06:04 pm Thomas Thrainer

Rename queryd to luxid

As queryd will, in the future, handle all LUXI request, queue jobs and
most likely perform various other tasks, it is renamed to luxid already.
This will safe some headache when upgrading Ganeti installations, as we
don't have to deal with a daemon rename....

135eb4ee 07/17/2013 12:33 pm Thomas Thrainer

Add ganeti-queryd to QA env test

Test for the newly introduces ganeti-queryd in the environment test of
QA.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Helga Velroyen <>

e4889779 07/17/2013 11:11 am Thomas Thrainer

Revert "Disable failing QA test"

This reverts commit b2525349f0da75c74432f2dd85abbcad56e56fed.

Issue 516 was fixed, so now the QA test can be re-enabled again.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Helga Velroyen <>

5949c31c 07/15/2013 12:34 pm Helga Velroyen

QA: Adjust QA for file storage

This improves the QA code wrt to file storage in the
following ways:
- It fixes a FIXME to make the file storage directory
customizable in the QA config. Fallback is the default
value.
- It makes QA derive the enabled storage types from...

b780c231 07/15/2013 12:34 pm Helga Velroyen

QA: Adjust test whether file storage is enabled

This patch fixes the node storage QA, which checked whether
file storage is enabled by looking at the constant
'ENABLE_FILE_STORAGE'. QA should rather retrieve this
information from the QA config.

Signed-off-by: Helga Velroyen <>...

b2525349 07/04/2013 06:47 pm Thomas Thrainer

Disable failing QA test

See issue 516 for an explanation of the problem, and why it was required
to disable this test.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Klaus Aehlig <>

2b5b6da1 07/03/2013 07:57 pm Helga Velroyen

Disable enabled-template-test for exclusive storage

This patch disables the tests regarding enabled disk
templates for exclusive storage, because the semantics
there are different and not covered in the test.

Signed-off-by: Helga Velroyen <>...

d352b796 07/02/2013 05:54 pm Helga Velroyen

Revert "QA: Make Query tests test for '?' values"

This reverts commit
bfbef99b9f056638411aa894e300aa095132e931. The problem is that
in some cases it makes sense for '?' to be displayed. This
is the case for storage reporting on clusters that have only
the 'diskless' disk template enabled. It would be nicer,...

7af293d7 07/02/2013 04:54 pm Thomas Thrainer

Add QA test for verify-disks with broken DRBD

gnt-cluster verify-disks supports automatic activation of broken DRBD
disks. This new QA test verifies that it actually finds instances with
broken DRBD disks and activates the disks of those instances.

Signed-off-by: Thomas Thrainer <>...

bfbef99b 07/02/2013 01:54 pm Helga Velroyen

QA: Make Query tests test for '?' values

When something goes wrong in the Haskell implementation of
queries, the 'gnt-* list' command does not actually fail,
but it just displays '?' as a sign of failure. We so far
do not test for that, which makes errors in the haskell...

8e5a911a 06/28/2013 03:38 pm Bernardo Dal Seno

Enable disk growth with exclusive storage

Disk growth is now supported also with exclusive storage, so we let the
operation continue.

Enable disk growth test in qa also with exclusive storage.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Klaus Aehlig <>

ec4341d7 06/26/2013 05:01 pm Thomas Thrainer

Fix lint error

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Klaus Aehlig <>

d101b7be 06/26/2013 03:34 pm Thomas Thrainer

Unset LV name if no LVM disk templates are enabled

If there are no LVM based disk templates enabled in QA, reset the LV
name after the corresponding gnt-cluster modify tests. Otherwise
gnt-cluster verify would complain about the missing volume group.

Also make sure that no disk templates requiring LVM are ever enabled...

0c2cfb97 06/26/2013 03:34 pm Thomas Thrainer

Skip drbd-usermode-helper test if DRBD is disabled

Changing the drbd usermode helper in gnt-cluster modify fails if DRBD is
not installed on the nodes. Thus skip this test if DRBD is not in the
set of enabled disk templates.

Signed-off-by: Thomas Thrainer <>...

f90a2d0c 06/26/2013 03:34 pm Thomas Thrainer

Replace tempfile by mktemp in QA code

The tempfile command only exists in Debian. In order to run the VCluster
QA also on Fedora, replace its use by mktemp.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Klaus Aehlig <>

dad226e3 06/26/2013 12:18 pm Thomas Thrainer

Merge branch 'stable-2.8' into master

  • stable-2.8:
    gnt-cluster info (py): add enabled disk templates
    Version bump to 2.8.0~beta1
    Change version numbers in documentation
    Fix issue with python coverage tests
    Merge branch 'stable-2.7' into stable-2.8...
c632d3a5 06/24/2013 01:46 pm Thomas Thrainer

Fix node modify QA tests for large cluster

If the node count in a cluster exceeds the master candidate pool size
(which is 10 by default), it's no longer possible to remove the master
candidate role from a node without passing --auto-promote (even with
--force). This behavior is perfectly fine, but the TestModifyNode QA...

f2b58d93 06/21/2013 06:09 pm Thomas Thrainer

Merge branch 'stable-2.7' into stable-2.8

  • stable-2.7:
    Add a warning about the restriction of gnt-node evacuate
    Fix permissions of the queue archive dir
    Fix daemon QA tests
    grow disk: call SetDiskID before blockdev_getsize
    Catch DeviceCreationError unhandled exceptions...