- 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
-
- Nov 21, 2007
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
Iustin Pop authored
This fixed the previous commit (-s => -s ip). Reviewed-by: ultrotter
-
Iustin Pop authored
Since on dual-homed clusters one always needs to add '-s' to the gnt-node add command, make this appear in the output of 'gnt-node' (when run without arguments). Reviewed-by: imsnah
-
- Nov 13, 2007
-
-
Michael Hanselmann authored
Reviewed-by: iustinp
-
- Nov 12, 2007
-
-
Guido Trotter authored
The --nodes option in gnt-backup really accepts only one node at a time. Change it to --node, for added clarity and consistency with a similar option in gnt-cluster. This patch also updates the relevant man page. Reviewed-By: iustinp
-
- Nov 07, 2007
-
-
Iustin Pop authored
This (big) patch does two things: - add "local disk status" to the block device checks (BlockDevice.GetSyncStatus and the rpc calls that call this function, and therefore cmdlib._CheckDiskConsistency) - improve the drbd8 secondary replace operation using the above functionality The "local disk status" adds a new variable to the result of GetSyncStatus that shows the degradation of the local storage of the device. Of course, not all device support this - for now, we only modify LogicalVolumes and DRBD8 to return degraded in some cases, other devices always return non-degraded. This variable should be a subset of is_degraded - whenever this variable is true, the is_degraded should also be true. The drbd8 secondary replace uses this variable as we don't care if the primary drbd device is network-degraded, only if it has good local disk data (ldisk is False). The patch also increases the protocol version (due to rpc changes). Reviewed-by: imsnah
-
- Nov 06, 2007
-
-
Michael Hanselmann authored
Replace --secondary-node option with an optional parameter for --node.
-
Iustin Pop authored
Logical volumes can be 'degraded' in a similar way to mirrored devices, when their underlying storage has gone away (i.e. after a physical disk failure and 'vgreduce --removemissing'). If we can detect this, we can prevent mistaken replaces of disks that would use this LV (or its parent) as source data. This patch adds support for computing the degraded attribute and modifies gnt-instance to warn if the LV is virtual. Reviewed-by: imsnah
-
- Nov 05, 2007
-
-
Guido Trotter authored
Modify backend.py so that DiagnoseOS only returns OS objects rather than InvalidOS errors, and make sure gnt-os understands the new objects. Also delete the deprecated helper functions from gnt-os. Reviewed-By: iustinp
-
- Nov 03, 2007
-
-
Iustin Pop authored
This patch adds a search command for locating tags on all objects of the cluster using a regex pattern. Reviewed-by: aat
-
- Nov 01, 2007
-
-
Guido Trotter authored
Ok, I've been battling with those for a while but it seems in the end I forgot to get rid of them! :( Doing it explicitely now. Reviewed-By: iustinp
-
Guido Trotter authored
This patch changes whitespace only. It fixes all the functions in script/gnt-os by putting a white line at the end of all the function descriptions and removing it from just before the code. Reviewed-By: iustinp
-
Guido Trotter authored
Reviewed-By: imsnah
-
Guido Trotter authored
Get rid of the tabulated form and create a simplier indented structure. Now a valid OS looks something like: OS: foo [global status: partial valid] Node: gsdtest4.euw.corp.google.com, status: valid (path: /usr/local/lib/ganeti/os/foo) Node: gsdtest5.euw.corp.google.com, status: valid (path: /usr/local/lib/ganeti/os/foo) [hidden] path: /usr/local/lib/ganeti/os2/foo, status: 'ganeti_api_version' file not found (ENOENT) Node: gsdtest3.euw.corp.google.com, status: 'ganeti_api_version' file not found (ENOENT) (path: /usr/local/lib/ganeti/os/foo) Reviewed-By: imsnah
-