Statistics
| Branch: | Tag: | Revision:

root / src / Ganeti @ 7b4bde57

Name Size
  Confd
  Cpu
  Curl
  DataCollectors
  HTools
  Hs2Py
  Hypervisor
  Locking
  Logging
  Metad
  Monitoring
  Objects
  Query
  Storage
  THH
  Utils
  WConfd
BasicTypes.hs 14.3 kB
Codec.hs 1.6 kB
Common.hs 14.4 kB
Compat.hs 1.4 kB
Config.hs 15.6 kB
ConfigReader.hs 10.8 kB
ConstantUtils.hs 5.3 kB
Constants.hs 124.4 kB
Daemon.hs 16.2 kB
Errors.hs 6.5 kB
Hash.hs 1.8 kB
JQScheduler.hs 14.1 kB
JQueue.hs 24.1 kB
JSON.hs 13.2 kB
Jobs.hs 3.3 kB
Kvmd.hs 11.5 kB
Lens.hs 1.7 kB
Logging.hs 6.1 kB
Luxi.hs 10.7 kB
Network.hs 3.5 kB
Objects.hs 26.6 kB
OpCodes.hs 27.5 kB
OpParams.hs 49.4 kB
Parsers.hs 1.7 kB
Path.hs 4.7 kB
PyValue.hs 2.9 kB
Rpc.hs 26.1 kB
Runtime.hs 7.5 kB
Ssconf.hs 5.9 kB
THH.hs 50.9 kB
Types.hs 29.6 kB
UDSServer.hs 16 kB
Utils.hs 25.3 kB
VCluster.hs 1.6 kB
Version.hs.in 246 Bytes

Latest revisions

# Date Author Comment
7b4bde57 04/17/2014 06:59 pm Petr Pudlak

Add Haskell and Python modules for running jobs as processes

They will be used by Luxi daemon to spawn jobs as separate processes.

The communication protocol between the Luxi daemon and a spawned process
is described in the documentation of module Ganeti.Query.Exec....

7b0a9096 04/17/2014 06:56 pm Petr Pudlak

Add an utility function for writing and replicating a job

Use the function where appropriate.

Also handling of CancelJob is slightly refactored to use ResultT, which
is used by the new function.

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

64f3a6ea 04/17/2014 06:56 pm Petr Pudlak

Add a livelock file for the Luxi daemon

The file is initialized and kept within JQStatus.
It is temporarily assigned to jobs spawned by Luxi until they create
their own livelock files.

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

35e3ce28 04/17/2014 06:56 pm Petr Pudlak

Move `isDead` from DeathDetection to Utils/Livelock

.. as it has nothing special to do with WConfd and fits the new module
better.

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

2dcba67f 04/17/2014 06:56 pm Petr Pudlak

Add a module for livelock related functions

Currently it exports a function for creating livelock files.

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

2745aa81 04/17/2014 06:56 pm Petr Pudlak

Add functions for computing the full path of livelock files

.. so that Haskell code can create them at the proper place.

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

45ff650d 04/17/2014 06:56 pm Petr Pudlak

Allow closing a RPC client, keeping its file descriptors

The purpose is to keep the communication channel open, while replacing a
'Client' with something else.

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

0191874e 04/17/2014 06:56 pm Petr Pudlak

Separate client and server config for Luxi communication

The daemon identity is only required for server connections to set the
access mode to its socket appropriately. For client connections it's
not needed and requiring it prevents creating standalone clients, for...

8275c414 04/17/2014 06:56 pm Petr Pudlak

Extend 'lockFile' to return the file descriptor

.. of the locked file so that it can be closed later, if needed.

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

f63f7419 04/17/2014 06:56 pm Petr Pudlak

Allow creation if bi-directional pair of Luxi-like clients

This allows a process and its forked child to communicate with each
other using our standard infrastructure.

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

View revisions

Also available in: Atom