Statistics
| Branch: | Tag: | Revision:

root / qa @ a02dbfca

# Date Author Comment
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...
91104b80 06/21/2013 04:28 pm Thomas Thrainer

Fix daemon QA tests

TestInstanceConsecutiveFailures now leaves the test instance in the same
state it got it.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Michele Tartara <>

52e9bef0 06/20/2013 06:24 pm Thomas Thrainer

Add gnt-node migrate to QA

Make it possible to optionally run gnt-node migrate during QA.

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

2c4f480d 06/20/2013 01:34 pm Thomas Thrainer

Skip Xen monitoring QA for non-Xen clusters

Instead of asserting that the Xen instance status collector fails for
non-Xen clusters just skip the test completely.
Otherwise QA would fail for non-Xen hypervisors if Xen happens to be
installed on the cluster as well....

d06e7b3b 06/20/2013 01:34 pm Thomas Thrainer

Adapt VCluster script to current situation

vcluster-setup is adapted to the current Ganeti command line arguments.
Also, a bug for diskless instances in qa_instance is fixed.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Michele Tartara <>

f5c4553b 06/18/2013 06:24 pm Michele Tartara

Merge branch 'stable-2.8' into 'master'

  • stable-2.8
    Version bump to 2.8.0~alpha1
    Make cfgupgrade idempotent
    Update config version number when downgrading
    Add test for shrink heuristics over different resources
    Improve hspace shrinking strategy...
06fb92cf 06/07/2013 04:10 pm Bernardo Dal Seno

Export node spindles

Node spindles (queried live) are exported through the LUXI, RAPI, and
iallocator interfaces.

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

35ff270b 06/03/2013 04:29 pm Bernardo Dal Seno

Support RAPI QA on an already existing cluster

We support running most of the QA tests on an existing cluster. One big
exception was RAPI, as the credentials for the QA RAPI user were created at
cluster setup. This patch allows to recover the password for the QA user...

0e514de1 06/03/2013 04:15 pm Bernardo Dal Seno

Export instance disk spindles

Instance disk spindles can be queried via LUXI and RAPI, and are exported
through the allocator interface. This is a prerequisite for htools to
handle spindles.

The length of a RAPI query including all the instance fields now has become...

342a9b3b 05/31/2013 04:36 pm Bernardo Dal Seno

Merge branch 'stable-2.8' into master

  • stable-2.8:
    Document users-setup tool
    Adjusting permissions after confd start
    Ensure the queue socket has the right permissions
    Update IAllocator interface documentation
    Add NEWS entry for hail honoring networks...
7c848a6a 05/28/2013 12:46 pm Bernardo Dal Seno

Spindles are mandatory with exclusive storage

If they are not specified in the command line an error is reported. Also,
disk creation would fail without them.

QA has been updated.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Helga Velroyen <>

e75f80b9 05/25/2013 07:06 pm Bernardo Dal Seno

Fix release of instances in QA

Also, fix some uses of keyword arguments for arguments with a default
value, as required by the style guide, and a typo.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Guido Trotter <>

95155a8c 05/24/2013 02:32 pm Bernardo Dal Seno

Fix missing "raise" in QA

The bug was introduced in 345d395d.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Thomas Thrainer <>
Reviewed-by: Michele Tartara <>

345d395d 05/23/2013 04:21 pm Bernardo Dal Seno

QA for spindles in creating disks

"gnt-instance add" and "gnt-instance recreate-disks" are tested giving the
number of spindles, when supported. Also, QA for "gnt-instance
recreate-disks" now covers the case where disks are resized.

Signed-off-by: Bernardo Dal Seno <>...

1bb99a33 05/17/2013 05:42 pm Bernardo Dal Seno

Merge branch 'stable-2.8' into master

  • stable-2.8: (45 commits)
    Update NEWS with disk creation fixes
    Sort cmdlib-related entries in Makefile.am
    cmdlib: Cleanup public/private functions
    cmdlib: Extract instance query related functionality
    cmdlib: Extract instance operation functionality...
a365b47f 05/17/2013 03:04 pm Bernardo Dal Seno

