Statistics
| Branch: | Tag: | Revision:

root @ 55e711aa

# Date Author Comment
55e711aa 04/09/2014 10:05 am Apollon Oikonomopoulos

QMP: make QmpConnection act as a context manager

This will allow automatic connection and socket cleanup on command
completion.

We also repeat the Qmp tests using the context manager. For this to be
feasible, we move the test scenario to class variables and modify...

f7b0366c 04/08/2014 03:35 pm Hrvoje Ribicic

Complete zeroing

This patch will do all that is necessary to allow the helper VM to do
whatever it will do with the zeroing image in place - which is,
hopefully, to zero out the disks of the instance.

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

a81e84ff 04/08/2014 03:34 pm Hrvoje Ribicic

Add timeout parameters to gnt-backup export

This patch adds the two parameters to gnt-backup export, documenting
their meanings in the manual file as well.

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

22096c14 04/08/2014 03:34 pm Hrvoje Ribicic

Add zeroing timeout params to opcode

This patch adds two parameters controlling the zeroing timeout - one
that is fixed and another that depends on the amount of data (size of
disks) to zero.

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

03d56d40 04/08/2014 03:34 pm Hrvoje Ribicic

Add zeroing function shell

This patch moves towards the actual zeroing by providing a function
that determines the necessary size and creates and destroys a temporary
disk.

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

69683c7d 04/08/2014 03:34 pm Hrvoje Ribicic

Add image size estimation function

To create a temporary disk, it is necessary to know just how big this
disk must be. This patch adds a function that retrieves this
information for both data sources - a URL and a file.

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

21a17f33 04/08/2014 03:34 pm Hrvoje Ribicic

Add file info RPC call

Due to the need to determine the size of the temporary disk used for
the VM helper, an RPC call capable of supplying this information has
been added. It can be extended as needed to supply additional
information provided by Python's os.stat....

b1b4b282 04/08/2014 03:34 pm Hrvoje Ribicic

Modify failing assert

The assert stating that the disk did not have to be activated made
sense once the instance's disks were never completely deactivated. With
zeroing, the assumption no longer holds true, and should be replaced by
a check that the disks of the instance are indeed active....

b5e61bfd 04/08/2014 03:34 pm Hrvoje Ribicic

Introduce class for temporary disk creation

The instance zeroing requires that a virtual appliance capable of
performing it is used, and short of provisioning another VM, the best
Ganeti can do is reuse the virtualization environment of the instance.
To do this, a disk is needed to host the OS performing the zeroing, and...

4986c93b 04/08/2014 03:34 pm Hrvoje Ribicic

Factor out and alter the instance running check

Examining whether an instance is running is useful outside the instance
state check, especially as the check relies on the admin_state recorded
within the configuration, which the code treats as the desired rather...

d6e1e696 04/08/2014 03:34 pm Hrvoje Ribicic

Lock node if zeroing is used in LUBackupExport

This patch adds a node lock if zeroing is used, preventing any
operations that might interfere with the amount of available space.

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

cfa8cbe5 04/08/2014 03:34 pm Hrvoje Ribicic

Add --zero-free-space option to gnt-backup export

This patch adds the option, allowing the CLI client to use the zeroing
option to save space when compressing images.

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

e2cdecef 04/08/2014 03:34 pm Hrvoje Ribicic

Add manual entry for gnt-cluster zeroing-image parameter

This patch adds a short description of the zeroing-image parameter to
the manual page of gnt-cluster.

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

0894ac48 04/08/2014 03:34 pm Hrvoje Ribicic

Add the zeroing-image option

This patch adds the zeroing-image option to gnt-cluster and the
OpBackupExport params. The many changes are all minor, yet necessary.

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

84ac8b54 04/08/2014 03:34 pm Hrvoje Ribicic

Factor out image validity check

The image validity check has been implemented as a part of the OS
installs, yet it could be useful for the zeroing image as well. This
patch factors the utility out.

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

8cd365d9 04/08/2014 03:34 pm Hrvoje Ribicic

Add HV parameter checks

The first version of zeroing requires two things: that the
self-initiated shutdown of the instance can be detected, and that the
instance boots from the first disk supplied to it. This patch checks
for these by examining the hypervisor parameters....

363f43eb 04/08/2014 03:34 pm Hrvoje Ribicic

Add the zero-free-space option

Although unused for now, add the zero-free-space option to the backup
export opcode, and add a rudimentary check for whether it should be
used.

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

24d3d8da 04/08/2014 12:15 pm Apollon Oikonomopoulos

