Statistics
| Branch: | Tag: | Revision:

root / src / Ganeti @ b57c50de

Name Size
  Confd
  Cpu
  Curl
  DataCollectors
  HTools
  Hs2Py
  Hypervisor
  Locking
  Logging
  Monitoring
  Query
  Storage
  THH
  Utils
  WConfd
BasicTypes.hs 14.3 kB
Common.hs 14.4 kB
Compat.hs 1.4 kB
Config.hs 15.1 kB
ConfigReader.hs 10.8 kB
ConstantUtils.hs 5.3 kB
Constants.hs 123.4 kB
Daemon.hs 16.2 kB
Errors.hs 6.5 kB
Hash.hs 1.8 kB
JQScheduler.hs 13.5 kB
JQueue.hs 23.2 kB
JSON.hs 12.8 kB
Jobs.hs 3.3 kB
Kvmd.hs 11.5 kB
Logging.hs 6.1 kB
Luxi.hs 11.8 kB
Metad.hs 3.2 kB
Network.hs 3.5 kB
Objects.hs 26.2 kB
OpCodes.hs 27.4 kB
OpParams.hs 48.5 kB
Parsers.hs 1.7 kB
Path.hs 4.2 kB
PyValue.hs 2.9 kB
Rpc.hs 21.9 kB
Runtime.hs 7.9 kB
Ssconf.hs 5.2 kB
THH.hs 53 kB
Types.hs 29.3 kB
UDSServer.hs 12.9 kB
Utils.hs 24.8 kB
VCluster.hs 1.6 kB
Version.hs.in 246 Bytes

Latest revisions

# Date Author Comment
b57c50de 03/06/2014 05:35 pm Klaus Aehlig

Provide a periodic lock cleanup task

Provide a task that periodically checks for all locks
owners whether they are still alive. If not, it cleans
up their locks.

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

a15072d7 03/06/2014 05:35 pm Klaus Aehlig

Add a constant for the polling of jobs death

Add a constant for the time interval at which WConfD checks for
resource owners that have died and cleans up their resources.

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

26436ab5 03/06/2014 05:35 pm Klaus Aehlig

Add a function to determine the lock owners

To allow for clean up, add a function that provides the list
of all the owners holding at least one lock.

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

bacb44fe 03/06/2014 05:35 pm Klaus Aehlig

Add a function to detect death of a job

With jobs running in processes different from the lock management soon,
we need to detect if a job holding locks dies, in order to release the
resources.

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

22c828a9 03/05/2014 11:21 am Hrvoje Ribicic

Add new log type

Following the example of the job-queue test, the delay also defines a
log message type of its own.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Petr Pudlak <>

2868f3f7 03/05/2014 11:21 am Hrvoje Ribicic

Add the interruptible option to the delay opcode

To prepare for the use of sockets to interrupt a running delay opcode,
this patch adds an option to the opcode for doing so.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Petr Pudlak <>

2c4ec08e 03/05/2014 11:20 am Hrvoje Ribicic

Add options for opportunistic creation during moves

To start off the introduction of oppportunistic locking during instance
creation, this patch adds the options allowing the locking to be
invoked.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Petr Pudlak <>

35cded14 03/04/2014 05:19 pm Petr Pudlak

Use 'ArrayObject' in Ganeti.RPC instead of manual encoding

Before most of the calls were implemented manually, ignoring any
generated code for maniupulating JSON. Using 'ArrayObject' we can
automate the process.

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

26e32dee 03/04/2014 05:19 pm Petr Pudlak

Move 'DictObject' and 'ArrayObject' to Ganeti.JSON

The type classes are more closely related to JSON and for using them
it should not be necessary to import Ganeti.THH.

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

948f6540 03/04/2014 05:19 pm Petr Pudlak

Add a typeclass for type serializable as a JSON array

This is in particular needed for RPC requests which are serialized this
way and therefore using `showJSON` on the generated objects doesn't
work.

The fiels are serialized in the order they're declared, together with...

View revisions

Also available in: Atom