- Jan 20, 2008
-
-
Iustin Pop authored
The function backend.UploadFile still uses "/etc/hosts" directly instead of the existing constant; this patch fixes this. Reviewed-by: ultrotter
-
Iustin Pop authored
Even if this doesn't have any practical use for actually creating instances, it can be used for very fast burnin and testing just the add/start/stop/remove functionality. This has also revealed a bug in export/import related to diskless instances, so it's educational value is proved. Reviewed-by: ultrotter
-
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
-
Iustin Pop authored
The script (which is geared towards Debian) is actually not fully compliant, as lintian generates a warning on it - the S runlevel is not a valid one in the "Stop" stanza. This patch removes "S" from the stop list. Reviewed-by: imsnah
-
- Jan 18, 2008
-
-
Iustin Pop authored
In revision 459 I added a bug in the make dist rule in the sense that the archive will include *all* of test/data directory, including the .svn directory if it exists. This patch fixes that problem and adds a distcheck hook that tests for such errors in the future (files/directories matching the .svn and .git patterns). It also fixes a typo in the NEWS file. Reviewed-by: imsnah
-
Iustin Pop authored
This a merge to trunk of revision 494. Reviewed-by: imsnah
-
- Jan 16, 2008
-
-
Iustin Pop authored
This is a merge from the 1.2 branch Reviewed-by: imsnah
-
Iustin Pop authored
This is a merge from the 1.2 branch Reviewed-by: imsnah
-
- Jan 14, 2008
-
-
Guido Trotter authored
Even though burnin was born just to do that test it now contains a lot more things one might try, so it makes sense to make instance start/stop optional too. This creates a burnin that at the bare minimum tests instance create and remove, if all the --no options are specified, but usually does a lot more. Reviewed-by: iustinp
-
Guido Trotter authored
Instances get exported to a remote node, then removed and imported back to their original nodes. This should be an idempotent option from the instance point of view, and help making sure ImportExport is kept up to date. It will also help making burnin take a lot longer, which is nice to take a nap. "...but I'm doing a cluster burnin...". Unfortunately this subfeature is a bit jeopardized by the fact that the new code can be skipped with the --no-importexport option, but nobody needs to know that, do they? Reviewed-by: iustinp
-
Iustin Pop authored
The burnin code deals with "-t plain", but the command line parser doesn't allow that as an option. This patch fixes this issue. Reviewed-by: ultrotter
-
Iustin Pop authored
This patch fixes two name typos and a style issue (which makes pylint complain). Reviewed-by: ultrotter
-
Guido Trotter authored
Some new paramenters of the CreateInstance opcode are optional (namely kernel_path, initrd_path and hvm_boot_order) but their absence makes the code crash. Fix this by initializing them to a default value if they're not present. Reviewed-by: iustinp
-
Guido Trotter authored
Mac is now a mandatory option for OpCreateInstance. Add it when we call this opcode at import time too. This is a quick fix for the code, but probably more work needs to be done to integrate mac addresses with the import/export functionality in a nice way. Reviewed-by: iustinp
-
- Jan 11, 2008
-
-
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
-
- Jan 10, 2008
-
-
Guido Trotter authored
The second paramenter of --node was not described in gnt-backup. Add information about it. Reviewed-by: imsnah
-
Guido Trotter authored
Copy it from gnt-instance(8) for uniformity Reviewed-by: imsnah
-
Guido Trotter authored
Reviewed-by: imsnah
-
Guido Trotter authored
Since it's an import the os is implied to be the one which performed the export. No -o option is accepted. Reflect this in the manpage. Reviewed-by: imsnah
-
Guido Trotter authored
Update gnt-backup import to be in line with gnt-instance add about the os disk size option. Thanks to Gunnar Wagenknecht for spotting the issue. Reviewed-by: imsnah
-
- Jan 09, 2008
-
-
Alexander Schreiber authored
First step to support custom boot device order for HVM instances, add a location to actually store that information for the instance. Reviewed-by: iustinp
-
- Jan 08, 2008
-
-
Iustin Pop authored
Reviewed-by: schreiberal
-
Iustin Pop authored
Reviewed-by: schreiberal
-
Iustin Pop authored
This patch modifes the ‘gnt-instance’ instance manpage with the new ‘--kernel’ and ‘--initrd’ options. Reviewed-by: imsnah
-
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
-
Iustin Pop authored
This patch changes the info subcommand to nicely show the kernel and initrd paths. Reviewed-by: imsnah
-
Iustin Pop authored
This patch adds support for defining the kernel/initrd at instance creation time, using the same interface as in instance modify. Reviewed-by: imsnah
-
Iustin Pop authored
This patch adds support in ‘gnt-instance modify’ to set the kernel and initrd paths. The user can pass either 'default' or 'none' (none is not valid for kernel). Reviewed-by: imsnah
-
Iustin Pop authored
This patch adds two new attributes to the instance object: - kernel_path - object_path The code ignores them and the configuration handling is not broken by this addition. Reviewed-by: imsnah
-
- Jan 07, 2008
-
-
Iustin Pop authored
Reviewed-by: schreiberal
-
Iustin Pop authored
This patch fixes the ‘make distcheck’ breakage caused by missing test data in the archive and missing handling of builddir!=srcdir case. Reviewed-by: schreiberal
-
Iustin Pop authored
This patch improves the ‘gnt-cluster verify-disks’ command by adding support for detecting broken volume groups and missing logical volume names. As such, we don't try anymore to activate disks for instances that are not likely to succeed anyway, and instead report them. Reviewed-by: schreiberal
-
Iustin Pop authored
This patch changes the Assemble() method for logical volumes from a noop to do a `lvchange -ay` on the logical volume; this ensures that if the logical volume is not active, we are able to activate and use it. Reviewed-by: imsnah
-
Iustin Pop authored
This patch fixes the double attach operation in bdev.AttachOrAssemble, which was an indentation mistake in the first place. Reviewed-by: imsnah
-
Iustin Pop authored
This patch changes the bdev.DRBD8._GetDevInfo to take a string instead of a minor, separates the `drbdsetup show` invocation into a new separate method (bdev.DRBD8._GetShowData) and modifies the rest of the DRBD8 class to make the appropriate calls. It also adds a unittest script and data files for testing various cases of device output. Reviewed-by: imsnah
-
- Dec 28, 2007
-
-
Alexander Schreiber authored
Document the ability to set and change the MAC address for instances. Reviewed-by: iustinp
-
- Dec 27, 2007
-
-
Alexander Schreiber authored
Allow the MAC address of an instance to be specified optionally during instance creation and later to be changed via instance modify. Reviewed-by: iustinp
-
- Dec 21, 2007
-
-
Alexander Schreiber authored
Update documentation to document the HVM proof-of-concept. Reviewed-by: iustinp
-
- Dec 20, 2007
-
-
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
-