QMP: always return the command result

According to the QEMU Machine Protocol Specification, the messages sent
by QMP as a response to a command can be of two types: either an error
message (identified by the "error" key), or a success message
(identified by the "return" key)....

c309d05f 04/08/2014 12:15 pm Apollon Oikonomopoulos

QMP: keep greeting message version info

QMP will always report the QEMU version and package-specific string in
the greeting message, as per the QEMU Machine Protocol Specification. We
store this information and make it available to users of the monitor.
...

5d94ddf6 04/08/2014 12:15 pm Apollon Oikonomopoulos

QMP: test supported_commands

Add test for supported_commands.

Signed-off-by: Apollon Oikonomopoulos <>
Signed-off-by: Thomas Thrainer <>
Reviewed-by: Thomas Thrainer <>

8926b648 04/08/2014 12:14 pm Apollon Oikonomopoulos

QMP: raise exception on unsupported QMP command

Raise a special exception, qmp.QmpCommandNotSupported, whenever an
unsupported QMP command is about to be executed. This is intended to
assist in falling back to the human monitor for hotplug operations. As...

bb439d22 04/08/2014 12:14 pm Apollon Oikonomopoulos

QMP: fetch supported commands on connect

Store the set of supported QMP commands in
QmpConnection.supported_commands. This allows selective error handling
to give the caller a chance to downgrade to HMP when unsupported
commands are encountered.

The `query-commands` QMP command used to implement this, appeared in...

6e684281 04/07/2014 05:01 pm Jose A. Lopes

Serve OS scripts from metadata daemon

This patch makes the metadata daemon web server serve the OS scripts
via the instance communication mechanism. This is achieved by
retrieving the "os" field from the instance parameters and serving the
file directly from the 'Constants.osSearchPath', typically...

eeaa2571 04/07/2014 05:01 pm Jose A. Lopes

Move processing OS params with visibility to web server

This will allow the metadata daemon to keep a more general instance
configuration and thus serve more general requests, such as, serving
information related to the OS scripts.

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

84e1ac7c 04/07/2014 05:01 pm Jose A. Lopes

Move metad configuration related code to a separate module

... as an intermediate step before moving the responsbility of
computing the final OS parameter configuration from the configuration
server to the web server. This will allow the metadata daemon to...

3716e8c6 04/07/2014 05:01 pm Jose A. Lopes

Fix docstring type in 'FindFile'

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

b601461d 04/07/2014 02:55 pm Klaus Aehlig

re-add try statement

...that was lost in the merge

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

246fa7d4 04/07/2014 02:37 pm Klaus Aehlig

Merge branch 'stable-2.11' into master

  • stable-2.11
    (no changes)
  • stable-2.10
    KVM: use running HVPs to calc blockdev options
    KVM: reserve a PCI slot for the SCSI controller
    Check for LVM-based verification results only when enabled
    Fix "existing" typos...
5f2d6a8f 04/07/2014 12:48 pm Apollon Oikonomopoulos

KVM: move tap control functions to a submodule

Move all tap-related functionality to the hv_kvm.netdev submodule. We
rename _OpenTap to OpenTap, since it will now be used as a public
function.

Also, change the hv_kvm tests to import the new code.

Signed-off-by: Apollon Oikonomopoulos <>...

67308d3b 04/07/2014 12:47 pm Apollon Oikonomopoulos

Convert QmpMessage to a new-style class

Signed-off-by: Apollon Oikonomopoulos <>
Reviewed-by: Hrvoje Ribicic <>

c637cc47 04/07/2014 12:47 pm Apollon Oikonomopoulos

KVM: move monitor & QMP classes to a submodule

We move the HMP and QMP classes to the hv_kvm.monitor module.

Signed-off-by: Apollon Oikonomopoulos <>
Reviewed-by: Hrvoje Ribicic <>

349215e3 04/07/2014 12:47 pm Apollon Oikonomopoulos

Convert hv_kvm to a package

Weighing in at 3k LOC, it is probably time to split hv_kvm into a number
of modules before adding new code.

Signed-off-by: Apollon Oikonomopoulos <>
Reviewed-by: Hrvoje Ribicic <>

c1cbe302 04/07/2014 12:34 pm Klaus Aehlig

Merge branch 'stable-2.10' into stable-2.11

  • stable-2.10
    KVM: use running HVPs to calc blockdev options
    KVM: reserve a PCI slot for the SCSI controller
    Check for LVM-based verification results only when enabled
    Fix "existing" typos
    Fix output of gnt-instance info after migration...
