Statistics
| Branch: | Tag: | Revision:

root @ 876fb142

# Date Author Comment
876fb142 05/22/2014 11:13 am Helga Velroyen

Convert all the classes to new-style classes

... to make lint shut up.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Jose Lopes <>

c4460a46 05/20/2014 05:22 pm Klaus Aehlig

Merge branch 'stable-2.9' into stable-2.10

  • stable-2.9
    Improve haskell style
    check-man-warnings: use C.UTF-8 and set LC_ALL
    Fix passing of ispecs in cluster init during QA

Conflicts:
src/Ganeti/Monitoring/Server.hs: trivial

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

8f467ab0 05/20/2014 05:15 pm Klaus Aehlig

Improve haskell style

...by fixing lint warnings found by HLint v1.8.57. In particular,
make sure 'make hlint' passes for this version of hlint.

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

aa112e9f 05/20/2014 01:59 pm Thomas Thrainer

Add --no-locks option to gnt-debug delay

Add the possibility to don't acquire locks during `gnt-debug delay`.
This allows to run many delay jobs in parallel instead of having
them run sequentially.

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

c374ceab 05/19/2014 03:21 pm Thomas Thrainer

Include design-performance-tests.rst in index

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

46593037 05/19/2014 01:53 pm Klaus Aehlig

Document the --force-failover option

Extend the gnt-group man page by documenting the --force-failover
option of the evacuation command.

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

d0cd1368 05/19/2014 01:53 pm Klaus Aehlig

Support group evacuation by failover

Support evacuating a node group not using migration.
This can be useful if the group evacuated to has different
hardware.

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

2039321f 05/19/2014 01:53 pm Klaus Aehlig

Add an option --force-failover

...to be added to gnt-group evacuate forcing evacuation by
means for failovers instead of migrations.

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

8ddee5b6 05/19/2014 01:53 pm Klaus Aehlig

Extend OpGroupEvacuate by a ForceFailover paramter

Add a parameter to OpGroupEvacuate to force failovers to be
used instead of migrations. This can be useful, if a group
is evacuated to another with different hardware.

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

63c875e7 05/19/2014 01:53 pm Thomas Thrainer

Mark performance tests design as implemented

The performance tests are implemented as outlined in the design doc, so
mark the document as implemented.

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

4868dfd5 05/19/2014 01:29 pm Apollon Oikonomopoulos

check-man-warnings: use C.UTF-8 and set LC_ALL

check-man-warnings currently partially forces the en_US.UTF-8 locale by
setting LANG. This implicitly assumes that the locale exists, which
might not be the case when building e.g. in chroot environments. If the...

95ec6e95 05/16/2014 12:19 pm Ansgar Jazdzewski

openvswitch fix

  • fix unhandled nic.mode in config.py
    "Unhandled Ganeti error: NIC mode 'openvswitch' not handled" (Issue 804)
  • handle link-changes for the virtual NIC
    a instance will readd the tap interface to the openviswitch so that
    changes of the instance-link (VLAN) will be considered....
f4664f19 05/16/2014 12:18 pm Klaus Aehlig

Document the --sequential option

Document that group evacuation is usually run in parallel, but
can be made sequentially by providing an appropriate option.

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

c812ab71 05/16/2014 12:18 pm Klaus Aehlig

Support sequential evacuation

Make gnt-group evacuate support the --sequential option,
which causes all evacuation moves to be execuated sequentially.
This can be used to avoid congestion on a possibly slow link
between the node groups.

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

ed9c2202 05/16/2014 12:18 pm Klaus Aehlig

Add an option --sequential

...which can be used to tell commands like gnt-group evacuate to
sequentially perform their action to keep load away from the cluster.

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

593fd115 05/16/2014 12:18 pm Klaus Aehlig

Extend OpGroupEvacuate by a sequential paramter

...telling it to run all the evacuation jobs sequentially.
This might be useful to avoid too much load that otherwise
might occur.

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

f29dde95 05/14/2014 05:23 pm Thomas Thrainer

Fix passing of ispecs in cluster init during QA

The ispecs were previously passed as multiple parameters to gnt-cluster
init, which did not yield the desired result. This patch changes this
behavior and passes the min/std/max values in one parameter.

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

70000149 05/14/2014 02:28 pm Thomas Thrainer

