Statistics
| Branch: | Tag: | Revision:

root @ 25cf4130

Name Size
  autotools
  daemons
  devel
  doc
  lib
  man
  qa
  src
  test
  tools
.ghci 21 Bytes
.gitignore 2.6 kB
COPYING 17.6 kB
INSTALL 11.3 kB
Makefile.am 75.3 kB
NEWS 130.5 kB
README 191 Bytes
UPGRADE 12.4 kB
autogen.sh 283 Bytes
configure.ac 24.9 kB
epydoc.conf.in 444 Bytes
pylintrc 2.9 kB
pylintrc-test 2.9 kB

Latest revisions

# Date Author Comment
25cf4130 02/27/2014 12:28 pm Petr Pudlak

Let config.py use WConfd for reading/writing the config

Currently it only relays the reads/writes to the file to WConfd,
everything else yet remains in config.py.

Also if the 'ConfigWriter' is opened in "offline" mode (like in
bootstrap.py), it doesn't use WConfd and resorts to the original...

80a56f26 02/27/2014 12:27 pm Petr Pudlak

Start WConfd temporarily during master failover

.. in order to update the configuration and distribute ssconf, before
starting the daemons by the scripts.

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

c0eb47b9 02/27/2014 12:27 pm Petr Pudlak

Include WConfd in the list of daemons started on a master

.. and make it the first one so that masterd can use it when it starts.

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

08fcaf55 02/27/2014 12:27 pm Petr Pudlak

Add missing constant for the name of WConfd

The constant is used when calling the daemon startup/shutdown scripts.

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

bc820a01 02/27/2014 12:27 pm Petr Pudlak

Add the --force-node option to WConfd

.. and fix the superfluous options list in ganeti-wconfd.hs

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

9a0b8258 02/27/2014 12:27 pm Petr Pudlak

Add an option for disabling node checks at daemon startup

This is needed for WConfd, because during failover it needs to be
temporarily started in order to update the configuration on the selected
master candidate.

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

710a2863 02/27/2014 12:27 pm Petr Pudlak

Convert int to float when checking config. consistency

When reading the configuration file from RPC JSON, values without a
floating point are parsed as 'int', not as 'float', and later the
consistency check fails.

This patch adds an automatic conversion from 'int' to 'float' during...

5ca6adf5 02/26/2014 07:17 pm Klaus Aehlig

Prefer unless over when (not...)

...and by doing so, please lint.

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

5e26a86e 02/26/2014 06:23 pm Klaus Aehlig

At startup, make WConfD read the lock allocation from disk

On startup, make wconfd read a the state of the lock allocation from disk,
instead of starting from an empty allocation.

Note that, as opposed to the configuration, no finding a saved
log configuration is not an error; e.g., the node might be master...

f3eb4bfd 02/26/2014 06:23 pm Klaus Aehlig

Provide path to persist locks

As we aim to handle jobs as separate processes with locks
handled by WConfD, we need to persist the locks to ensure
they survive a restart of that deamon. Saving only on master
daemon is enough, however.

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

View all revisions | View revisions

Also available in: Atom