Statistics
| Branch: | Tag: | Revision:

root / lib @ 3f3b6e7d

Name Size
  build
  client
  cmdlib
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  rpc
  server
  storage
  tools
  utils
  watcher
__init__.py 1.2 kB
_constants.py.in 285 Bytes
asyncnotifier.py 6.1 kB
backend.py 149.9 kB
bootstrap.py 42.8 kB
cli.py 142.9 kB
compat.py 4.3 kB
config.py 101.7 kB
constants.py 2.9 kB
daemon.py 28.1 kB
errors.py 10.9 kB
hooksmaster.py 10 kB
ht.py 17.5 kB
jqueue.py 76 kB
jstore.py 6.1 kB
locking.py 60.9 kB
luxi.py 8.1 kB
mcpu.py 21.8 kB
netutils.py 19.7 kB
network.py 7.7 kB
objects.py 71.9 kB
opcodes.py.in_after 391 Bytes
opcodes.py.in_before 7.2 kB
opcodes_base.py 7.8 kB
outils.py 4.5 kB
ovf.py 66 kB
pathutils.py 6.3 kB
qlang.py 9.5 kB
query.py 86.7 kB
rpc_defs.py 26.7 kB
runtime.py 8 kB
serializer.py 10.7 kB
ssconf.py 13.5 kB
ssh.py 10.7 kB
uidpool.py 11.7 kB
vcluster.py 7.7 kB
wconfd.py 1.4 kB
workerpool.py 18.3 kB

Latest revisions

# Date Author Comment
3f3b6e7d 03/27/2014 04:39 pm Petr Pudlak

Fix calls to Update in LUNodeSetParams

Add calls to Update after modifying the node's configuration and move
some of the modifications so that they don't conflict with other calls
to ConfigWriter.

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

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

Fix calls to Update in LUInstanceSetParams

In particular, move the call to Update so that it doesn't conflict with
calls to ConfigWriter methods that change the configuration state.

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

4c04ae43 03/27/2014 04:39 pm Petr Pudlak

Fix calls to Update in LUClusterSetParams

Since this LU intersperses calls ConfigWriter methods with modifying
objects directly, it's necessary to call 'Update' and/or re-read them at
appropriate places.

Also a new ConfigWriter method is created for modifying the instance...

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

Move master failover code that uses ConfigWriter

.. so that it's in the scope of a running WConfd daemon. This is now
required as read-only calls invoke WConfd as well.

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

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

Make configuration per job/thread

Previously there was one shared configuration object for all jobs,
threads and other tasks. This patch creates separate ConfigWrite
instances for distinct jobs/threads.

All exported methods of ConfigWriter are now wrapped in calls that...

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

Use explicit configuration for nodes in GanetiContext

This way, each call to AddNode or RemoveNode uses a passed configuration
object that belongs to the appropriate job.

This is required to subsequently get rid of the single shared
ConfigWriter object....

7a311c56 03/27/2014 04:39 pm Petr Pudlak

Remove GanetiContext reference from ConfigWriter

It was only required for RPC calls, which are now handled by WConfD.

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

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

Add _UnlockedDropECReservations to ConfigWriter

There was just a locking version, and to keep things consistent in
_OpenConfig, we need also a non-locking one.

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

1b090fd9 03/27/2014 04:39 pm Petr Pudlak

Save the configuration after releasing an exclusive lock

In most cases, this is what has been already implemented manually.
In some cases, the configuration write is issued even if the
configuration hasn't been modified, but since WConfd checks for such
cases, neither file write nor distribution to nodes is performed....

871c312f 03/27/2014 04:39 pm Petr Pudlak

Expand the Python configuration synchronization decorator

.. so that it can be enhanced later.

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

View revisions

Also available in: Atom