Statistics
| Branch: | Tag: | Revision:

root / src / Ganeti @ 36cb6837

Name Size
  Confd
  Cpu
  Curl
  DataCollectors
  HTools
  Hs2Py
  Hypervisor
  Monitoring
  Query
  Storage
  THH
BasicTypes.hs 9.3 kB
Common.hs 14.4 kB
Compat.hs 1.4 kB
Config.hs 14.8 kB
ConfigReader.hs 10.8 kB
ConstantUtils.hs 5.3 kB
Constants.hs 118.8 kB
Daemon.hs 15.6 kB
Errors.hs 6.5 kB
Hash.hs 1.8 kB
JQScheduler.hs 11.9 kB
JQueue.hs 17.2 kB
JSON.hs 10.9 kB
Jobs.hs 3.3 kB
Kvmd.hs 11.5 kB
Logging.hs 4.9 kB
Luxi.hs 11.9 kB
Network.hs 3.5 kB
Objects.hs 25.2 kB
OpCodes.hs 26.9 kB
OpParams.hs 46.2 kB
Parsers.hs 1.7 kB
Path.hs 3.9 kB
PyValue.hs 2.9 kB
Rpc.hs 21.5 kB
Runtime.hs 7.3 kB
Ssconf.hs 5.2 kB
THH.hs 46.5 kB
Types.hs 28.2 kB
UDSServer.hs 12.1 kB
Utils.hs 22.3 kB
Version.hs.in 246 Bytes

Latest revisions

# Date Author Comment
36cb6837 01/15/2014 02:34 pm Klaus Aehlig

Implement job cancellation in luxid

As luxid handles the job queue, this daemon is the natural
place to handle job cancellation. Answering to CancelJob requests
is also necessary for luxid to be feature compliant with masterd,
even for command-line requests only....

363dc9d6 01/15/2014 02:34 pm Klaus Aehlig

Provide a function to compute the canceled version of a job

When a job gets canceled while still queued, dequeuing requires
luxid to mark it as cancelled. So provide the necessary pure
function to do so.

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

47c3c7b1 01/15/2014 02:34 pm Klaus Aehlig

Support canceling dequeued jobs

Even after jobs have been handed over for execution, it might
still be possible to cancel them. On such case would be the
job still waiting for a lock. Eventually, we will have to
communicate to the job directly, but as long as execution is...

bb62d52e 01/15/2014 02:33 pm Klaus Aehlig

Add dequeuing to the job scheduler

This only removes queued jobs from the queue
and indicates whether the job was found in the queue.
For jobs that are already started from the queue's
point of view, it might still be possible to cancel
them, e.g., if they are still waiting for locks....

62a7853e 01/14/2014 12:38 pm Jose A. Lopes

Fix Kvmd imports for Ubuntu 13.04 64

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Michele Tartara <>

afa0fca4 01/13/2014 07:43 pm Jose A. Lopes

User shutdown hypervisor parameter

Add user shutdown parameter for KVM. Based on this parameter, decide
what information to report for a KVM instance, for example,
distinguish between 'ADMIN_down' and 'USER_down'.

Signed-off-by: Jose A. Lopes <>...

db519e20 01/13/2014 07:43 pm Jose A. Lopes

Add KVM daemon logic

Add KVM daemon logic, which contains monitors for Qmp sockets and
directory/file watching.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Michele Tartara <>

cf51a981 01/13/2014 07:43 pm Jose A. Lopes

Generalize and reuse Unix domain sockets

Refactor module 'Ganeti.UDSServer' so the KVM daemon can reuse code
declared in this module to handle Unix domain sockets.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Michele Tartara <>

4084d18f 01/13/2014 07:43 pm Jose A. Lopes

KVM daemon datatype, user and group

  • add user and group to 'configure.ac', 'Makefile.am' and
    'AutoConf.hs.in'
  • extend 'Daemon' datatype with 'GanetiKvmd' and implement all related
    functions, such as, 'daemonName', etc.
  • export KVM daemon name as constant...
9131274c 01/13/2014 07:43 pm Jose A. Lopes

Fix whitespace

Fix whitespace in several modules.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Michele Tartara <>

View revisions

Also available in: Atom