Statistics
| Branch: | Tag: | Revision:

root / src @ 5e46225d

Name Size
  Ganeti
AutoConf.hs.in 4.5 kB
OLD-NEWS 19 kB
README 4.5 kB
ganeti-kvmd.hs 1.2 kB
ganeti-metad.hs 1.3 kB
ganeti-mond.hs 1.2 kB
ganeti-wconfd.hs 1.1 kB
haddock-prologue 251 Bytes
hconfd.hs 1.2 kB
hluxid.hs 1.2 kB
hs2py.hs 1.5 kB
htools.hs 824 Bytes
lint-hints.hs 1 kB
mon-collector.hs 1 kB
rpc-test.hs 8.6 kB

Latest revisions

# Date Author Comment
5e46225d 03/13/2014 02:49 pm Klaus Aehlig

Fix typo in lock levels

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

c89622cd 03/11/2014 05:09 pm Jose A. Lopes

Helper function that downloads an image and dumps it to disk

  • Add constant that holds the curl binary.
  • Add '_DownloadAndDumpDevice' which downloads a file (e.g., OS image)
    through curl and dumps it to a disk device (e.g., an instance disk).

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

e11d0f55 03/11/2014 03:28 pm Klaus Aehlig

Support releasing locks by level

Add a function to WConfD allowing to release locks by
Ganeti lock level.

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

e227f161 03/11/2014 03:28 pm Klaus Aehlig

Add a convenience function to release locks by property

While definable from listLocks and updateLocks, it is convenient
to be able to all locks with a given property. This will, e.g.,
allow to release all locks at a given level---as the mcpu does
routinely....

32cbb380 03/11/2014 03:28 pm Klaus Aehlig

BGL is not a set lock

Despite what the name suggests, the Big Ganeti Lock does not act as a
set of all locks. It is just a lock as any other lock from the point
of view of the Ganeti lock hierarchy.

It's special meaning comes from the fact that all jobs, except for...

5714a925 03/11/2014 03:28 pm Klaus Aehlig

For each Ganeti Lock provide its level

...so set a job can request operations on all its locks of a given level.

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

1835fd75 03/11/2014 03:28 pm Klaus Aehlig

Add network locks to Haskell

Ganeti also has a lock level for networks, however this level was forgotten
when the Ganeti lock hierarchy was implemented in Haskell.

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

1310339c 03/11/2014 03:28 pm Klaus Aehlig

Fix allocation order of locks

The correct allocation order for node-related Ganeti locks is
allocation, group, the node itself, resources.

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

2754dc7d 03/11/2014 03:28 pm Klaus Aehlig

Allow transitions from sets to elements

Owning a set-lock has the same effect as owning each member. So asking
for a member while already holding the set lock in the same mode (shared
or exclusive) is, effectively, no asking for new locks. Therefore, do not...

a55a40d6 03/11/2014 03:28 pm Klaus Aehlig

Fix typo

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

View revisions

Also available in: Atom