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 6de3bd13382c44e450fd96127e4249704ac99b53 (commit)
via 008bf935fad75368f7d481e117a1f4bbef54c0e0 (commit)
via 3d7d0dc5bdf6e607a60360b8f29f862fe4c6eb7a (commit)
via a8250b4c4691326b4cd6a7764a6a1a8e1b984662 (commit)
via 7779503454a72f59e33de8c18b2f693a1daf9ad3 (commit)
via eaf2ee31864d943d300dfc29b5e18c6e0b27d69a (commit)
via 80cefc13eaf55e1be1b1e4cc0912b2037a294d86 (commit)
via cc7f28b124f2b8f5c880b464925e27c67b2aade2 (commit)
via 0c465d4a15ad3156fedcbae39b34c7948d25814d (commit)
via 098dbd4c15c76cd67731d6238c16b80cc255ebff (commit)
via e470d194df185810dc25652f57174772576cf623 (commit)
via 2c0a4296ae0fbfbcb73da87b17e9c6924b50611a (commit)
via 2e3941a560e25d61c092db4872280a7fdd9f0d79 (commit)
via a489a350d5265f888b2226719c5d0672f01c4a84 (commit)
via b4bc5de07a72145be57bb0daebe9146e5cc94f38 (commit)
from 15b7e70cc1294f292076e2166de14d87cb3d77c2 (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 6de3bd13382c44e450fd96127e4249704ac99b53
Author: Aaron Karper <[email protected]>
Date: Mon Nov 17 11:02:12 2014 +0100
Add limited tests for KVMHypervisor
KVMHypervisor is 2200 lines long and mostly untested. This patch starts
an effort to add tests for this class.
Signed-off-by: Aaron Karper <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit 008bf935fad75368f7d481e117a1f4bbef54c0e0
Author: Aaron Karper <[email protected]>
Date: Mon Nov 17 10:58:10 2014 +0100
Move config mock to testutils
The config mock is usable not only by cmdlib tests, so this patch moves
it to a place where it's available to all tests.
Signed-off-by: Aaron Karper <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit 3d7d0dc5bdf6e607a60360b8f29f862fe4c6eb7a
Author: Aaron Karper <[email protected]>
Date: Wed Nov 5 10:27:31 2014 +0100
Simplify test logic in kvm unittest
Many of the KVM related unittests are multiple tests in a single method
and include non-trivial logic. This patch splits the tests in multiple
methods, each of which has trivial logic.
Signed-off-by: Aaron Karper <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit a8250b4c4691326b4cd6a7764a6a1a8e1b984662
Author: Aaron Karper <[email protected]>
Date: Wed Nov 5 09:36:32 2014 +0100
Replace generic name in kvm unittest
A test console is created with _Test. This patch renames it to
MakeConsole.
Signed-off-by: Aaron Karper <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit 7779503454a72f59e33de8c18b2f693a1daf9ad3
Author: Aaron Karper <[email protected]>
Date: Tue Nov 4 17:55:24 2014 +0100
Add more documentation to _ExecuteKVMRuntime
Some arguments are not described, this commit adds at least superficial
information.
Signed-off-by: Aaron Karper <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit eaf2ee31864d943d300dfc29b5e18c6e0b27d69a
Author: Aaron Karper <[email protected]>
Date: Tue Nov 4 16:25:59 2014 +0100
Make cluster disable disk template error future proof
So far the error only showed that there are disks of a certain template
and that that template can therefore not be disabled. The new error also
shows on what instance (if any) it is mounted.
Signed-off-by: Aaron Karper <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit 80cefc13eaf55e1be1b1e4cc0912b2037a294d86
Author: Aaron Karper <[email protected]>
Date: Tue Nov 4 14:54:52 2014 +0100
Remove backend.py dependency on disk_template
Signed-off-by: Aaron Karper <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit cc7f28b124f2b8f5c880b464925e27c67b2aade2
Author: Aaron Karper <[email protected]>
Date: Tue Nov 4 14:16:07 2014 +0100
Move cmdlib.instance_storage.*DiskOfType to project utils
More and more parts of the code use it to check if a certain operation
is appropriate. The refactor reflects that this is a general helper and
no longer specific to instances
Signed-off-by: Aaron Karper <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit 0c465d4a15ad3156fedcbae39b34c7948d25814d
Author: Aaron Karper <[email protected]>
Date: Tue Nov 4 13:37:54 2014 +0100
Update design disks: goal of backwards compatibility
For many users the change from uniform disk templates would make their
lifes more difficult. Therefore we want to be externally compatible as
far as possible.
Signed-off-by: Aaron Karper <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit 098dbd4c15c76cd67731d6238c16b80cc255ebff
Author: Aaron Karper <[email protected]>
Date: Tue Nov 4 13:18:55 2014 +0100
Allow attach to diskless instance
Because the new definition of diskless is not having disks,
attaching/adding disks to the instance should be possible.
Signed-off-by: Aaron Karper <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit e470d194df185810dc25652f57174772576cf623
Author: Aaron Karper <[email protected]>
Date: Mon Nov 17 17:14:07 2014 +0100
Document problem with ConfigWriter class
This comment should show lines along which the ConfigWriter class can be
split.
Signed-off-by: Aaron Karper <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit 2c0a4296ae0fbfbcb73da87b17e9c6924b50611a
Author: Aaron Karper <[email protected]>
Date: Mon Nov 17 16:34:30 2014 +0100
Add mini-docstring for DetachedConfig
Signed-off-by: Aaron Karper <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit 2e3941a560e25d61c092db4872280a7fdd9f0d79
Author: Aaron Karper <[email protected]>
Date: Mon Nov 17 16:19:54 2014 +0100
Move ConfigSync and ConfigManager to config.utils
This is preparing to split ConfigWriter.
Signed-off-by: Aaron Karper <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit a489a350d5265f888b2226719c5d0672f01c4a84
Author: Aaron Karper <[email protected]>
Date: Mon Nov 17 16:16:41 2014 +0100
Move temporary reservation manager to separate file
The temporary reservation manager is sufficiently independent to be
moved to a separte submodule.
Signed-off-by: Aaron Karper <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
commit b4bc5de07a72145be57bb0daebe9146e5cc94f38
Author: Aaron Karper <[email protected]>
Date: Mon Nov 17 12:54:37 2014 +0100
Move config.py to config/__init__.py for split
config.py broke the maximal module size and needs to be refactored. For
this purpose, it will first be moved into a module directory.
Signed-off-by: Aaron Karper <[email protected]>
Reviewed-by: Michele Tartara <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
Makefile.am | 19 +-
doc/design-disks.rst | 26 ++
lib/backend.py | 4 +-
lib/cmdlib/cluster/__init__.py | 19 +-
lib/cmdlib/cluster/verify.py | 11 +-
lib/cmdlib/group.py | 5 +-
lib/cmdlib/instance_create.py | 5 +-
lib/cmdlib/instance_migration.py | 9 +-
lib/cmdlib/instance_set_params.py | 14 +-
lib/cmdlib/instance_storage.py | 12 +-
lib/cmdlib/instance_utils.py | 55 ---
lib/cmdlib/node.py | 3 +-
lib/{config.py => config/__init__.py} | 398 ++++++++------------
lib/config/temporary_reservations.py | 101 +++++
lib/config/utils.py | 80 ++++
lib/hypervisor/hv_kvm/__init__.py | 8 +-
lib/objects.py | 13 +-
lib/utils/__init__.py | 49 +++
test/py/cmdlib/cluster_unittest.py | 2 +-
test/py/cmdlib/testsupport/__init__.py | 2 +-
test/py/cmdlib/testsupport/cmdlib_testcase.py | 2 +-
test/py/ganeti.config_unittest.py | 2 +-
test/py/ganeti.hypervisor.hv_kvm_unittest.py | 201 +++++++---
test/py/{testutils.py => testutils/__init__.py} | 14 +
.../testsupport => testutils}/config_mock.py | 0
25 files changed, 651 insertions(+), 403 deletions(-)
rename lib/{config.py => config/__init__.py} (94%)
create mode 100644 lib/config/temporary_reservations.py
create mode 100644 lib/config/utils.py
rename test/py/{testutils.py => testutils/__init__.py} (96%)
rename test/py/{cmdlib/testsupport => testutils}/config_mock.py (100%)
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.