| Branch: | Tag: | Revision:

root / lib @ 76431533

Name Size
  rapi 820 Bytes 1.9 kB 87.8 kB 63.5 kB 23.2 kB 70.2 kB 338.5 kB 48.2 kB 23.1 kB 11.1 kB 8.8 kB 41.7 kB 3.8 kB 40.3 kB 11.4 kB 20.2 kB 31 kB 19.2 kB 35.2 kB 4.6 kB 14.7 kB 7.8 kB 12.5 kB 11.1 kB 79.3 kB 8.9 kB

Latest revisions

# Date Author Comment
76431533 04/20/2010 06:45 pm Guido Trotter

KVM: implement the HT_SM_POOL security model

In order not to complicate to much the _ExecuteKVMRuntime function with
nested try/except/finally/else constructs we move the actual
runcmd+check call in a separate _RunKVMCmd function.

Signed-off-by: Guido Trotter <>...

7548396c 04/20/2010 06:45 pm Guido Trotter

KVM: add an instance uid file concept

If this file exists, for an instance, we release the uid contained
inside back to the uid pool, at instance shutdown.

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

ff20190d 04/20/2010 06:45 pm Guido Trotter

ReleaseUid: accept an integer as uid

We can't guarantee to keep the LockedObject around, when ReleaseUid is
called (because that might happen, for example, after a ganeti
shutdown/restart). So we'll support releasing on just an integer uid.

Signed-off-by: Guido Trotter <>...

14850c5e 04/20/2010 06:45 pm Guido Trotter

LockedUid: add GetUid() method

uidpool users that get passed a LockedUid by the uidpool need to know
which one the uid is. Since it's not nice to make them access a private
member, and we shouldn't make "uid" public either, we'll add a getter

Signed-off-by: Guido Trotter <>...

8904b35c 04/20/2010 06:45 pm Guido Trotter

KVM: move post-shutdown cleanup operations

Currently putting the cleanup just after the actual shutdown ensures
that it never gets called, due to how the retry/shutdown cycle works.
So we move those cleanups to their new dedicated place.

Signed-off-by: Guido Trotter <>...

f28ec899 04/20/2010 01:24 pm Guido Trotter

Add CleanupInstance hypervisor call

Currently some hypervisors (namely kvm) need to do some cleanup after
making sure an instance is stopped. With the moving of the retry cycle
in backend those cleanups were never done. In order to solve this we add
a new optional hypervisor function, CleanupInstance, which gets called...

9f3ac970 04/20/2010 12:25 pm Iustin Pop

Fix changing the list of enabled hypervisors

When enabling a new hypervisor, we must ensure that we have its
parameters in the cluster (global) hvparams dictionary.

Furthermore, we add a verify check for this case (this should be better
replaced with an auto-fix?)....

bb579a7d 04/20/2010 12:11 pm René Nussbaumer

Fix heading to the one of epydoc

Signed-off-by: René Nussbaumer <>
Reviewed-by: Iustin Pop <>

d3b790bb 04/19/2010 03:32 pm Balazs Lecz

Fix a couple of pydoc syntax problems

Signed-off-by: Balazs Lecz <>
Reviewed-by: Michael Hanselmann <>

1513e2dd 04/16/2010 05:13 pm Iustin Pop

Readd node: allow changed primary IP

The primary IP is not used for DRBD disks, only for the job queue and
internal commands. As such, it's trivial (with a quiet job queue) to
re-ip the node.

The patch just relaxes the checks in LUAddNode, and manual testing shows...

View revisions

Also available in: Atom