- Aug 05, 2009
-
-
Iustin Pop authored
Currently ‘gnt-backup export’ always returns exit code zero, even in the face of complete failure during backup (only failure to stop/start the instance will cause job failure and thus non-zero exit code). This is bad, since one cannot script the backup. This patch adds some simple results from the LU so that the command line script can return good exit code. It will: - return zero for full success (snapshot removal errors are ignored though) - return one for full failure (finalize export failure or all disks failure) - return two for partial failure (some disks backed up, some not) Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
-
- Aug 04, 2009
-
-
Iustin Pop authored
This patch adds a new opcode and lu for checking disk sizes. Currently it does only top-level disk verification, and also doesn't check primary/secondary node size mismatches (these two are added as TODOs in the Exec() function of the LU). Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Iustin Pop authored
This patch modified OpActivateDisks, LUActivateDisks and gnt-instance activate-disks to support and pass this option to _AssembleInstanceDisks. The patch is quite trivial I think; there should be no issues from it except if used when not needed. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Jul 29, 2009
-
-
Guido Trotter authored
When the parameter is set to True and start_daemons is also True, ganeti-masterd will be started with the new --no-voting --yes-do-it options. This new option is set to True only on masterfailover, when no_voting is used. This changed the behavior from 2.0, where we didn't start the master daemon at all, when this option was used. The manpage is also updated to remove the 2.0 only change. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Jul 16, 2009
-
-
Raiford Storey authored
[iustin@google.com: slightly reworded the explanation for offline and changed the commit message] Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Jul 08, 2009
-
-
Guido Trotter authored
This allows failing over in certain corner cases, such as a 2 node cluster with one node down. The man page is also updated to document this dangerous option and how to recover from this situation. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Jun 29, 2009
-
-
Iustin Pop authored
This patch adds a ‘role’ node list field, which shows a one-character node status. This is a simpler way to see the node status than selecting all the flags individually. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- Jun 16, 2009
-
-
Guido Trotter authored
It was mistakenly called --backend Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
Guido Trotter authored
Fix a typo in the man pages that used the wrong option name. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- Jun 11, 2009
-
-
Guido Trotter authored
Reported in issue 59. Signed-off-by:
Guido Trotter <ultrotter@google.com> Reviewed-by:
Iustin Pop <iustin@google.com>
-
- May 19, 2009
-
-
Iustin Pop authored
This patch modifies the start instance script, opcode and logical unit to support temporary startup parameters. Different from 1.2, where only the kernel arguments were supporting changes (and thus xen-pvm specific), this version supports changing all hypervisor and backend parameters (with appropriate checks). This is much more flexible, and allows for example: - start with different, temporary kernel - start with different memory size Note: in later versions, this should be extended to cover disk parameters as well (e.g. start with drbd without flushes, start with drbd in async mode, etc.). Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- May 11, 2009
-
-
Iustin Pop authored
In Ganeti 1.2, “none” was used to signify no initrd. In 2.0 we have changed to “no_” as a prefix (i.e. “-H no_initrd_path”) and thus we document in the manpage this. The QA suite is changed accordingly. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
- May 04, 2009
-
-
Iustin Pop authored
Currently “gnt-debug submit-job” takes a single argument and has non-trivial startup-costs; in order to exercise the job system, it is better to be able to submit multiple jobs with a single invocation of the script. This patch extends it to take multiple argument, de-serialize the opcodes and then submit all of them as fast as possible, in order to increase pressure on the master daemon. Signed-off-by:
Iustin Pop <iustin@google.com> Reviewed-by:
Alexander Schreiber <als@google.com>
-
- Apr 24, 2009
-
-
Guido Trotter authored
Add the --all argument, and reword a bit the basic information. Reviewed-by: iustinp
-
- Apr 15, 2009
-
-
Iustin Pop authored
This patch adds a couple of both externally and internally reported issues: - missing SGML tags (Issue 54), report and patch by superdupont - wrong variable used in the init.d script, report and patch by Karsten Keil <karsten-keil@t-online.de> - man page for gnt-instance reinstall needs clarification (Issue 56) - gnt-instance man page missing --disks documentation for replace-disks - gnt-node modify help output is unclear about the -C/-D/-O input format, and the man page doesn't document this command at all - “gnt-node modify -C yes” for offline or drained nodes had wrong error message - “gnt-instance reinstall --select-os” has wrong prompt, we only accept a number for the OS and not the template name Reviewed-by: ultrotter
-
- Mar 05, 2009
-
-
Guido Trotter authored
Now it displays: --hypervisor-parameters hypervisor:hv-param=value [ ,hv-param=value ... ] --backend-parameters be-param=value [ ,be-param=value ... ] Sorry for the super-long lines :( Is there a better way to insert spaces without pushing them to the resulting man page? Reviewed-by: iustinp
-
- Mar 02, 2009
-
-
Iustin Pop authored
This adds a small paragraph about the “master” role of a node, and fixes a wrong indentation in the bash completion file. Reviewed-by: imsnah
-
- Feb 24, 2009
-
-
Iustin Pop authored
This patch removes the extra_args parameter and instead switches the instance to the HV_KERNEL_ARGS hypervisor option. This is a big change, but it's a needed cleanup, this extra parameter on all RPC calls is not generic and we also need to have a persistent value here. Reviewed-by: imsnah
-
- Feb 13, 2009
-
-
Iustin Pop authored
This patch fixes many small issues related to write functions: - update documentations w.r.t. how to add users - update the instance add function for latest API - add instance delete - fix addition of tags - update some error messages Reviewed-by: imsnah
-
Iustin Pop authored
This patch adds back to the instance creation command (gnt-instace add, gnt-backup import) the ‘-s’ short form option for specifying a single-disk instance. Also a small bug in gnt-backup import is fixed. Reviewed-by: ultrotter
-
- Feb 12, 2009
-
-
Iustin Pop authored
This patch updates the gnt-* scripts to show the new 2.0 syntax. It's not guaranteed to be 80% complete. Reviewed-by: ultrotter
-
Iustin Pop authored
This patch adds new man pages for the master and RAPI daemons, and updates the node daemon and watcher man pages. Reviewed-by: ultrotter
-
- Feb 03, 2009
-
-
Iustin Pop authored
This patch updates the gnt-os man page and the common footer page for ganeti 2.0. Reviewed-by: ultrotter
-
- Jan 09, 2009
-
-
Iustin Pop authored
In 1.2, due to the md+drbd7 legacy, we had a complex choice of replace modes, and the new drbd8 modes where forced into this syntax, with some complicated rules of transition from one mode to another (if REPLACE_ALL but not new node passed, switch to REPLACE_SEC, etc.). This patch cleans this situation by making a clear separation between the two main modes: - replace on current nodes (with the two sub-cases on primary and on secondary) - change to a new node (either via manually specified node or via iallocator) Reviewed-by: imsnah
-
- Oct 23, 2008
-
-
Alexander Schreiber authored
Document the new options for gnt-cluster modify and the new queue command. Reviewed-by: imsnah
-
Alexander Schreiber authored
This patch updates the gnt-cluster man page to reflect the current changes to gnt-cluster. Reviewed-by: imsnah
-
- Oct 20, 2008
-
-
Guido Trotter authored
Forward-port-of: (r1888, r1891), Reviewed-by: (iustinp, imsnah) Reviewed-by: imsnah
-
Alexander Schreiber authored
We no longer use a single, cluster-wide hypervisor, but configure the actual to be used hypervisor on the instance level. The option has already been removed from gnt-cluster. Reviewed-by: imsnah
-
- Oct 14, 2008
-
-
Iustin Pop authored
The patch adds a new ‘--no-wait-for-sync’ parameter to grow-disk similar to the one in instance add, and changes the default to wait. This is cleaner as at the moment when the command returns, we either have a fully synced disk or there is an error. This is a forward-port of rev 1183 on the 1.2 branch. Reviewed-by: ultrotter
-
Iustin Pop authored
This patch adds a new '-s' parameter to ‘gnt-instance info’ that makes it return only 'static' information. This is much faster, especially for drbd instances. This is a forward-port of rev 1570 on the ganeti-1.2 branch, resending due to some conflicts. Reviewed-by: imsnah
-
- Oct 08, 2008
-
-
Alexander Schreiber authored
Reviewed-by: imsnah
-
- Oct 07, 2008
-
-
Alexander Schreiber authored
Merged r1777 from branches/ganeti/ganeti-1.2 Reviewed-by: imsnah
-
- Oct 03, 2008
-
-
Iustin Pop authored
The actual location is /export, not /exports. Reviewed-by: ultrotter
-
- Sep 27, 2008
-
-
Iustin Pop authored
This patch adds listing of the serial_no attribute in gnt-instance and gnt-node list, and updates to the manpages to reflect the change. Reviewed-by: ultrotter
-
- Sep 11, 2008
-
-
Guido Trotter authored
Reviewed-by: imsnah
-
- Sep 02, 2008
-
-
Alexander Schreiber authored
Document behaviour of gnt-instance console for HVM Reviewed-by: imsnah
-
Alexander Schreiber authored
Implement interactive instance OS reinstall. Reviewed-by: ultrotter
-
- Aug 29, 2008
-
-
Alexander Schreiber authored
Add HVM device type flag 4/4 Reviewed-by: ultrotter
-
Alexander Schreiber authored
doc fix: Describe default values for HVM instance options & cleanup. Reviewed-by: iustinp
-
Alexander Schreiber authored
Clarify cluster IP requirement. Reviewed-by: iustinp
-