- 20 Nov, 2008 1 commit
-
-
Iustin Pop authored
Currently the iv_name is very linux-specific, and will break with the multi-disk changes. The patch changes this to generate sdX names based on the disk index in the disks structure, instead of relying on the iv_name. Reviewed-by: imsnah
-
- 20 Oct, 2008 1 commit
-
-
Iustin Pop authored
Reviewed-by: imsnah
-
- 14 Oct, 2008 2 commits
-
-
Iustin Pop authored
This patch changes the hypervisor functions to use the beparams dict instead of the instance attributes. Reviewed-by: ultrotter
-
Iustin Pop authored
This patch adds the new methods CheckParameterSyntax and the ValidateParameters in the base and xen hypervisors. It also changes the xen hypervisor to use the new hvparams field on instance. Reviewed-by: imsnah
-
- 04 Sep, 2008 1 commit
-
-
Alexander Schreiber authored
Use a default vnc_bind_address if None is specified Reviewed-by: iustinp
-
- 02 Sep, 2008 1 commit
-
-
Alexander Schreiber authored
Allow access to HVM serial console Reviewed-by: imsnah
-
- 29 Aug, 2008 1 commit
-
-
Alexander Schreiber authored
Add HVM device type flags 2/3 Reviewed-by: ultrotter
-
- 30 Jul, 2008 1 commit
-
-
Guido Trotter authored
It's python, isn't it? Reviewed-by: iustinp
-
- 16 Jun, 2008 1 commit
-
-
Iustin Pop authored
This is just the hypervisor-level migration (e.g. “xm migrate”) not the whole node coordination work. Reviewed-by: ultrotter
-
- 31 May, 2008 1 commit
-
-
Iustin Pop authored
This patch adds hypervisor support for the extended HVM features. Author: schreiberal Reviewed-by: iustinp
-
- 09 May, 2008 1 commit
-
-
Michael Hanselmann authored
There are a couple of reasons for doing so: - /proc is not OS independent, it's only supported by Linux (there are emulations on other systems, but those might differ from the way Linux represents data). - Checking a daemon's state doesn't necessarily mean it's usable. Connecting to the socket using “xm info” is much safer. - Reduce code size. Reviewed-by: iustinp
-
- 06 May, 2008 1 commit
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
- 05 May, 2008 1 commit
-
-
Iustin Pop authored
This patch adds the backend and frontend changes needed for being able to list the cpu count. Reviewed-by: ultrotter
-
- 28 Apr, 2008 1 commit
-
-
Michael Hanselmann authored
Before it was a huge file with more than 700 lines. No code changes were made except for changing imports and class names where needed. In the future, we could even think about only importing the hypervisors we actually need. The patch finished QA scripts and distcheck successfully. Reviewed-by: iustinp
-
- 22 Apr, 2008 1 commit
-
-
Alexander Schreiber authored
Reviewed-by: ultrotter
-
- 08 Apr, 2008 1 commit
-
-
Manuel Franceschini authored
The driver in the xen config file needs to be changed when dealing with files rather then bdevs. This patch does two things: - Add _GetConfigFileDiskData to XenHypervisor which returns the correct disk xen config line. This function checks the logical disk type of every given block device, such that also hybrid (e.g. mixed drbd and file VBDs) are possible - Make Xen[Pvm|Hvm]Hypervisor._WriteConfigFile() a classmethod to be able to call the helper function _GetConfigFileDiskData() in their parent XenHypervisor Reviewed-by: iustinp
-
- 31 Jan, 2008 1 commit
-
-
Alexander Schreiber authored
Reviewed-by: imsnah
-
- 20 Jan, 2008 1 commit
-
-
Iustin Pop authored
Currently the fake hypervisor has hardcoded ‘/var/run’ as a base directory for its store. This patch adds a constant RUN_DIR that is used for both the fake hypervisor and for BDEV_CACHE_DIR. Reviewed-by: ultrotter
-
- 11 Jan, 2008 1 commit
-
-
Alexander Schreiber authored
This patch adds support for specifying and changing the boot device order for HVM instances. The boot device order specification is ignored for non HVM instances. Reviewed-by: iustinp
-
- 08 Jan, 2008 1 commit
-
-
Iustin Pop authored
This patch changes the hypervisor to use the new kernel and initrd instance attributes. They kernel is handled as expected (use the custom or the default one), but the initrd is treated a little bit special, in order to keep compatibility with previous behaviour: - if customized and not found, raise an error - if default and not found, do not use one Reviewed-by: imsnah
-
- 20 Dec, 2007 3 commits
-
-
Alexander Schreiber authored
This patch implements a first proof-of-concept for HVM support in Ganeti. Due to the nature of this patch, it is intended for test environments only. Reviewed-by: iustinp
-
Alexander Schreiber authored
Wrap error handling around creating the instance config file. Reviewed-by: iustinp
-
Alexander Schreiber authored
Abstract the parts of the Xen hypervisor interface shared by both PVM and HVM into a generic interface, subclass the special case PVM from that. Prepatch for adding HVM support. Reviewed-by: iustinp
-
- 18 Dec, 2007 2 commits
-
-
Alexander Schreiber authored
Change the internal hypervisor API for GetShellCommandForConsole, we now call it with the instance instead of just the instance name. This is a prep patch for HVM, since HVM needs more than just the instance name to determine a way of console access. (this is a resend due to mail adress tyop) Reviewed-by: iustinp
-
Alexander Schreiber authored
Move constant definitions for hypervisor into constants.py Reviewed-by: ultrotter
-
- 04 Dec, 2007 1 commit
-
-
Iustin Pop authored
Currently, the Hypervisor error raised on ‘xm create’ failure doesn't contain the actual output from the command, thus what we log to the node daemon log is not helpful enough. This patch fixes that. Reviewed-by: schreiberal
-
- 11 Oct, 2007 1 commit
-
-
Alexander Schreiber authored
The beginning of the infrastructure for detailed instance restarts. Does not affect behaviour if code yet. Reviewed-by: iustinp
-
- 10 Oct, 2007 2 commits
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Iustin Pop authored
Since modules are not directly executables, remove the shebang from them. This helps with lintian warnings. Also make the autogenerated _autoconf.py contain two comment lines at the beginning, like the other modules. Reviewed-by: ultrotter
-
- 30 Aug, 2007 1 commit
-
-
Iustin Pop authored
This changelist add: - documentation on how to select the kernel and initrd (if needed) for instances - support in hypervisor.py for the initrd - adds note about internet-connectivity and debootstrap requirements for the minimal etch os - documentation on the miminum xenvg size Reviewed-by: roman.marxer,ultrotter
-
- 14 Aug, 2007 1 commit
-
-
Iustin Pop authored
This changes the raising of exceptions from: raise Exception, value to raise Exception(value) as the first form will be removed in python-3000 and the second form is preferred now. The changes also involve a few cases of changing from raising standard exceptions and use our own ones. The new version also fixes many pylint-generated warnings, especially in ganeti-noded where I changed many methods to @staticmethod. There is no functionality changed (barring any bugs).
-
- 26 Jul, 2007 1 commit
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
- 16 Jul, 2007 1 commit
-
-
Iustin Pop authored
-