Statistics
| Branch: | Tag: | Revision:

root / lib @ 3b01286e

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 99.3 kB
bdev.py 66.7 kB
bootstrap.py 27.1 kB
cli.py 82.1 kB
cmdlib.py 379.7 kB
compat.py 3.7 kB
config.py 56 kB
constants.py 29.5 kB
daemon.py 23.1 kB
errors.py 9.5 kB
ht.py 3.7 kB
jqueue.py 57.6 kB
jstore.py 3.7 kB
locking.py 48.7 kB
luxi.py 13.7 kB
mcpu.py 18.4 kB
netutils.py 13.6 kB
objects.py 38.4 kB
opcodes.py 21.7 kB
rpc.py 45.7 kB
runtime.py 3.3 kB
serializer.py 4.5 kB
ssconf.py 14.9 kB
ssh.py 8.6 kB
storage.py 12.5 kB
uidpool.py 11.8 kB
utils.py 105.7 kB
workerpool.py 13.3 kB

Latest revisions

# Date Author Comment
3b01286e 10/28/2010 07:56 pm Michael Hanselmann

LUExportInstance: Accept instance already shut down

To remove the instance after an export it needs to be stopped. This can
be achived using the parameter “shutdown”, or by explicitly shutting
down the instance before exporting. The latter would still require the...

f9116d58 10/28/2010 05:06 pm Guido Trotter

GanetiLockManager, remove default values

The nodes and instances parameters to the constructor are mandatory
anyway, as a value of None will fail when creating the LockSet. Rather
than fixing this adding code lines, since we never used the default
value, let's remove them and require that the parameters are passed....

1ac6f2ad 10/28/2010 05:06 pm Guido Trotter

ConfigWriter.GetNodeGroupList

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

add6d208 10/28/2010 03:50 pm Iustin Pop

Prevent onlining a node without working noded

This is just a basic check, plus a warning. In the future, we might do
more checks, or prevent simple onlining (without readd) if --force is
not passed.

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

4ca52046 10/28/2010 03:49 pm Iustin Pop

Yet another rework in LUSetNodeParms

We will need the new role in CheckPrereq, so move its computation there
and save the new role to self.

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

877b849b 10/28/2010 02:51 pm Iustin Pop

Prevent moving/creating instances on non-vm nodes

This small patch modifies LUCreateInstance, LUReplaceDisks and
LUMoveInstance to not use non-vm_capable nodes.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

77bad5b2 10/28/2010 02:51 pm Iustin Pop

Add support for vm_capable in file distribution

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

fd3d37b6 10/28/2010 02:51 pm Iustin Pop

Add the master/vm_capable flags in node add

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

7b4978ad 10/28/2010 02:51 pm Iustin Pop

Add the capability flags in node info output

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

614e7e26 10/28/2010 02:51 pm Iustin Pop

Add a CheckNodeVmCapable helper in cmdlib

Also changes the error code for the other CheckNode* helpers to
ECODE_STATE, not ECODE_INVAL: ECODE_INVAL is for requests that are
invalid (e.g. create drbd instance with one node), whereas ECODE_STATE
denote requests that are not satisfiable due to cluster/node/instance...

View revisions

Also available in: Atom