- Oct 20, 2008
-
-
Iustin Pop authored
Reviewed-by: imsnah
-
Iustin Pop authored
Note that many uses of logger.Error were used in 1.2 for their side-effect of logging to stderr, where the user will see the messages, and not for having the entry in the log. As such, we need to go over and review every use of logging.* and decide if it should use feedback_fn instead of being a logging call. Reviewed-by: imsnah
-
Iustin Pop authored
Reviewed-by: imsnah
-
Iustin Pop authored
Reviewed-by: imsnah
-
Iustin Pop authored
Reviewed-by: imsnah
-
Iustin Pop authored
Reviewed-by: imsnah
-
Iustin Pop authored
Some names were wrong, and similar stuff detected by pylint. gnt-debug.GenericOpCode is still broken. Reviewed-by: imsnah
-
Iustin Pop authored
Currently the gnt-* scripts are using a mix of print, logger.ToStd* and sys.stderr.write. We convert them all to using cli.ToStdout/err. This way, we can easily change the implementation for all at once. Reviewed-by: imsnah
-
Iustin Pop authored
We also add two function for printing messages, so that scripts won't have to import logger to get these. They are a simple extension over the logger ones, as they accept the call style from logging: ToStdout("Message: %s", msg) (instead of requiring formatting by the client. Reviewed-by: imsnah
-
Iustin Pop authored
The gnt-instance modify didn't work correctly w.r.t the be parameters. There was also a typo in the corresponding LU. 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
-
Michael Hanselmann authored
All users of this code have been migrated to the new and shiny HttpServer class. It also fixes a typo in the ApacheLogfile unittests. It has not yet been decided whether we should keep ApacheLogfile or not, hence leaving it in. Reviewed-by: ultrotter
-
Alexander Schreiber authored
We no longer use a single, cluster-wide hypervisor, but configure the actual to be used hypervisor on the instance level. Reviewed-by: imsnah
-
- Oct 18, 2008
-
-
Alexander Schreiber authored
Reviewed-by: iustinp
-
Alexander Schreiber authored
Reviewed-by: iustinp
-
- Oct 17, 2008
-
-
Guido Trotter authored
- remove now unused osdev and swapdev arguments from backend, noded, rpc, cmdlib - convert docstrings to epydoc Reviewed-by: iustinp
-
Guido Trotter authored
Since they're not converted to API 10 yet, we temporarily disable the import/export functions. Reviewed-by: iustinp
-
Guido Trotter authored
Reviewed-by: iustinp
-
Guido Trotter authored
Reviewed-by: iustinp
-
Guido Trotter authored
This function calculates the basic environment for OS scripts in API version 10. Reviewed-by: iustinp
-
Guido Trotter authored
Reviewed-by: iustinp
-
Guido Trotter authored
Reviewed-by: iustinp
-
Guido Trotter authored
Plus update it with the real variable name Reviewed-by: iustinp
-
Guido Trotter authored
Reviewed-by: iustinp
-
Guido Trotter authored
Reviewed-by: iustinp
-
Oleksiy Mishchenko authored
Reviewed-by: imsnah
-
Guido Trotter authored
This fixes removals of the pid files and clean exit in the init script Reviewed-by: iustinp
-
Guido Trotter authored
There is no point in initializing sigchld_handler as an empty dict, when it will be overwritten by an instance of utils.SignalHandler immediately after. Reviewed-by: iustinp
-
Michael Hanselmann authored
I broke it with rev 1864. This patch also removes whitespace at line endings. Reviewed-by: amishchenko
-
- Oct 16, 2008
-
-
Iustin Pop authored
This patch enables the cluster modify to change: - enabled hypervisor list - hvparams (per hypervisor) - beparams (only the default group) Syntax: gnt-cluster modify -B vcpus=3 -H xen-pvm:no_initrd_path Validation for parameters is somewhat missing - the individual hypervisors will be checked for syntax and validation, but beparams doesn't have validation yes (nowhere), it should be added here once we have a global method (will come soon). Reviewed-by: imsnah
-
Michael Hanselmann authored
Requests are no longer logged to a separate file. Reviewed-by: amishchenko
-
Guido Trotter authored
In rst a final _ is used for linking. Escaping it prevents an error at compile time on design-2.0-cluster-parameters.rst Reviewed-by: iustinp
-
Iustin Pop authored
This is just a raw update without any special formatting. Reviewed-by: imsnah
-
Oleksiy Mishchenko authored
Reviewed-by: iustinp
-
Guido Trotter authored
Internally in ganeti we already have renamed the instance, so it's better to pass the new name in INSTANCE_NAME and the old one in OLD_INSTANCE_NAME rather than the old name in INSTANCE_NAME and the new one in NEW_INSTANCE_NAME as this reflects what the cluster thinks. Reviewed-by: iustinp
-
Iustin Pop authored
So, instead of any timeouts for synchronization, we move to actual events. We still have one (huge) timeout for pathological cases (just to cleanup), but we don't sleep at all in normal usage. The patch moves the zombie/cleaned up child creation out from setUp(), and to on-demand by the functions. We remove all signal handler usage, instead we rely on the fact that when a process is cleaned up, its FDs are closed, so the read end of a pipe will get an event. Reviewed-by: imsnah
-
Iustin Pop authored
Currently, if loading a job fails, the job queue code raises an exception and prevents the proper processing of the jobs in the queue. We change this so that unparseable jobs are instead archived (if not already). Reviewed-by: imsnah
-
Iustin Pop authored
If we don't actually know the current master (as determined via voting), we prevent the failover. The patch also changes some messages (capitalization, typos). Reviewed-by: ultrotter
-
Iustin Pop authored
In order to account for future improvements to master failover, we move the actual data gathering capabilities from ganeti-masterd into bootstrap.py, and we leave only the verification into masterd. The verification procedure is then changed to retry multiple times (up to one minute) in case most nodes do not respond, and also the algorithm is changed to require at least half (but not half+1) votes, since our vote also should count (and we vote for ourselves). Example for consistent (config-wise) cluster: - 5 node cluster, 2 nodes down: still start - 4 node cluster, 2 nodes down: retry for one minute, abort Reviewed-by: ultrotter
-
René Nussbaumer authored
Update the design about cluster parameters and provide some example of backend parameters. By now this includes all supported parameters. Reviewed-by: iustinp, ultrotter
-