Merge branch 'stable-2.7' into stable-2.8

  • stable-2.7:
    Update NEWS with disk creation fixes
    Don't fail to deactivate master IP if already down
    Add QA for recreating single instance disks
    Add QA for gnt-instance modify --disk
    Clean up when "gnt-instance modify" fails to create a disk...
e2e98c6e 05/14/2013 07:04 pm Bernardo Dal Seno

Add QA for recreating single instance disks

So far QA only recreated the whole set of disks at once.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Helga Velroyen <>

8cd4f8cf 05/14/2013 07:04 pm Bernardo Dal Seno

Add QA for gnt-instance modify --disk

Just a very basic test that adds and then removes a disk.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Helga Velroyen <>

ef94a185 05/14/2013 04:24 pm Michele Tartara

Monitoring QA: Remove superfluous import

Signed-off-by: Michele Tartara <>
Reviewed-by: Thomas Thrainer <>

0511ce91 05/14/2013 03:44 pm Michele Tartara

Non-Xen support for monitoring QA

The QA tests the Xen instance status collector, but that is expected to fail
when run on machines that do not use Xen.

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

a5877534 05/13/2013 04:20 pm Michele Tartara

Add QA for instance status collector

This commit introduces the QA for the instance status collector.

Begin the first QA for a monitoring-related component, the files and some
functions are named after monitoring because they are meant to contain
future monitoring QAs as well....

8fada090 05/13/2013 04:20 pm Michele Tartara

QA: factor out some instance management functions

Some functions for managing instances will have to be used by new upcoming
unit tests, so they are taken out of the instances QA file and put in a new
utilities file accessible by other QA files as well.
...

98bdd169 05/06/2013 12:19 am Bernardo Dal Seno

QA checks suitability for exclusive_storage tests

When instance tests with exclusive_storage are enabled, the number of PVs
on nodes are checked to see if it's suitable for those tests.

This fixes issue 437.

Signed-off-by: Bernardo Dal Seno <>...

f2d87a5e 05/03/2013 04:47 pm Michele Tartara

Merge remote-tracking branch 'origin/stable-2.8'

Conflicts:
lib/bdev.py
lib/cmdlib.py

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

9db0b351 05/03/2013 03:25 pm Bernardo Dal Seno

Disk templates are "allowed" and not "enabled" in ipolicies

The way disk templates were displayed in instance policies became confusing
since the introduction of the enabled_disk_templates cluster parameter.

Fix issue 440.

Signed-off-by: Bernardo Dal Seno <>...

5519f036 04/29/2013 11:13 pm Bernardo Dal Seno

Merge branch 'stable-2.8' into master

  • stable-2.8: (42 commits)
    Add shelltests for hspace allocation
    hspace: Handle multiple ipolicy specs
    QA: Test multiple instance specs
    QA: Handle multiple instance specs
    Unit test for cli.FormatPolicyInfo()...
2e462e19 04/29/2013 07:05 pm Thomas Thrainer

Cleanup DRBD 8.4 devices properly during QA

QA cleans up DRBD 8.4 devices via drbdsetup, which currently only worked
for DRBD 8.3. This (rather ugly) command makes sure that DRBD 8.4
devices are cleaned up as well.

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

5fdf8491 04/29/2013 06:54 pm Bernardo Dal Seno

QA: Test multiple instance specs

The test of the interaction between policy and instances is extended.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Helga Velroyen <>

7c8ae421 04/29/2013 06:54 pm Bernardo Dal Seno

QA: Handle multiple instance specs

Existing tests are updated to cope with the new instance specs format.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Helga Velroyen <>

ec996117 04/29/2013 06:53 pm Bernardo Dal Seno

QA: Transpose instance specs

The format used to store instance specs in QA is changed to better handle
multiple instance specs, a feature contained in the following patches.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Helga Velroyen <>

decf86f9 04/26/2013 05:39 pm Helga Velroyen

Make DEFAULT_ENABLED_DISK_TEMPLATES a list

This patch makes the constant DEFAULT_ENABLED_DISK_TEMPLATES
a list instead of a set, because the order of the elements actually matters
as the first one is planned to be the default disk template for instance
creation. Also, this constant is always used like a list and thus providing it...