d1dd8525 04/07/2014 10:53 am Klaus Aehlig

Switch to ClientType as identifier

...instead of Either String JobId.

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

d32fe318 04/07/2014 10:53 am Klaus Aehlig

Verify readJSON . showJSON = Ok for ClientType

Verify that the JSON encoding of the ClientType can correctly
be decoded.

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

79a25c7b 04/07/2014 10:53 am Klaus Aehlig

Instance JSON ClientType

Make ClientType a JSON instance, in the way lock owners are
already encoded in JSON on the Python side.

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

caa39a5d 04/07/2014 10:53 am Klaus Aehlig

Add a type for the entity owning a lock

While it is unlikely that lock owners will ever be represented by
something different than a job id or, exceptionally, a string, this
type will still improves type checking. Additionally, it will allow
us to make it a separate instance of JSON and thus simplify the...

665a9ddc 04/04/2014 06:20 pm Klaus Aehlig

Make LuxiD query WConfD for locks

Since WConfD is now the authoritative source for locks, make LuxiD
query this daemon for lock information rather than the master daemon.

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

5d9efc0f 04/04/2014 06:20 pm Klaus Aehlig

Make locks field use live data

So far, the description of the locks fields was made under the assumption
that lock queries wouldn't be answered by Luxid anyway, and hence it was
enough to parse such requests. However, now luxid will answer these queries
after getting a snapshot of the locks status from wconfd. Hence make the fields...

d00aadee 04/04/2014 06:20 pm Klaus Aehlig

Export lock name

...as locks are queried by name.

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

b1f31cf0 04/04/2014 06:20 pm Klaus Aehlig

Add gnt-debug wconfd listalllocksowners

...so that wconfd's point of view on locks can be debugged
directly.

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

21a9adce 04/04/2014 06:20 pm Klaus Aehlig

Expose listAllLocksOwners in WConfD

...so that LuxiD can ask for the lock status to answer
lock queries.

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

b8ba35c4 04/04/2014 06:20 pm Klaus Aehlig

Verify soundness of listAllLocksOwners

Verify that every owner mentioned in the output of listAllLocksOwners
actually owns the locks claimed.

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

6e304dba 04/04/2014 06:20 pm Klaus Aehlig

Verify that all locks are mentioned in listAllLocksOwners

Add a test verifying that whenever an owner owns a lock, it
is also mentioned in the output of listAllLocksOwners.

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

50c674fc 04/04/2014 06:19 pm Klaus Aehlig

Verify consistency between listAllLocks{,Owners}

As listAllLocks is supposed to list all locks currently in use, this should
be a superset listAllLocksOwners, i.e., of all locks actively owned by some
user.

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

6ea23205 04/04/2014 06:13 pm Klaus Aehlig

Add a function to provide all the full lock state

This function will be used to provide the information required
to answer lock queries.

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

9fc1fe11 04/04/2014 06:13 pm Klaus Aehlig

Add gnt-debug wconfd listalllocks

...to simplify debugging the lock status.

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

0a4c8808 04/04/2014 06:13 pm Klaus Aehlig

Expose listAllLocks on WConfD

Make wconfd provide information about the list of all locks currently
in use.

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

447d582c 04/04/2014 06:13 pm Klaus Aehlig

Verify that the list of all locks is complete

Verify that all locks owned by someone are included in the
list of all (active) locks.

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

22f3fc92 04/04/2014 06:13 pm Klaus Aehlig

Add a function to obtain all active locks

Add a function that extracts from a LockAllocation the list
of all locks that are in use (directly or indirectly).

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

aa4a4b76 04/03/2014 02:38 pm Petr Pudlak

Fix lint errors after moving Luxi code to UDSServer

Remove unused imports and update the 'buildCall' call in tests.

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

6856693f 04/03/2014 12:54 pm Petr Pudlak

Add a WConfd RPC Client

The client is generated automatically by Ganeti.THH.HsRPC.

It also includes helper functions for creating a client object.

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

d808bf6e 04/03/2014 12:54 pm Petr Pudlak

Add a module for creating Haskell-to-Haskell RPC clients

It uses TH to create client functions with the corresponding signature
from a given list of server functions.

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

6e1e47d4 04/03/2014 12:54 pm Petr Pudlak

Add a generic TH currying function for arbitrary arity

.. and also a function for extracting a type argument from a type.

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

3fc9410e 04/03/2014 12:54 pm Petr Pudlak

Move buildCall and validateResult from Luxi to UDSServer

