Statistics
| Branch: | Tag: | Revision:

root / lib / masterd @ 84d9c84e

Name Size
__init__.py 833 Bytes
iallocator.py 27.5 kB
instance.py 47.8 kB

Latest revisions

# Date Author Comment
36b6d149 05/22/2014 02:18 pm Thomas Thrainer

Merge branch 'stable-2.11' into stable-2.12

  • stable-2.11
    (no commits)
  • stable-2.10
    tiered allocation: try canonical search path first
    Add QA config flag for all performance tests
    build-bash-completion: reduce branches
    Convert all the classes to new-style classes...
98da4d04 05/22/2014 01:58 pm Thomas Thrainer

Merge branch 'stable-2.10' into stable-2.11

  • stable-2.10
    tiered allocation: try canonical search path first
    Add QA config flag for all performance tests
    build-bash-completion: reduce branches
    Convert all the classes to new-style classes

Signed-off-by: Thomas Thrainer <>...

876fb142 05/22/2014 11:13 am Helga Velroyen

Convert all the classes to new-style classes

... to make lint shut up.

Signed-off-by: Helga Velroyen <>
Reviewed-by: Jose Lopes <>

c720ffa9 05/13/2014 11:36 am Hrvoje Ribicic

Correct docstrings

The previously present docstrings noted that only certain values were
to be used, and this patch correct this now that it is not true
anymore.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Thomas Thrainer <>

43b1f49f 05/05/2014 02:22 pm Ilias Tsitsimpis

Lift the Disk objects from the Instances

This patch replaces 'instance.disks' with 'GetInstanceDisks' everywhere
in the codebase. From now on, the function 'GetInstanceDisks' from the
config file has to be used in order to get the disks of an instance.
Also the functions 'AddInstanceDisk'/'RemoveInstanceDisk' have to be...

45c044f4 05/05/2014 02:22 pm Ilias Tsitsimpis

Get instance secondary nodes from config

Use 'GetInstanceSecondaryNodes' to get the secondary nodes of an
instance, instead of the 'secondary_nodes'.
Annotate 'secondary_nodes' in rpc so that backend has access to it.

Signed-off-by: Ilias Tsitsimpis <>...

3473fb81 03/20/2014 04:56 pm Jose A. Lopes

Use raw disks in import/export when OS scripts are absent

When an instance does not have OS scripts because, for example, it has
an OS image, then the import/export should not try to run the OS
scripts. Instead, it should use raw import/export.

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

b3724640 02/27/2014 05:11 pm Jose A. Lopes

Fix return of 'Validate'

  • fix return of 'Validate' in docstrings
  • fix all call sites
  • fix all tests

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Helga Velroyen <>

f3ac6f36 12/19/2013 01:59 pm Klaus Aehlig

Merge branch 'stable-2.10' into master

  • stable-2.10
    Version bump for 2.10.0~rc1
    Update NEWS for 2.10.0 rc1 release
    Fix pylint 0.26.0/Python 2.7 warning
    Update INSTALL and devnotes for 2.10 release
  • stable-2.9
    Bump revision for 2.9.2
    Update NEWS for 2.9.2 release...
4869595d 12/17/2013 10:11 pm Petr Pudlak

Add a Python directory for RPC code to keep it at one place

Move rpc.py to rpc/node.py and modify imports in existing code.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Helga Velroyen <>

View revisions

Also available in: Atom