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 2edc1c79b0051f8716dbf54d006d3815e88e1aa7 (commit)
via 664b392d9c9d3a0d99bec8a60652078c822072b2 (commit)
via 396672cdb65cec836e36656adf3106a5538a0fef (commit)
via 57270b2d87233f5ffb97fdc04c70fc3eb9064677 (commit)
via b666f21319aa20c862c91324c844d45c3a6b2569 (commit)
via 7610d88418b07919924def0e47fa0a5f32c3e39b (commit)
via 74a50c4689c8f1f160f5f0a6fb6b4275ed922996 (commit)
via 64a66bd2194eb5d8d9dc304235a101ba38341c3a (commit)
via 1dee20414ac77a07fcaa662e1661382a4545eb79 (commit)
via 31da5ab5e0b8663c9dac03a7413b484e3f48f3c1 (commit)
via 3d942d8b24e2f7536bf4db42c849d835ce5643ba (commit)
from 89c4e36575a34b26edc82c5b2576a41ab6ae95fe (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 2edc1c79b0051f8716dbf54d006d3815e88e1aa7
Author: Michael Hanselmann <[email protected]>
Date: Thu Jan 24 15:12:32 2013 +0100
hv_xen: Test various forms of getting instance/node info
Test functions for retrieving instance and node information.
Signed-off-by: Michael Hanselmann <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit 664b392d9c9d3a0d99bec8a60652078c822072b2
Author: Michael Hanselmann <[email protected]>
Date: Thu Jan 24 15:09:38 2013 +0100
hv_xen: Test stopping an instance
Test stopping an instance, and ensure the configuration file still
exists after an instance couldn't be stopped.
Signed-off-by: Michael Hanselmann <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit 396672cdb65cec836e36656adf3106a5538a0fef
Author: Michael Hanselmann <[email protected]>
Date: Thu Jan 24 15:11:47 2013 +0100
hv_xen: Test starting an instance
Test starting an instance in normal mode, in paused mode, and in case of
failure.
Signed-off-by: Michael Hanselmann <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit 57270b2d87233f5ffb97fdc04c70fc3eb9064677
Author: Michael Hanselmann <[email protected]>
Date: Thu Jan 24 15:11:09 2013 +0100
hv_xen: Test reading non-existent config file
Check whether doing so raises an exception.
Signed-off-by: Michael Hanselmann <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit b666f21319aa20c862c91324c844d45c3a6b2569
Author: Michael Hanselmann <[email protected]>
Date: Thu Jan 24 15:10:37 2013 +0100
hv_xen: Test verifying hypervisor
Test success and failure.
Signed-off-by: Michael Hanselmann <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit 7610d88418b07919924def0e47fa0a5f32c3e39b
Author: Michael Hanselmann <[email protected]>
Date: Thu Jan 24 15:10:11 2013 +0100
hv_xen: Test removing config from "auto" directory
Test whether any existing configuration file named after the instance is
removed from Xen's “auto” directory.
Signed-off-by: Michael Hanselmann <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit 74a50c4689c8f1f160f5f0a6fb6b4275ed922996
Author: Michael Hanselmann <[email protected]>
Date: Thu Jan 24 15:08:50 2013 +0100
Establish base for testing Xen hypervisor abstraction
There are two separate Xen hypervisors (HVM and PVM), as well as two
different Xen commands (xl and xm). This already provides four different
combinations and future changes might bring even more. For this reason
the test classes for the Xen hypervisor are not defined manually, but
rather generated at module load time. Doing so makes it possible to keep
using the standard unit test infrastructure provided by the “unittest”
module.
Using “super”, which we try to avoid in other places, is necessary to
call functions provided by other classes.
Signed-off-by: Michael Hanselmann <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit 64a66bd2194eb5d8d9dc304235a101ba38341c3a
Author: Michael Hanselmann <[email protected]>
Date: Thu Jan 24 15:02:42 2013 +0100
hv_xen: Test errors while writing config file
Test error handling while writing Xen configuration files.
Signed-off-by: Michael Hanselmann <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit 1dee20414ac77a07fcaa662e1661382a4545eb79
Author: Michael Hanselmann <[email protected]>
Date: Thu Jan 24 15:01:55 2013 +0100
hv_xen: Test using unknown Xen command
This tests “unknown” values of “constants.XEN_CMD”.
Signed-off-by: Michael Hanselmann <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit 31da5ab5e0b8663c9dac03a7413b484e3f48f3c1
Author: Michael Hanselmann <[email protected]>
Date: Thu Jan 24 15:00:36 2013 +0100
hv_xen: Split StopInstance
Signed-off-by: Michael Hanselmann <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit 3d942d8b24e2f7536bf4db42c849d835ce5643ba
Author: Michael Hanselmann <[email protected]>
Date: Tue Jan 22 15:54:53 2013 +0100
hv_xen: Abstract running Xen commands
Instead of using the “XEN_CMD” constant in multiple places, that is now
all in a single place and can easily be changed for unit tests (through
a parameter given to the constructor).
Signed-off-by: Michael Hanselmann <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
lib/hypervisor/hv_xen.py | 89 +++++--
test/py/ganeti.hypervisor.hv_xen_unittest.py | 337 ++++++++++++++++++++++++++
2 files changed, 400 insertions(+), 26 deletions(-)
hooks/post-receive
--
Ganeti core
--