.. to that they're available for other Luxi-like RPC clients as well.

While at it, rename validateResult to parseResponse to be consistent
with the names of the other functions.

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

735cdaa5 04/03/2014 11:48 am Jose A. Lopes

Serve OS package from metadata daemon

... and fix an error message.

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

416e49bd 04/02/2014 02:22 pm Jose A. Lopes

Fix metad port from 8080 to 80

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

5abef1b1 04/02/2014 02:22 pm Jose A. Lopes

Update 'daemons/daemon-util' to stop 'ganeti-metad'

  • Add 'ganeti-metad' to list of daemons to stop
  • Update 'daemon-util' test

Note that 'ganeti-metad' is not automatically started together with
all the other daemons. Instead, 'ganeti-metad' is only started when...

8c58dc45 04/02/2014 02:22 pm Jose A. Lopes

Update metadata on create, import, reinstall, modify

Note that create and import are the same LU, therefore, there are a
total of 3 calls, not 4.

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

0ef72034 04/02/2014 02:22 pm Jose A. Lopes

Add helper function to modify metadata

This function is responsible for transforming the instance into a dict
and optionally overriding the OS parameters (public, private, secret).
Also, in case of failure it issues a warning.

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

1cacd76b 04/02/2014 02:19 pm Jose A. Lopes

Add RPC to modify metadata

This RPC is used to send instance configuration data from the master
to the node daemon, which in turn sends that data to the metadata
daemon.

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

2fd4e86d 04/02/2014 02:19 pm Jose A. Lopes

Use RPC transport to pass OS params to the metadata daemon

  • Use RPC transport to pass OS params to the metadata daemon, using
    the Luxi protocol
  • Fix comment in 'ganeti.rpc.transport'

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

acc1eb23 04/02/2014 02:19 pm Jose A. Lopes

Add metadata daemon server entry point

... which starts the configuration and web servers.

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

bf3a5cc0 04/02/2014 02:19 pm Jose A. Lopes

Modify metadata daemon web server to serve OS parameters

Extend metadata web server to serve the OS parameters from the shared
MVar containing the instances' configurations, indexed by their IP
address.

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

f007e290 04/02/2014 02:18 pm Jose A. Lopes

Add metadata daemon configuration server

The configuration server listens on a Unix socket for connections from
the node daemon. The node daemon sends the instance parameters to the
configuration server so they can be served through the metadata daemon
web server to the instances which have the communication mechanism...

80929ecb 04/02/2014 02:18 pm Jose A. Lopes

Add metadata daemon types

The metadata daemon will be responsible for receiving the instance
parameters from the node daemon and keeping them in memory. The type
of the instance parameters in defined in a separate module because it
will be shared between the web server and the configuration server....

57ccc712 04/02/2014 02:18 pm Jose A. Lopes

Move metadata daemon to its own directory

Currently, the metadata daemon is mainly a web server. However, a new
configuration server will be introduced along with other metadata
related modules. Therefore, this patch moves the current metadata
daemon web server to its own directory. This module is also renamed...

a1d7c167 04/01/2014 07:13 pm Petr Pudlak

Add job execution to the daemons refactoring design doc

The section describes how Luxi daemon should execute the jobs so that it
can ensure it can detect their death at every point.

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

7dc359f0 04/01/2014 05:54 pm Petr Pudlak

Fix the indentation of _LockList

.. to 2 spaces instead of 4.

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

185192f2 04/01/2014 04:53 pm Petr Pudlak

Ensure that mcpu always works with lists of locks

Apparently sometimes unicode strings appear out of nowhere (maybe from
the RPC calls) and then they are used as a list of characters (hail
Python). This patch adds a function that ensures we always have a...

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

47d2185e 04/01/2014 11:23 am Michele Tartara

Upgrade Roman numerals support

Ganeti prouds itself of its really good retro-compatibility and API stability.
Some of our users haven't upgraded their hardware in the last 2000 years (one
century more, one century less) and their Xen-PVM (Parchment and VelluM) does...

d26f8b9d 03/31/2014 05:09 pm Klaus Aehlig

Merge branch 'stable-2.10' into stable-2.11

  • stable-2.10
    Verify configuration version number before parsing

Signed-off-by: Klaus Aehlig <>
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....

f6004843 03/31/2014 02:59 pm Petr Pudlak

Acquire config lock for RPC calls that check consistency

Since LUClusterVerifyGroup issues 3 RPC calls to get information from
nodes, and during every of these calls, the configuration can be
modified by somebody else, it's necessary to acquire a shared lock on...

