- 08 Oct, 2013 3 commits
-
-
Helga Velroyen authored
This downgrades the cluster's hypervisor parameters for the xen hypervisors with respect to the 'xen_cmd' attribute. A unit tests is provided. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Helga Velroyen authored
This adds a cluster config example for version 2.9 to the test data collection. It will be used in subsequent tests. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Helga Velroyen authored
Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 07 Oct, 2013 6 commits
-
-
Klaus Aehlig authored
* stable-2.8 Fix outdated documentation for users-setup Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Klaus Aehlig authored
So far, there is one important change since 2.9.0 rc1, the fix in cfgupgrade. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Helga Velroyen authored
This fixes a couple of lint errors that I missed with the patch "Fix upgrade and downgrade regarding disk.dev_type". Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Helga Velroyen authored
The up/downgrade procedure so far did not consider the changes in the 'dev_type' attribute of disks. This patch adds relevant checks and updates. A related problem was that the logical IDs of disks were adjusted depending on the dev_type, which made the order of updates not arbitrary anymore. To make this more robust, the upgrade procedure also considers the old versions of dev_types (at least for 2.9). Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Helga Velroyen authored
This patch renames the constant 'LDS_DRBD' to 'DTS_DRBD' to make it consistent with the renaming of LD_* constants to DT_* constants. Signed-off-by:
Helga Velroyen <helgav@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Michele Tartara authored
The --yes-do-it parameter was not properly documented yet. Add it to the administration guide. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 30 Sep, 2013 8 commits
-
-
Klaus Aehlig authored
Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Klaus Aehlig authored
Make the main 2.9 entry now describe 2.9.0 rc1 and a short "Since 2.9.0 beta1" section. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Klaus Aehlig authored
As hslogger is, from 2.9 onwards, a mandatory dependency, check for it unconditionally. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Klaus Aehlig authored
hslogger is now no longer optional (as it used to be in 2.8). Update the NEWS file accordingly. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Klaus Aehlig authored
hslogger is a mandatory Haskell dependency form 2.9 onwards. Hence update the INSTALL instructions accordingly. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Klaus Aehlig authored
In the instructions on how to install Ganeti on Debian, have the commands for Wheezy as default and mention the commands for Squeeze as other versions, rather than defaulting to Squeeze. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Michele Tartara authored
The data collector for /proc/diskstats was undocumented. Add an entry for it in the mon-collector man page. Also, remove some end of line whitespaces from the file. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Klaus Aehlig authored
* stable-2.8 Fix wrong release date in the NEWS file Version bump for 2.8.0 Add daemon split design doc * stable-2.7 Version bump for 2.7.2 Conflicts: Makefile.am NEWS configure.ac doc/design-draft.rst configure.ac: ignore version change in stable-2.8 rest: take both additions Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
- 27 Sep, 2013 5 commits
-
-
Michele Tartara authored
Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
Also, update the NEWS file accordingly. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
This describes the future planned structure of Ganeti daemons. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michele Tartara authored
The data collectors should be able to provide as much information as possible even when the system is badly degraded. This patch modifies the instance status collector for xen so that it can keep providing as much data as possible, even when some of the queries it performs fail, by removing exitIfBad calls and substituting them with logging and returning empty fields instead. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Thomas Thrainer authored
All data traffic usually goes over the secondary network, but gnt-instance move didn't. This patch corrects this problem by using the target nodes secondary IP as move target. Signed-off-by:
Thomas Thrainer <thomasth@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com> (cherry picked from commit f56ab6d1)
-
- 26 Sep, 2013 2 commits
-
-
Michele Tartara authored
Conflicts are trivially solved. * stable-2.7 Version bump for 2.7.2 (updated NEWS file) Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com> Conflicts: NEWS configure.ac
-
Michele Tartara authored
Change the version number and the NEWS file for the 2.7.2 bugfix release. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
- 25 Sep, 2013 8 commits
-
-
Klaus Aehlig authored
* stable-2.8 Add additional tests for utils.Retry Make retry tests independent of actual time Fix corner-case in handling of remaining retry time Perform proper cleanup on termination of Haskell daemons Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-
Robin H. Johnson authored
Signed-off-by:
Robin H. Johnson <robbat2@gentoo.org> The patch was released by the author into the public domain. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
Linting is now verified against the lint tools version numbers as listed in this patch. These version are corresponding to the ones that can be found in the repositories of Ubuntu 13.04. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
Michele Tartara authored
Fix all instances of pep8's error: "E128 continuation line under-indented for visual indent". Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michele Tartara authored
More recent versions of pep8 check for the indentation level of closing parenthesis in a way that is incompatible with the way we use in our code. Our style is still pep8 compliant, and was re-allowed in even more recent versions of the tool, but still we have to disable the check, for the time being. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
-
Michele Tartara authored
Mark a string representing a "sed" command including a regular expression as a raw string, so that the entire escaping is performed by "sed" itself. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
Newer pylint versions complain that QaConfig is not a proper container because it does not implement the __len__(), __delitem__() and __setitem__() methods. This commit implements them. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
Newer pylint versions complain that QmpMessage is not a proper container because it does not implement the __len__() and __delitem__() methods. This commit implements them. Also, tests are added. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Helga Velroyen <helgav@google.com>
-
- 24 Sep, 2013 2 commits
-
-
Michele Tartara authored
In order to check for the correctness of the accesses to fields of objects, pylint uses astng, but this is known to fail on some dynamically generated classes. Still, newer pylint versions are stricter at performing this check, and therefore fail while testing our codebase. Disable the checking of a few selected classes that incur in this problem. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Michele Tartara authored
Recent versions of pylint require the first parameter of a metaclass to be "cls". Older versions want "mcs". There's no way to support both by changing the code, so the configuration file of pylint is changed instead, to have the current codebase work with both versions. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 20 Sep, 2013 3 commits
-
-
Klaus Aehlig authored
Also have some tests where the time the various components (inspecting the time function, calling the function, etc) have a non-trivial time. Also, have two tests demonstrating that the number of retries actually depends on the amount of time the function takes to complete. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Klaus Aehlig authored
Even in the tests, real time is used. While, generally, the assumptions about execution time are pretty safe, in some rare circumstances, e.g., on machines with extremely heavy load they do not hold true, thus rendering the tests flaky. Fix this, by mocking time. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
Klaus Aehlig authored
Consider a remaining time of 0 as already timed out. Otherwise, there is no guarantee that calling utils.Retry with timeout 0 will call the function precisely once; it might run in time shorter than the resolution of timer. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Thomas Thrainer <thomasth@google.com>
-
- 18 Sep, 2013 2 commits
-
-
Michele Tartara authored
Haskell deamons did not perform proper cleanup at termination. There was no code for removing the pid file, and the code in LuxiD for removing the unix socket file was not working, because it is implemented with a "finally" statement, which is executed only when the main loop of the daemon is exited (either normally, or through an exception), but not when it is terminated by a SIGTERM. This commit adds a proper handler for SIGTERM, which transforms it into a successful termination exception. This allows both the newly added cleanup code for pid files and the unmodified cleanup code for unix sockets to be executed. Fixes Issue 581 and 582. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
Michele Tartara authored
Generating ASCII characters via a supported but not official escape sequence leads to a "Anomalous backslash in string" error in newer pylint versions. This patch fixes the issue. Signed-off-by:
Michele Tartara <mtartara@google.com> Reviewed-by:
Klaus Aehlig <aehlig@google.com>
-
- 17 Sep, 2013 1 commit
-
-
Klaus Aehlig authored
Between the last two merges, nothing happened on stable-2.9. The only change on stable-2.8 that touched lib/cmdlib/instance.py is ff34fb97 . So make sure, the net change since the last merge to this file is that of the said commit. This also fixes the doclint errors. Signed-off-by:
Klaus Aehlig <aehlig@google.com> Reviewed-by:
Michele Tartara <mtartara@google.com>
-