Merge branch 'stable-2.9' into stable-2.10

  • stable-2.9
    On expanding jobs, extend reason trail

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

0511c075 05/14/2014 02:21 pm Klaus Aehlig

On expanding jobs, extend reason trail

Certain op-codes expand to a set of jobs. For
those new jobs, extend their reason trail with
the reasons of the job that expanded to them.
In this way, also for indirectly genreated jobs
a complete trace back to the initiator can be...

ce0bc5e1 05/14/2014 02:20 pm Thomas Thrainer

Merge branch 'stable-2.9' into stable-2.10

  • stable-2.9
    Add LC_ALL=en_US.UTF-8 before running check-man-warnings

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

ecdf2b93 05/14/2014 01:51 pm Thomas Thrainer

Postpone 2.10.4 release to May 15th

Due to some tests not being completed by today, postpone the 2.10.4
release to tomorrow.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Hrvoje Ribicic <>

3e15825e 05/14/2014 01:46 pm Thomas Thrainer

Don't fail QA if submitting a job takes too long

Degrade a QA error which was triggered if job sumission take too long to
a warning. This will prevent spurious QA failures.

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

805f86d9 05/13/2014 10:03 am Thomas Thrainer

Revision bump for the 2.10.4 release

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

a6cbdefa 05/13/2014 10:02 am Thomas Thrainer

Prepare NEWS file for 2.10.4 release

Preparing the NEWS file for the release of 2.10.4 on Wednesday.

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

c4ae4fb1 05/12/2014 07:11 pm Yuto KAWAMURA(kawamuray)

Add LC_ALL=en_US.UTF-8 before running check-man-warnings

It will be fail if LC_ALL was set to non-utf8 locale(e.g, 'C') by
following error.

col: Invalid or incomplete multibyte or wide character
man: command exited with status 1: col -b -p -x

Signed-off-by: Yuto KAWAMURA <>...

6383059d 05/12/2014 01:49 pm Thomas Thrainer

Fix passing of ispecs in cluster init during QA

The ispecs were previously passed as multiple parameters to gnt-cluster
init, which did not yield the desired result. This patch changes this
behavior and passes the min/std/max values in one parameter.

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

03e86e97 05/12/2014 12:25 pm Thomas Thrainer

Move QAThreadGroup to qa_job_utils.py

Move QAThreadGroup to the utils module so it can easily be used with
QAThread.

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

3f8e1896 05/12/2014 12:25 pm Thomas Thrainer

Extract GetJobStatuses and use an unified version

Unify two very similar functions which query the ganeti cluster for job
statuses during QA.

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

552633e1 05/09/2014 02:55 pm Thomas Thrainer' via ganeti...

Run disk template specific tests only if possible

Only run disk template specific tests if the corresponding disk template
is really enabled. Also, move the (up to now wrong) check out of
qa_performance.py to ganeti-qa.py, so no no-time test runs are reported...

c2a97cee 05/09/2014 10:24 am Thomas Thrainer

Test parallel instance ops and plain instances

Test various instance operations while another instance is created in
parallel.
Also enable a test which creates twice as many plain instances as there
are nodes in the cluster in parallel.

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

15463dba 05/09/2014 10:24 am Thomas Thrainer

Test parallel creation of DRBD instances

Test the performance of parallel creation (and immediate removal) of DRBD
backed instances. Twice as many instances are created as there are nodes
in the cluster.

This also required some refactoring of the test code in order to reduce...

06c876fe 05/09/2014 10:24 am Thomas Thrainer

Test parallel job submission performance

Submit 200 delay jobs and verify that the submission rate does not drop
as more jobs are added to the queue. Also verify that a `gnt-cluster
info` is not slowed down by a large number of jobs in the queue.

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

0e594722 05/09/2014 10:24 am Thomas Thrainer

Test parallel instance query operations

For each created instance, a `gnt-instance info` is issued. In addition,
`gnt-instance list` is issued as often as well.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Hrvoje Ribicic <>

f9e16ba1 05/09/2014 10:24 am Thomas Thrainer

Test parallel instance operations

Test parallel starting, stopping, rebooting and (if supported)
reinstalling instances.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Hrvoje Ribicic <>

7be00e3e 05/09/2014 10:24 am Thomas Thrainer

Test parallel instance modification