7d6e577c 03/31/2014 02:59 pm Petr Pudlak

Log asynchronous WConfd tasks and include the serial number

This makes debugging more informative and makes more clear how
configuration distribution gets aggregated.

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

579bd910 03/31/2014 02:59 pm Petr Pudlak

Make ConfigWriter internal lock re-entrant

The ConfigWriter now allows nested locking calls, and acquires
(releases) the config lock from WConfd only the first (last) time.

This is needed for blocks that acquire a lock on the configuration and
use synchronized configuration calls inside. While this should be...

49fd9796 03/31/2014 02:59 pm Petr Pudlak

Enable logging of thread ID in Haskell daemons

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

6cfde6d7 03/28/2014 06:36 pm Hrvoje Ribicic

Ignore private OS params in the get/put test

The get/put RAPI test tests for symmetry of what the RAPI output and
what it takes in, with exceptions for legacy differences and options
that should not be exposed. The private OS params belong to this
category, and this patch adds them as an exception....

419c3348 03/28/2014 03:01 pm Klaus Aehlig

Improve the heuristic of guessing masterd's livelock file

As, during startup, masterd uses livelock files for special
tasks, the lexicographically last livelock file for masterd
is the masterd_check_agreement_ file. However, when debugging,
we want the primary livelock file. Hence extend the prefix to...

bb4013df 03/28/2014 03:00 pm Klaus Aehlig

Make gnt-debug wconfd listlocks use only job ids (again)

Now that the product has been replaced by the sum we can, again,
identify jobs only by their job id.

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

ef534188 03/28/2014 03:00 pm Klaus Aehlig

Use thread name as identifier for non-job tasks

Non-jobs requesting resources need to identify themselves by a string
describing uniquely what they do. For the time being (while masterd
still exists), these non-jobs are client requests to masterd. Fortunately,...

9c45196b 03/28/2014 03:00 pm Klaus Aehlig

Identify lock owners by either string or job id

Most requests asking for resources are jobs. However, in exceptional
cases, other requests (like currently requests to masterd requiring the
configuration) need to ask for resources. They identify themselves by...

8d2896f5 03/28/2014 11:28 am Klaus Aehlig

Merge branch 'stable-2.11' into master

  • stable-2.11
    (no changes)
  • stable-2.10
    Fix specification of TIDiskParams
    Add unittests for instance modify parameter renaming
    Add renaming of instance custom params
    Add RAPI symmetry tests for groups
    Extend RAPI symmetry tests with RAPI-only aliases...
e69c93fb 03/27/2014 07:31 pm Hrvoje Ribicic

Merge branch 'stable-2.10' into stable-2.11

  • stable-2.10
    Fix specification of TIDiskParams
    Add unittests for instance modify parameter renaming
    Add renaming of instance custom params
    Add RAPI symmetry tests for groups
    Extend RAPI symmetry tests with RAPI-only aliases...
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...

c026664a 03/27/2014 04:43 pm Petr Pudlak

Remove VerifyConfig tests

These tests don't work with WConfd, because the configuration is
verified automatically before each operation and it's not possible to
modify the configuration state directly.

It'll be necessary to re-create these tests for WConfd once...

c28d15f7 03/27/2014 04:43 pm Petr Pudlak

Fix configuration calls for LUBackupExport

Re-read the instance in-memory objects from WConfd after calls that
change its state.

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

5a20e569 03/27/2014 04:43 pm Petr Pudlak

Fix configuration calls for LUInstanceRename

Re-read the instance in-memory objects from WConfd after calls
that change its state.

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

48b37308 03/27/2014 04:43 pm Petr Pudlak

Fix configuration calls for LUInstanceReboot

Re-read the instance in-memory objects from WConfd after calls that
change its state.

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

08390b40 03/27/2014 04:43 pm Petr Pudlak

Fix configuration calls for LUInstanceReinstall

Re-read the instance in-memory objects from WConfd after calls that
change its state.

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

3a5c2c0e 03/27/2014 04:43 pm Petr Pudlak

Fix configuration calls for LUInstanceShutdown

Re-read the instance in-memory objects from WConfd after calls that
change its state.

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

cb3ac71c 03/27/2014 04:43 pm Petr Pudlak

Fix configuration calls for LUInstanceStartup

Re-read the instance in-memory objects from WConfd after calls that
change its state.

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

d9adac23 03/27/2014 04:43 pm Petr Pudlak

Instance storage: Mark functions that modify instances

.. in the configuration with comments.

Also re-read an instance object where needed.

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