Statistics
| Branch: | Tag: | Revision:

root / src / Ganeti / WConfd @ 2f719353

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

Latest revisions

# Date Author Comment
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 <>

41ea331e 03/07/2014 05:22 pm Petr Pudlak

Let WConfd distribute the configuration to MCs

.. and remove the distribution from lib/config.py

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

94c7e022 03/07/2014 05:22 pm Petr Pudlak

Function that distributes the configuration to MCs

Also refactor helper functions in WConfd/ConfigWriter into smaller ones
and add helpers for RPC calls.

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

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

Use lenses for modifying DaemonState in WConfd

This removes the verbose code for record updating and leads to more
point-free code.

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

View revisions

Also available in: Atom