Statistics
| Branch: | Tag: | Revision:

root / src / Ganeti / WConfd @ 028f2db5

Name Size
ConfigState.hs 1.3 kB
ConfigWriter.hs 7 kB
Core.hs 6 kB
DeathDetection.hs 3 kB
Language.hs 2.4 kB
Monad.hs 8 kB
Server.hs 3.5 kB
Ssconf.hs 3.9 kB

Latest revisions

# Date Author Comment
028f2db5 03/27/2014 04:39 pm Petr Pudlak

Add lock checks to readConfig and writeConfig in WConfd

Allow reading the configuration only if the client has acquired
ConfigLock in shared or exclusive mode, and allow writing it only if the
client has acquired ConfigLock in exclusive mode.

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

61660332 03/27/2014 04:39 pm Petr Pudlak

Add RPC calls to WConfd to lock/unlock ConfigLock

This allows the clients to protect configuration operations, as required
by the current implementation of Python 'ConfigWriter'.

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

952cf6e2 03/27/2014 04:39 pm Petr Pudlak

After each lock operation, log the current lock status

.. using the DEBUG channel.

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

2f719353 03/27/2014 03:39 pm Petr Pudlak

Include the master in the list of MCs in SSConf

This was an unnoticed regression when SSConf has been refactored into
WConfd.

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

3addd59f 03/18/2014 01:52 pm Petr Pudlak

Create a separate data type for WConfd client identity

.. instead of using a pair.

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

5a8921f3 03/13/2014 02:49 pm Klaus Aehlig

Add downgrading locks by level to WConfd

Export a function that downgrades all locks of an owner of a
given level to own them only shared.

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

e11d0f55 03/11/2014 03:28 pm Klaus Aehlig

Support releasing locks by level

Add a function to WConfD allowing to release locks by
Ganeti lock level.

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

a8b9a6e3 03/07/2014 05:22 pm Petr Pudlak

Let WConfd distribute SSConf to nodes

.. and remove the corresponding code from lib/config.py.

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

7ea201c9 03/07/2014 05:22 pm Petr Pudlak

Add an asynchronous task for distributing SSConf to nodes

The task computes the SSconf data and compares it to the last state that
was successfully distributed. If it differs, issues the RPC call to
distribute it. If any of the RPC calls fails, the state remains...

731152ce 03/07/2014 05:22 pm Petr Pudlak

Add a module for constructing Ssconf from the configuration

This migrates the functionality from Python
ConfigWriter._UnlockedGetSsconfValues to Haskell.

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

View revisions

Also available in: Atom