Statistics
| Branch: | Tag: | Revision:

root / qa @ 67bd83ae

# Date Author Comment
67bd83ae 02/19/2014 10:39 am Jose A. Lopes

Fix 'gnt-group add' output in QA

The command 'gnt-group add' might return a list of jobs, therefore, we
can print the job's output during the QA, in a way similar to that of
'gnt-cluster verify', for example.

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

a53772a0 02/14/2014 04:57 pm Klaus Aehlig

Merge branch 'stable-2.11' into master

  • stable-2.11
    Update design doc wrt to improved SSL design
    Test node certificate renewal in QA
    Use node UUID as client certificate serial number
    Revert "Temporarily remove SSL changes from NEWS file"
    Revert "Disabling client certificate usage"...
e593c9c8 02/14/2014 03:51 pm Helga Velroyen

Test node certificate renewal in QA

This extends the QA by explicitely testing the renewal
of SSL client certificates.

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

ab4b1cf2 02/14/2014 03:51 pm Helga Velroyen

Use node UUID as client certificate serial number

It turns out, that some implementations of OpenSSL are more
pedantic in checking the certficates than others. In this
particular case, the SSL connection could not be
established when the serial number of the certificates...

f398c9b9 02/13/2014 03:03 pm Jose A. Lopes

Fix watcher tampering with instance userdown QA

The watcher was tampering with the instance user down QA because, when
the watcher sees an instance marked an 'USER_down', it will cleanup
the instance, that is it will stop the instance, thus marking it as...

f985ecbd 02/13/2014 02:34 pm Jose A. Lopes

Instance communication mechanism QA (for cluster only)

Extend QA with tests for the instance communication mechanism. These
tests cover only the cluster creating the instance communication
network and connecting it to the existing node group, and also if new...

fd34efbb 02/12/2014 12:48 pm Petr Pudlak

Fix bracket style in rapi-workload

Pep8 complained about bracket indentation. This fixes it to satisfy Pep8
as well as our style guide.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Hrvoje Ribicic <>
(cherry-picked from ccded668c8a93fa25aaf21ddf5105270a04fe517)...

d759a02b 02/10/2014 06:38 pm Klaus Aehlig

Merge branch 'stable-2.11' into master

  • stable-2.11
    (no changes)
  • stable-2.10
    Fix 'JobIdListOnly' type from 'List' to 'Map'
    Remove NEWS entry for 2.9.4
    Workaround for monitor bug related to greeting msg
    hotplug: Verify if a command succeeded or not...
adcccd43 02/10/2014 06:24 pm Klaus Aehlig

Merge branch 'stable-2.10' into stable-2.11

  • stable-2.10
    Fix 'JobIdListOnly' type from 'List' to 'Map'
    Remove NEWS entry for 2.9.4
    Workaround for monitor bug related to greeting msg
    hotplug: Verify if a command succeeded or not
    hotplug: Call each qemu commmand with an own socat...
fcc27323 02/07/2014 05:40 pm Jose A. Lopes

Fix 'UserDown' QA

Increase instance shutdown timeout and make call 'pkill' more
reliable, which should fix the KVM QA.

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

ddd667f7 02/06/2014 12:45 pm Thomas Thrainer

Merge branch 'stable-2.9' into stable-2.10

  • stable-2.9
    Make the LUInstanceCreate return node names, not UUIDs
    Document new handling of degraded instances in NEWS
    Gracefully handle degraded instances in verification
    Be aware of the degraded case when cleaning up an instance...
8d61946f 01/30/2014 11:03 am Petr Pudlak

Merge branch 'stable-2.11' into master

  • stable-2.11
    Make safeRenameFile create dirs with defined permissions
    Add constant for subdir permissions within the job queue
    Add utility to fix permissions
    Add data type describing permissions and possibly owners...
2ee9171a 01/29/2014 05:26 pm Hrvoje Ribicic

Add QA tests for RAPI multi-instance allocation

The instance multi-allocation had no tests to detect its breakage, and
this patch fixes that.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Klaus Aehlig <>

ccded668 01/29/2014 03:59 pm Petr Pudlak

Fix bracket style in rapi-workload

Pep8 complained about bracket indentation. This fixes it to satisfy Pep8
as well as our style guide.

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

baaa2ece 01/28/2014 03:17 pm Klaus Aehlig

Merge branch 'stable-2.10' into stable-2.11

  • stable-2.10
    Enable network tags in Haskell code
    Haskell style: explicit errors, visible in the type
    Clarify spacing in record syntax
    Improve the point-free section of the style guide
    Add code style document to documentation...
410945f1 01/27/2014 05:36 pm Klaus Aehlig

Merge branch 'stable-2.9' into stable-2.10

  • stable-2.9
    Revision bump for 2.9.3
    Schedule 2.9.3 release
    Document fix of issue 691 in NEWS
    NEWS: fix typo in 2.8.4 release
    Fix 'hvparams' of '_InstanceStartupMemory' on hypervisors
    Add missing option to gnt-instance documentation...
5a93930f 01/23/2014 04:32 pm Klaus Aehlig

Merge branch 'stable-2.8' into stable-2.9

  • stable-2.8
    Version bump for 2.8.4 and NEWS update
    Update NEWS file with news about job cancellation bugfix
    Fix QA flakiness
    Linting fix: remove unused import
    Add missing parameter entry to man file
    Add QA test for job cancellation...
e4f485cc 01/21/2014 01:40 pm Hrvoje Ribicic

Fix QA flakiness

The newly added job QA has some flakiness with respect to its use of
gnt-job watch. Fix this by waiting until the canceling status is
replaced with the canceled status, or a timeout is reached.

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

07becab3 01/21/2014 01:40 pm Hrvoje Ribicic

Linting fix: remove unused import

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Klaus Aehlig <>

66cb789f 01/20/2014 02:11 pm Hrvoje Ribicic

Add QA test for job cancellation

This patch introduces a QA test in which a job is cancelled while
waiting.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Klaus Aehlig <>

51958d2a 01/13/2014 07:43 pm Jose A. Lopes

QA for KVM instance shutdown

Add QA for instance shutdown for KVM.

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

3eea40a0 01/09/2014 02:03 pm Hrvoje Ribicic

Clean up epydoc comments

Add missing colons, and improve descriptions of parameters.

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

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

3eaa6e1d 12/16/2013 06:55 pm Klaus Aehlig

Merge branch 'stable-2.8' into stable-2.9

  • stable-2.8
    Add support for blktap2 file-driver
    Update opcodes test to include network tags
    Make network tags searchable
    Add network tag tests to QA
    Fix RAPI network tag handling
    Fix gnt-network list-tags...
a4c589d2 12/16/2013 05:31 pm Hrvoje Ribicic

Add network tag tests to QA

The QA did not have a test for network tags until now, and this patch
remedies the situation.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Michele Tartara <>

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