This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Ganeti core".
The branch, master has been updated
via bb10fd00b101befcd95d3e2eb175ac6ad9de2f1b (commit)
via de80eaa9fe2d637277dc90fc1454f6a81ee739e5 (commit)
via bc0cd27e7e4ee6faf5280d5b37a10812259de200 (commit)
via 1c071e8bafedaef3f0f0cf55cd6a7e0f6dacd133 (commit)
via ba171ab63e4c2fffa3f1069c9e06bd60c625bf33 (commit)
via f69407573f5f05a4e9807539ed447e187e94ffef (commit)
via d9611be96164262b076f4b0774f21e80936940c9 (commit)
via 415b972dc61bd243941a4a70c351a5f2f2010f32 (commit)
via 52f4ef5a3fb3a2c6d0326890820a82faf69a0ad9 (commit)
via 2900a54a803ae383b7adee8c28557f9d1f0e402c (commit)
via bcdd5204caf57ebdd5ec2ec3da8d66a7dc022a4b (commit)
via e650363efb4a63296cb00a47a41f46a9b448e048 (commit)
via ddc0556abac0de3b31addcf36263b177369e7036 (commit)
from e3b21fdd3125fae378e888897c05e4b057051bde (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bb10fd00b101befcd95d3e2eb175ac6ad9de2f1b
Author: Aaron Karper <[email protected]>
Date: Wed Oct 15 19:42:04 2014 +0200
Avoid using instance disk template in cmdlib.instance
Remove dependency on instance disk_template and replace it with disk
type in the package cmdlib.instance.
Signed-off-by: Aaron Karper <[email protected]>
Signed-off-by: Michele Tartara <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit de80eaa9fe2d637277dc90fc1454f6a81ee739e5
Author: Aaron Karper <[email protected]>
Date: Wed Oct 15 19:35:13 2014 +0200
Avoid using instance disk template in cmdlib.node
Remove dependency on instance disk_template and replace it with disk
type in the package cmdlib.node.
Signed-off-by: Aaron Karper <[email protected]>
Signed-off-by: Michele Tartara <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit bc0cd27e7e4ee6faf5280d5b37a10812259de200
Author: Aaron Karper <[email protected]>
Date: Wed Oct 15 19:30:56 2014 +0200
Avoid using disk template in cmdlib.instance_storage
Remove dependency on instance disk_template in cmdlib.instance_storage
to only depend on the disk type.
Signed-off-by: Aaron Karper <[email protected]>
Signed-off-by: Michele Tartara <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit 1c071e8bafedaef3f0f0cf55cd6a7e0f6dacd133
Author: Aaron Karper <[email protected]>
Date: Wed Oct 15 19:23:30 2014 +0200
Avoid using disk template in cmdlib.instance_migration
This patch removes the dependency on the instance disk_template from
cmdlib.instance_migration and replaces it with the disk types.
Signed-off-by: Aaron Karper <[email protected]>
Signed-off-by: Michele Tartara <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit ba171ab63e4c2fffa3f1069c9e06bd60c625bf33
Author: Aaron Karper <[email protected]>
Date: Wed Oct 15 19:19:01 2014 +0200
Avoid using instance disk template in cmdlib.group
This patch removes the uses of the instance's disk_template to classify
instances and uses the disk's device types instead.
Signed-off-by: Aaron Karper <[email protected]>
Signed-off-by: Michele Tartara <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit f69407573f5f05a4e9807539ed447e187e94ffef
Author: Aaron Karper <[email protected]>
Date: Wed Oct 15 19:10:54 2014 +0200
Avoid using instance disk template in cmdlib.cluster
This patch removes the usages of the instance's disk_template object in
the cmdlib.cluster file. This is independent of other refactors.
Signed-off-by: Aaron Karper <[email protected]>
Signed-off-by: Michele Tartara <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit d9611be96164262b076f4b0774f21e80936940c9
Author: Aaron Karper <[email protected]>
Date: Tue Oct 21 14:13:11 2014 +0200
Make ComputeIPolicySpecViolation take multiple disk types
This requires all callers to provide all disk types of the instance
checked. If that isn't possible, the singleton list can be used. The
function checks that assertion.
Signed-off-by: Aaron Karper <[email protected]>
Signed-off-by: Michele Tartara <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit 415b972dc61bd243941a4a70c351a5f2f2010f32
Author: Aaron Karper <[email protected]>
Date: Wed Oct 15 15:57:50 2014 +0200
Refactor cmdlib.instance.LUInstanceSetParam#CheckPrereq
The method got out of hand (350 lines with 50+ local variables), this
patch gets it back under control.
Signed-off-by: Aaron Karper <[email protected]>
Signed-off-by: Michele Tartara <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit 52f4ef5a3fb3a2c6d0326890820a82faf69a0ad9
Author: Aaron Karper <[email protected]>
Date: Wed Oct 15 15:52:36 2014 +0200
Update doc: show relation DiskTemplate <-> DiskLogicalId
The relation between the two is simple, but undocumented, which would
lead to problems with new people working on this.
Signed-off-by: Aaron Karper <[email protected]>
Signed-off-by: Michele Tartara <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit 2900a54a803ae383b7adee8c28557f9d1f0e402c
Author: Aaron Karper <[email protected]>
Date: Mon Oct 13 02:22:44 2014 +0200
Cleanup some haskell code
Use Applicative in disk type parsing
remove unnecessary lambda in THH code
Signed-off-by: Aaron Karper <[email protected]>
Signed-off-by: Michele Tartara <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit bcdd5204caf57ebdd5ec2ec3da8d66a7dc022a4b
Author: Aaron Karper <[email protected]>
Date: Mon Oct 13 02:22:43 2014 +0200
Use @wraps for withLockedLU
This change enables tools like 'nose2' to execute only one single test
method, which is a great help when debugging. Plus using wraps is good
style for a wrapper.
Signed-off-by: Aaron Karper <[email protected]>
Signed-off-by: Michele Tartara <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit e650363efb4a63296cb00a47a41f46a9b448e048
Author: Aaron Karper <[email protected]>
Date: Wed Oct 15 15:46:44 2014 +0200
Remove duplication for DiskTemplate/StorageType mapping
Currently both Ganeti.Constants and Ganeti.Types define the mapping of
disk templates and storage types independently. This change automates
the generation of the mapping in Ganeti.Constants.
Signed-off-by: Aaron Karper <[email protected]>
Signed-off-by: Michele Tartara <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit ddc0556abac0de3b31addcf36263b177369e7036
Author: Aaron Karper <[email protected]>
Date: Wed Oct 15 15:40:40 2014 +0200
Replace 'DISKLESS' check w/ 'not inst.disks'
The disk templates are going away for the instances, so the new
definition of being diskless is to be actually without any disks
attached.
Signed-off-by: Aaron Karper <[email protected]>
Signed-off-by: Michele Tartara <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
lib/cmdlib/base.py | 6 +
lib/cmdlib/cluster.py | 33 ++--
lib/cmdlib/common.py | 45 +++---
lib/cmdlib/group.py | 9 +-
lib/cmdlib/instance.py | 233 ++++++++++++++-----------
lib/cmdlib/instance_migration.py | 9 +-
lib/cmdlib/instance_operation.py | 2 +-
lib/cmdlib/instance_storage.py | 37 +++--
lib/cmdlib/node.py | 4 +-
src/Ganeti/Constants.hs | 15 +--
src/Ganeti/Objects.hs | 73 ++++----
src/Ganeti/THH.hs | 4 +-
src/Ganeti/Types.hs | 9 +-
test/py/cmdlib/cluster_unittest.py | 2 +-
test/py/cmdlib/cmdlib_unittest.py | 103 ++++++------
test/py/cmdlib/instance_storage_unittest.py | 76 ++++++++
test/py/cmdlib/instance_unittest.py | 145 ++++++++++++++--
test/py/cmdlib/testsupport/cmdlib_testcase.py | 23 +++
18 files changed, 545 insertions(+), 283 deletions(-)
hooks/post-receive
--
Ganeti core
--
---
You received this message because you are subscribed to the Google Groups
"ganeti-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.