Submit modifications of backend parameters as well as OS parameters in
parallel for the maximum amount of instances available.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Hrvoje Ribicic <>

a9e326d8 05/09/2014 10:24 am Thomas Thrainer

Test parallel node-count instance creation

Test the parallel creation (and removal) of as many instances as there
are nodes in the cluster.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Hrvoje Ribicic <>

5bb25194 05/09/2014 10:24 am Thomas Thrainer

Test parallel instance creation and removal

This is the first performance related test. It creates as many instances
as available in the QA config in parallel and removes them (again in
parallel) immediately after the creation succeeded.

In order to ease writing of additional tests, a lot of the logic is kept...

d33d00ba 05/09/2014 09:27 am Thomas Thrainer

Fail in replace-disks if attaching disks fails

Previously, if attaching the new secondary during a replace-disks
operations failed, only a warning was emitted. The subsequent sync-disks
operation cannot finish in such a case, however.

Therefore, this patch changes the warning into an error. This way it's...

703508c0 05/08/2014 06:01 pm Hrvoje Ribicic

Merge branch 'stable-2.9' into stable-2.10

  • stable-2.9
    Add configure option to pass GHC flags
    KVM: set IFF_ONE_QUEUE on created tap interfaces

Conflicts:
configure.ac # Taken both contributions

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

75c1ac5b 05/08/2014 05:05 pm Klaus Aehlig

Add a basic test for --restricted-migration

Essentially verify that, in the given example, a solution is still
found and that the original present failover is dropped.

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

ba2cab15 05/08/2014 05:05 pm Klaus Aehlig

Describe the --restricted-migration option

Add the --restricted-migration option to the man page together with
a hint on the intended use case.

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

33bb2d08 05/08/2014 05:05 pm Klaus Aehlig

Support restricted migration

Make hbal support an option to disallow ReplacePrimary moves
and restrict ReplaceAndFailover to instances where the primary
node is drained. If used in evacuation mode, the only migration
moves will be off the drained nodes.
...

23dc58d5 05/08/2014 05:05 pm Klaus Aehlig

Add an option for restricted migration

This option will allow node evacuation with migrations only
off the nodes to be evacuated.

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

ee63f1d1 05/08/2014 05:04 pm Klaus Aehlig

Add an example for node evacuation

The configuration shows an unbalanced cluster with
a node being drained. The natural evacuation strategy
includes frf-moves.

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

b8168679 05/08/2014 04:36 pm Apollon Oikonomopoulos

KVM: set IFF_ONE_QUEUE on created tap interfaces

The IFF_ONE_QUEUE flag directs the kernel to only queue tap packets once
(as opposed to queueing them twice, once for the device, and once for the
qdisc), possibly avoiding interface stalls when one of the queues overruns....

762a28c6 05/08/2014 01:44 pm Hrvoje Ribicic

Add configure option to pass GHC flags

Adding the HEXTRA option to make might not be practical for a change
that should be always applied, e.g., hiding a certain package. This
patch allows the flags to be specified at the configure level.

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

59ab1599 04/29/2014 03:13 pm Klaus Aehlig

Add a test for parsing version strings

...even in the presence of patch levels.

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

edc6dbc6 04/29/2014 01:43 pm Klaus Aehlig

Set correct Ganeti version on setup commands

When asked to execute a setup command, prefix it with
a command sequence to test for the existence of the
needed Ganeti version and switching to it.

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

a5bd9ea7 04/29/2014 01:43 pm Klaus Aehlig

Add a utility to combine shell commands

Add a function that combines individual shell commands into
a single command (calling the standard shell) that executes
the given commands in sequence while they succeed.

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

692ee302 04/28/2014 11:40 am Thomas Thrainer

Add design doc for performance tests

This design doc describes which tests are added in order to test the
performance of Ganeti, specifically when handling multiple jobs in
parallel.

Note that this design doc is submitted to stable-2.10 so performance
changes over different Ganeti versions can be captured....

98370c75 04/25/2014 05:49 pm Klaus Aehlig

Merge branch 'stable-2.9' into stable-2.10

  • stable-2.9
    If Automake version > 1.11, force serial tests

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

9f60216e 04/25/2014 05:39 pm Petr Pudlak

If Automake version > 1.11, force serial tests

