- Apr 04, 2008
-
-
Iustin Pop authored
This patch adds a very basic gnt-job script that allows job querying. This goes on top of the previous master daemon patches. Currently, because of the not-changed cmd lock, you can't query the jobs as long as a job is running - you have to rm the cmd lock and then you can query the jobs. Reviewed-by: imsnah
-
- Apr 01, 2008
-
-
Guido Trotter authored
The message used to misleadingly say that failover just works with remote_raid1 instances, while of course it works for drbd as well. Since remote_raid1 has been removed from the main development branch only drbd will be shown. Thanks to Jesus Climent who spotted the bug. Reviewed-by: imsnah
-
Iustin Pop authored
This patch adds a script which submits a job consisting of the OpTestDelay opcode. This can be helpful for debugging and can be extended to execute other 'debug'-like tasks. Reviewed-by: ultrotter
-
- Mar 31, 2008
-
-
Iustin Pop authored
Reviewed-by: ultrotter
-
Manuel Franceschini authored
- Substitute all occurences of name 'parms' with 'params' - Small codestyle fix Reviewed-by: ultrotter
-
Manuel Franceschini authored
This patch does two things: - Add gnt-cluster modify - Add --no-lvm-storage option to gnt-cluster init Reviewed-by: iustinp
-
- Mar 27, 2008
-
-
Iustin Pop authored
This oneliner fixes a bug in listing more than twenty instances for multiple operations (shutdown, startup, etc.). Reviewed-by: imsnah
-
Michael Hanselmann authored
This enables us to run automated tests on “gnt-instance console”, at least to some degree. Reviewed-by: iustinp
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
- Mar 25, 2008
-
-
Iustin Pop authored
This patch removes the options that allow to create local_raid1 or remote_raid1 instances. It also modifies the documentation and removes these disk templates from burnin and from qa. Reviewed-by: imsnah
-
Iustin Pop authored
These two operations are related to md/drbd7 code (remote_raid1). Remove them as part of the md/drbd7 removal. Reviewed-by: imsnah
-
- Mar 19, 2008
-
-
Manuel Franceschini authored
Author: manuel.franceschini Reviewed-by: iustinp
-
- Mar 06, 2008
-
-
Guido Trotter authored
The "quick" online help just reported the option to change secondary node. Add the ones to just replace the disk locally on-primary or on-secondary. It is of course impossible to espress in one line everything needed to use this command, but at least now the most common options are spelled out immediately. Reviewed-by: iustinp, imsnah
-
- Mar 05, 2008
-
-
Michael Hanselmann authored
Reviewed-by: ultrotter
-
- Feb 28, 2008
-
-
Alexander Schreiber authored
Reviewed-by: imsnah
-
- Feb 20, 2008
-
-
Guido Trotter authored
gnt-instance replace-disks used to be called replace_disks. Reviewed-by: iustinp
-
- Feb 18, 2008
-
-
Alexander Schreiber authored
Reviewed-by: imsnah
-
- Feb 14, 2008
-
-
Iustin Pop authored
This patch adds a new field available for selection in gnt-instance list names "status" which represents the combined value of "admin_state" and "oper_state". Since this is much easier to parse (e.g. gnt-instance list |grep ERROR), we also modify the default field list to use this instead of the admin/oper state fields. Reviewed-by: imsnah
-
- Jan 30, 2008
-
-
Guido Trotter authored
The help string missed drbd as a disk template option. Adding it. Reviewed-by: iustinp
-
- Jan 28, 2008
-
-
Alexander Schreiber authored
Reviewed-by: iustinp
-
Iustin Pop authored
The gnt-node and gnt-instance list commands have a customizable list of output fields, but the list is not up to date (in the man page) and not easily understandable from the ‘--help’ output. This patch updates the man pages and adds the available fields and default fields in the ‘--help’ output, as part of the description. Example: Usage ===== gnt-node list Lists the nodes in the cluster. The available fields are (see the man page for details): name, pinst_cnt, pinst_list, sinst_cnt, sinst_list, pip, sip, dtotal, dfree, mtotal, mnode, mfree, bootid. The default field list is (in order): name, dtotal, dfree, mtotal, mnode, mfree, pinst_cnt, sinst_cnt. Reviewed-by: imsnah,ultrotter
-
Iustin Pop authored
Reviewed-by: ultrotter
-
- Jan 27, 2008
-
-
Iustin Pop authored
As reported by hypnoce@gmail.com, this is missing a check on None. As we don't care about uppercase, we keep the check simple by removing the lower() call. Reviewed-by: ultrotter
-
- Jan 21, 2008
-
-
Guido Trotter authored
These aliases are widely used to think of these operations and save some typing too. Even though there is some thought to make start/stop the default operation name I don't think this should happen for 1.2, for now adding it as an alias is fine. Reviewed-by: iustinp
-
Guido Trotter authored
Alias activate_block_devs to activate-disks, for ganeti 1.1 compatibility. Reviewed-by: iustinp
-
Guido Trotter authored
Before iterating over the list of exports present on a node, check that what ganeti returned is actually a list. This solves the case when one of the nodes is down, and an error value is returned. This fixes issue 21 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
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
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 08, 2008
-
-
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
-
- Jan 07, 2008
-
-
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
-
- 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 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
-
- Dec 17, 2007
-
-
Alexander Schreiber authored
Extends the instance object by adding a port item, also adds changes to print this port via gnt-instance info. Reviewed-by: iustinp
-
- Dec 12, 2007
-
-
Iustin Pop authored
This patch adds the OpVerifyDisks handling in mcpu.py and the verify-disks command in the gnt-cluster script, which for every instance computed by LUVerifyDisks submits a new OpActivateInstanceDisks request. Reviewed-by: imsnah
-
- Dec 03, 2007
-
-
Michael Hanselmann authored
- When line wrapping is needed, move spaces to the next line. - Remove embedded line breaks from error messages. Reviewed-by: schreiberal
-