This fixes broken compilation on Debian Jessie (#802).
See also http://stackoverflow.com/questions/15820844/

Thanks to Apollon Oikonomopoulos for finding the solution
and Klaus Aehlig for helping to do it conditionally....

462d6658 04/25/2014 12:04 pm Hrvoje Ribicic

Fix failed DRBD disk creation cleanup

When creating a DRBD disk, Ganeti reserves minor numbers on a per-node
basis. In case of a failed disk creation, these reservations should be
released. During the name/uuid refactoring, the invocation of the
function that releases the minors was not updated, resulting in no...

e9ba7edf 04/23/2014 12:11 pm Thomas Thrainer

Fix lint errors introduced during cherry-pick

Calm a few lint errors introduced during cherry-picking code in
qa_job_utils.py. The fixes were intentionally made in a way which should
produce merge conflicts later on, so it's not forgotten to undo them.

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

8c7864ba 04/22/2014 04:54 pm Helga Velroyen

Hooking up verification for shared file storage

As for the cluster modify, it was also forgotten to
hook up the verification of the shared file storage
paths despite all infrastructure was done already.

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

c02767f0 04/22/2014 04:54 pm Helga Velroyen

Fix --shared-file-storage-dir option of gnt-cluster modify

While all infrastructure to make shared-file storage
runtime-configurable was already submitted, the actual
setting of the path was forgotten. This patch fixes it.

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

90240591 04/22/2014 03:01 pm Helga Velroyen

Clarify default setting of 'metavg'

This fixes issue 810, suggesting to clarify where the
default for 'metavg' comes from.

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

73b8f8e1 04/17/2014 12:38 pm Thomas Thrainer

Fix invocation of GetCommandOutput in QA

The cherry-picked function _GetOutputFromMaster() calls
GetCommandOutput() with parameters only present in newer Ganeti
branches. Remove those parameters as they cause errors in stable-2.10.

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

b63453e9 04/17/2014 10:12 am Thomas Thrainer

Clean up RunWithLocks

This patch cleans RunWithLocks up a little bit by reducing the number
of delay function terminations, and using the QAThread class to ensure
exceptions are thrown at the right time and in the right place.

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

1d523139 04/17/2014 10:12 am Thomas Thrainer

Add an exception-trapping thread class

To have better control over threads, this patch adds a helper Thread
subclass which captures any exceptions occurring for later use.

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

27aa899e 04/17/2014 10:12 am Thomas Thrainer

Wait for delay to provide interruption information

The RunWithLocks test assumed that gnt-debug delay would have the info
needed for interruption ready immediately after being run, and in some
situations this is not the case. This patch makes the test more patient...

8c975d5e 04/17/2014 10:12 am Thomas Thrainer

Add an expected block option to RunWithLocks

To compensate for the cases where a QA test is supposed to block when
a lock is present, add an additional option showing whether blocking is
supposed to happen or not.

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

1e00b69b 04/17/2014 10:12 am Thomas Thrainer

Track if a QA test was blocked by locks

This patch adds threading to the RunWithTests function, allowing one
thread to execute the QA test, and the other to monitor if it is being
blocked by locks set up during the test. If it is, terminate the
blocking job, and let the QA continue, reporting the test failure at...

9e89cf3c 04/17/2014 10:11 am Thomas Thrainer

Add a RunWithLocks QA utility function

This patch adds a QA utility function that acquires a set of locks, and
attempts to run a given function with the locks in place. Should the
given function block, this function does not detect this - later
patches will address the issue....

7384c96a 04/15/2014 07:20 pm Klaus Aehlig

Merge branch 'stable-2.9' into stable-2.10

  • stable-2.9
    Set exclusion tags correctly in requested instance
    Export extractExTags and updateExclTags
    Document spindles in the hbal man page
    Sample logrotate conf breaks permissions with split users

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

93c6a885 04/15/2014 06:36 pm Klaus Aehlig

Set exclusion tags correctly in requested instance

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Jose Lopes <>

2a6f6ef7 04/15/2014 06:36 pm Klaus Aehlig

Export extractExTags and updateExclTags

...from the htools Loader. These functions are needed when
parsing the requested instance of an allocator request.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Jose Lopes <>

06ab985d 04/15/2014 02:19 pm Jose A. Lopes

Fix 'gnt-cluster' and 'gnt-node list-storage' outputs

  • Update table for 'gnt-node list-storage'
  • Add newline between description and the actual command in 'gnt-cluster version'

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Helga Velroyen <>

29a0a7e2 04/14/2014 07:18 pm Klaus Aehlig

Document spindles in the hbal man page

When spindles were introduced as a resource, they were also
used in the computation of the cluster metric. Document this.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Jose Lopes <>

e85d5aa3 04/14/2014 04:48 pm Thomas Thrainer

Postpone 2.10.3 release to Wednesday, 16th

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Hrvoje Ribicic <>

266ea423 04/14/2014 03:58 pm Jose A. Lopes

Sample logrotate conf breaks permissions with split users

The sample logrotate configuration file
(doc/examples/ganeti.logrotate) contains the following line

create 640 root root

which is fine if Ganeti if configured without split users. However,
this will change permissions and ownership of log files if Ganeti is...

2d15929f 04/10/2014 01:57 pm Thomas Thrainer

Revision bump for 2.10.3

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Hrvoje Ribicic <>

49c187f1 04/10/2014 01:57 pm Thomas Thrainer

Update NEWS file for 2.10.3

Set the release date to Monday, April 14th.
Mention changes made since 2.10.2.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Hrvoje Ribicic <>

820ead90 04/10/2014 01:55 pm Thomas Thrainer

Warn in UPGRADE about not tar'ing exported insts

The /var/lib/ganeti directory contains per default also the export
directory, which holds exported instances. Warn in UPGRADE in the backup
step about (potentially) excluding those exports from the backup....

bd9ef845 04/10/2014 12:20 pm Hrvoje Ribicic

Fix non-running test and remove custom_nicparams rename

Due to a missing base class, the test that was supposed to check if
RAPI instance parameter renames during modifications are working did
not execute. As the instances are not covered by the QA tests, the...

a278ef7f 04/08/2014 03:31 pm Hrvoje Ribicic

Account for NODE_RES lock in opportunistic locking

This patch extends the opportunistic locking to take both the
NODE_RES and NODE locks into account when selecting nodes to be used
by the iallocator.

Signed-off-by: Gerard Oskamp <>
Reviewed-by: Hrvoje Ribicic <>

c1b512ca 04/08/2014 02:24 pm Thomas Thrainer

Fix request flooding of noded during disk sync

If a user manually pauses the DRBD sync, Ganeti started to poll the node
daemon without any waiting between request. This caused heavy load on
the node. This patch fixes this by waiting at least 5 secondes between...

dfd6e56b 04/08/2014 02:16 pm Hrvoje Ribicic

Merge branch 'stable-2.9' into stable-2.10

  • stable-2.9
    Allow QA asserts to produce more messages
    Add messages about skipped QA disk template tests
    Fix list-drbd QA test
    Update installation guide wrt to DRBD version
    Update NEWS for 2.9.6
    Revision bump for 2.9.6...
b64f32c3 04/07/2014 02:20 pm Klaus Aehlig

Revision bump for 2.9.6

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

3b693a21 04/07/2014 02:20 pm Klaus Aehlig

Update NEWS for 2.9.6

Describe all the changes to Ganeti made since the
2.9.5 release. Also set the release date.

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

9db88cef 04/04/2014 02:03 pm Helga Velroyen

Update installation guide wrt to DRBD version

This patch updates the supported DRBD version number to
8.4.

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

9ef2914f 04/04/2014 12:11 pm Hrvoje Ribicic

Fix list-drbd QA test

The list-drbd QA test assumed falsely that no instance has more than
one disk. This can happen, and this patch accounts for it.

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

201acc70 04/04/2014 12:10 pm Hrvoje Ribicic

Add messages about skipped QA disk template tests

When disk templates were ignored in the QA, no messages were emitted,
in contrast to pretty much all tests. To make it easier to see why
a test was not executed, this patch performs a minor refactoring and...

a9a7352b 04/04/2014 12:10 pm Hrvoje Ribicic

Allow QA asserts to produce more messages

This patch adds a tiny helper function that allows error messages
output by the QA asserts to be prefixed with whatever the user
supplies.

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

918baead 04/01/2014 01:56 pm Apollon Oikonomopoulos

KVM: use running HVPs to calc blockdev options

Commit 0fe22ad2 moved the call to _GenerateKVMBlockDevicesOptions() from
_GenerateKVMRuntime() to _ExecuteKvmRuntime. However, while in
_GenerateKVMRuntime() there is only one set of HVPs, those of the
instance's configuration, in _ExecuteKVMRuntime there are two sets of...

5e6d16ab 04/01/2014 01:43 pm Apollon Oikonomopoulos

KVM: reserve a PCI slot for the SCSI controller

Currently instances with disk_type=scsi are broken, because the SCSI
controller uses a PCI slot not accounted for in the PCI assignment
logic. We reserve a throw-away slot just for that.

This is a temporary workaround and will be reverted during the upcoming...

a4bbd52a 04/01/2014 12:22 pm Helga Velroyen

Check for LVM-based verification results only when enabled

This patch fixes a little glitch in 'gnt-cluster verify'.
If LVM-based storage was disabled, it would still check
LVM-related verification results and print a confusing
error message.

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

824d2357 04/01/2014 12:22 pm Helga Velroyen

Fix "existing" typos

This patch fixes the wording of a couple of messages,
including two typos of the word 'existing'.

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

715a89c2 04/01/2014 12:18 pm Thomas Thrainer

Fix output of gnt-instance info after migration

After migrating a DRBD based instance, the output of gnt-instance info
was wrong wrt. DRBD minors. This patch fixes the output in such cases.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Hrvoje Ribicic <>

2dc0acb9 03/31/2014 04:41 pm Klaus Aehlig

Verify configuration version number before parsing

As the attempt to convert the dict used as json representation
of the configuration into a configuration object already makes
assumptions about the internal representation, verify the version
before such an attempt. Fixes issue 783....

7bb22823 03/27/2014 06:50 pm Hrvoje Ribicic

Merge branch 'stable-2.9' into stable-2.10

  • stable-2.9
    Fix failing gnt-node list-drbd command
  • stable-2.8
    Add reason parameter to RAPI client functions

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

d65f3490 03/27/2014 06:15 pm Hrvoje Ribicic

Merge branch 'stable-2.8' into stable-2.9

  • stable-2.8
    Add reason parameter to RAPI client functions

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

4efa6249 03/27/2014 05:18 pm Hrvoje Ribicic

Fix failing gnt-node list-drbd command

The UUID/name switch avoided this particular bit of code, and as a
result the list-drbd command failed as it tried to compare UUIDs and
names. This patch fixes the retrieval, converts the newly returned
UUIDs to names, and modifies the QA to the results and not only the...

f22348c6 03/27/2014 04:33 pm Klaus Aehlig

Fix specification of TIDiskParams

Commit 580b1fdd incorrectly assumes that disk parameters are
just the standard ones, whereas the man page explicitly states
that additional parameters can be passed as well, if they make
sense for the chosen storage type. Fix this....

3fd0d720 03/26/2014 05:37 pm Hrvoje Ribicic

Add renaming of group custom ndparams, ipolicy, diskparams

This patch adds the ability to set the group-specific parameters in the
same way they are described when returned by the info command - with
the "custom_" prefix.

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

4589d0e6 03/26/2014 05:37 pm Hrvoje Ribicic

Add test for group custom parameter renaming

This patch introduces a simple test checking if a custom_* parameter is
renamed and passed to the opcode correctly.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Thomas Thrainer <>

da235ee4 03/26/2014 05:37 pm Hrvoje Ribicic

Extend RAPI symmetry tests with RAPI-only aliases

This patch allows users to specify specific parameter aliases enabled
by RAPI, and test whether their value can be retrieved and set.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Thomas Thrainer <>

25082733 03/26/2014 05:37 pm Hrvoje Ribicic

Add RAPI symmetry tests for groups

This patch invokes the RAPI symmetry tests for groups.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Thomas Thrainer <>

d42394f2 03/26/2014 05:37 pm Hrvoje Ribicic

Add renaming of instance custom params

Much like the groups before, this patch allows custom_* params to be
submitted under the same name they can be retrieved as in the info
call.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Thomas Thrainer <>

a903ca89 03/26/2014 05:37 pm Hrvoje Ribicic

Add unittests for instance modify parameter renaming

The get/put QA test could be used for instances as well, but unlike
other objects, instances have a very large number of discrepancies and
missing fields. To avoid enumerating every discrepancy and testing...